[Bug tree-optimization/32648] missed-optimization: bit-manipulation via bool's

2018-04-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32648 --- Comment #4 from Andrew Pinski --- For ARM64 we get: f1: ubfxx1, x0, 5, 1 ubfxx0, x0, 3, 1 eor w0, w1, w0 ret f2: eor w0, w0, w0, lsl 2 ubfxx0, x0, 5, 1 ret Which

[Bug tree-optimization/52345] Missed optimization dealing with bools

2018-04-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52345 --- Comment #4 from Andrew Pinski --- The generic rule is: original 3 expressions; (((int)b) | i) == 0 -> (b == 0) & (i == 0) -> ~b & (i == 0) (4 expressions; maybe 3 if b is a comparison and single use) (((int)b) | i) != 0 -> (b != 0) | (i

[Bug tree-optimization/71636] Missed optimization in variable alignment test

2018-04-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71636 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/48696] Horrible bitfield code generation on x86

2018-04-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48696 --- Comment #17 from Andrew Pinski --- I think some of this is due to SLOW_BYTE_ACCESS being set to 0.

[Bug fortran/67076] [6/7/8 Regression] [F08] Critical inside a module procedure

2018-04-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67076 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/85485] Remove -mcet

2018-04-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85485 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/85485] Remove -mcet

2018-04-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85485 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c++/58372] internal compiler error: ix86_compute_frame_layout

2018-04-21 Thread cantabile.desu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58372 Bitterblue changed: What|Removed |Added CC||cantabile.desu at gmail dot com ---

[Bug target/85220] [meta-bug, nvptx] Run trunk with og7 openacc testcases and analyze execution failures

2018-04-21 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85220 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/68933] ICE when mixing "-fprofile-arcs -ftest-coverage" and "-fcoarray=lib" on gcc-6 only

2018-04-21 Thread zbeekman at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68933 --- Comment #6 from Zaak --- Thanks, I'll check it out. On Sat, Apr 21, 2018 at 8:20 AM dominiq at lps dot ens.fr < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68933 > > --- Comment #5 from Dominique

[Bug c/65892] gcc fails to implement N685 aliasing of union members

2018-04-21 Thread david at westcontrol dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #37 from David Brown --- (In reply to Martin Sebor from comment #35) > Here are the proposed changes: > > Pointer Provenance: > http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2219.htm#proposed-technical- > corrigendum > > Trap

[Bug c/65892] gcc fails to implement N685 aliasing of union members

2018-04-21 Thread david at westcontrol dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #36 from David Brown --- (In reply to Martin Sebor from comment #34) > I think in the use case below: > >struct { int i; char buf[4]; } s, r; >*(float *)s.buf = 1.; >r = s; > > the aggregate copy has to be viewed as a

[Bug target/85491] [8 Regression] scimark LU Decomposition test 15% slower than GCC 7, 30% slower than peak

2018-04-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85491 Richard Biener changed: What|Removed |Added Keywords||missed-optimization,

[Bug target/85491] New: [8 Regression] scimark LU Decomposition test 15% slower than GCC 7, 30% slower than peak

2018-04-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85491 Bug ID: 85491 Summary: [8 Regression] scimark LU Decomposition test 15% slower than GCC 7, 30% slower than peak Product: gcc Version: 8.0.1 Status: UNCONFIRMED

[Bug fortran/67076] [6/7/8 Regression] [F08] Critical inside a module procedure

2018-04-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67076 Dominique d'Humieres changed: What|Removed |Added CC|dominiq at lps dot ens.fr | --- Comment #6 from

[Bug fortran/68933] ICE when mixing "-fprofile-arcs -ftest-coverage" and "-fcoarray=lib" on gcc-6 only

2018-04-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68933 --- Comment #5 from Dominique d'Humieres --- It seems to work with 7.3.0.

[Bug bootstrap/85490] New: Missing STAGE4_CFLAGS in bootstrap-cet.mk

2018-04-21 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85490 Bug ID: 85490 Summary: Missing STAGE4_CFLAGS in bootstrap-cet.mk Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/85423] [8 Regression] ICE in code_motion_process_successors, at sel-sched.c:6403

2018-04-21 Thread abel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85423 Andrey Belevantsev changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |abel at gcc dot gnu.org ---

[Bug rtl-optimization/79985] ICE in code_motion_path_driver, at sel-sched.c:6580

2018-04-21 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79985 --- Comment #8 from Alexander Monakov --- Unfortunately the above doesn't fully address the issue, as schedulers and other passes still have no idea that DF makes those assumptions and will allow reordering of asms: register int r asm("ebx");

[Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128

2018-04-21 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 Tom de Vries changed: What|Removed |Added Keywords||openacc Status|UNCONFIRMED

Wrong snprintf optimalization

2018-04-21 Thread Dávid Bolvanský
Hello, #include int main(void) { char buf[10]; return snprintf(buf, 0, "string"); } GCC simplifies it to main: mov eax, 6 ret but 0 is correct I think.

[Bug libstdc++/85466] Performance is slow when doing 'branchless' conditional style math operations

2018-04-21 Thread cpphackster at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 --- Comment #22 from Daniel Elliott --- (In reply to Marc Glisse from comment #21) > (In reply to Daniel Elliott from comment #20) > > still clang is 1.64x faster. had a look at the assembly. My limited > > understanding makes me think that the

[Bug fortran/67076] [6/7/8 Regression] [F08] Critical inside a module procedure

2018-04-21 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67076 --- Comment #5 from janus at gcc dot gnu.org --- I also see it working with gfortran 7.2 and OpenCoarrays 1.9.1 (as packaged in Ubuntu 17.10).

[Bug c++/81837] Internal compiler error (cp/typeck2.c:1264)

2018-04-21 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81837 --- Comment #10 from Paolo Carlini --- In my opinion we should *always* set it when closing bugs: many, many, users complain that isn't always clear which is the first release where a bug is fixed. Actually, we should also spend more time on

[Bug libstdc++/85466] Performance is slow when doing 'branchless' conditional style math operations

2018-04-21 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 --- Comment #21 from Marc Glisse --- (In reply to Daniel Elliott from comment #20) > still clang is 1.64x faster. had a look at the assembly. My limited > understanding makes me think that the ucomiss is not fully vectorized and > the clang one

[Bug fortran/67076] [6/7/8 Regression] [F08] Critical inside a module procedure

2018-04-21 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67076 Jürgen Reuter changed: What|Removed |Added CC||dominiq at lps dot ens.fr,