[Bug target/90552] attribute((optimize(3))) not overriding -Os

2019-05-23 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90552 Uroš Bizjak changed: What|Removed |Added Keywords||easyhack --- Comment #3 from Uroš Bizjak

[Bug c++/90592] New: Documentation: Missing word (or wrong parenthesization) in "Function Names as Strings"

2019-05-23 Thread gennaro.prota+gccbugzilla at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90592 Bug ID: 90592 Summary: Documentation: Missing word (or wrong parenthesization) in "Function Names as Strings" Product: gcc Version: unknown Status: UNCONFIRMED

[Bug tree-optimization/90591] New: Avoid unnecessary data transfer out of OMP construct

2019-05-23 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90591 Bug ID: 90591 Summary: Avoid unnecessary data transfer out of OMP construct Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: openacc, openmp Severity:

[Bug middle-end/34678] Optimization generates incorrect code with -frounding-math option (#pragma STDC FENV_ACCESS not implemented)

2019-05-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34678 --- Comment #40 from Richard Biener --- (In reply to Jakub Jelinek from comment #39) > (In reply to Richard Biener from comment #36) > > Created attachment 46396 [details] > > poor mans solution^Whack > How does this work if op is a

[Bug fortran/90329] Incompatibility between gfortran and C lapack calls

2019-05-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 --- Comment #40 from Jakub Jelinek --- I must say I don't like -fbroken-callers option name too much, can we use instead something like -ftail-call-workaround={0,1,2} / -f{,no-}tail-call-workaround where -ftail-call-workaround ==

[Bug target/85434] Address of stack protector guard spilled to stack on ARM

2019-05-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85434 Richard Biener changed: What|Removed |Added CC||rearnsha at gcc dot gnu.org,

[Bug debug/90584] [gdb] gdb is not stopped at a breakpoint in an executed line of code

2019-05-23 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90584 --- Comment #4 from Yibiao Yang --- (In reply to Jonathan Wakely from comment #3) > Putting "[gdb]" in the bug summary suggests you're trying to report a GDB > bug, which doesn't belong here. > > You're trying to put a breakpoint on a line with

[Bug target/85539] x86_64: loads are not always narrowed

2019-05-23 Thread navyadeepika.garakapati at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85539 Navya changed: What|Removed |Added CC||navyadeepika.garakapati@gma |

[Bug rtl-optimization/64895] RA picks the wrong register for -fipa-ra

2019-05-23 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64895 --- Comment #17 from Iain Sandoe --- Author: iains Date: Thu May 23 09:23:47 2019 New Revision: 271544 URL: https://gcc.gnu.org/viewcvs?rev=271544=gcc=rev Log: x86, testsuite - update fuse-caller-save tests. These tests had started to XPASS on

[Bug middle-end/88784] Middle end is missing some optimizations about unsigned

2019-05-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88784 --- Comment #10 from Richard Biener --- (In reply to Qi Feng from comment #9) > And there's another problem. Take `x > y && x != 0 --> x > y' for > example, I would also like to do > >x < y && y != 0 --> x < y >x != 0 && x

[Bug c++/90590] enumeration value not handled in switch warning for std::ios_base::seek_dir

2019-05-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90590 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic

[Bug libstdc++/90590] enumeration value not handled in switch warning for std::ios_base::seek_dir

2019-05-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90590 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > This is not a libstdc++ bug, we're allowed to define whatever enumerators we > want as long as they use reserved names. Which is almost exactly what I said

[Bug libstdc++/90590] enumeration value not handled in switch warning for std::ios_base::seek_dir

2019-05-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90590 --- Comment #1 from Jonathan Wakely --- This is not a libstdc++ bug, we're allowed to define whatever enumerators we want as long as they use reserved names.

[Bug sanitizer/90589] In Fedora 30 ps hangs using address sanitizer

2019-05-23 Thread mccannd at uk dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90589 --- Comment #4 from mccannd at uk dot ibm.com --- I've not yet tried outside of a container. I have a script that sets LD_PRELOAD so that I can detect problems in code I do care about. It just so happens that this code calls ps, which then hung.

[Bug c++/90587] [10 Regression] asan: stack-use-after-scope with -O3 and -Wall

2019-05-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90587 Martin Liška changed: What|Removed |Added CC||vlad at ispras dot ru Known to

[Bug libstdc++/90590] New: enumeration value not handled in switch warning for std::ios_base::seek_dir

2019-05-23 Thread alan at birtles dot org.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90590 Bug ID: 90590 Summary: enumeration value not handled in switch warning for std::ios_base::seek_dir Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity:

[Bug sanitizer/90589] In Fedora 30 ps hangs using address sanitizer

2019-05-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90589 --- Comment #3 from Martin Liška --- Do you have the same problem not in a container? How useful is to use the LD_PRELOAD for the ps?

[Bug sanitizer/90589] In Fedora 30 ps hangs using address sanitizer

2019-05-23 Thread mccannd at uk dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90589 --- Comment #2 from mccannd at uk dot ibm.com --- No, I've just installed the procps and libasan packages within my Fedora 30 container.

[Bug sanitizer/90589] In Fedora 30 ps hangs using address sanitizer

2019-05-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90589 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/90587] asan: stack-use-after-scope with -O3 and -Wall

2019-05-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90587 Martin Liška changed: What|Removed |Added Status|WAITING |ASSIGNED Blocks|

[Bug c++/90587] asan: stack-use-after-scope with -O3 and -Wall

2019-05-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90587 --- Comment #3 from Martin Liška --- (In reply to David Binderman from comment #2) > Here is the reduced C++ code: > > typedef unsigned a; > typedef char b; > typedef struct { > a *c; > } d; > int e(d *f) { > if (f) > return *f->c; > }

[Bug tree-optimization/90576] [10 regression] SPEC CPU2006 450.soplex miscompiled with -Os -flto after r271413

2019-05-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90576 --- Comment #2 from Martin Liška --- So the problem can be reproduced when only factor.cc is compiled with -flto -Os. Problematic comparison is: for (pivot = temp.pivots.next; pivot != pivot = pivot->next) {

[Bug sanitizer/90589] New: In Fedora 30 ps hangs using address sanitizer

2019-05-23 Thread mccannd at uk dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90589 Bug ID: 90589 Summary: In Fedora 30 ps hangs using address sanitizer Product: gcc Version: 9.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug debug/90584] [gdb] gdb is not stopped at a breakpoint in an executed line of code

2019-05-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90584 Jonathan Wakely changed: What|Removed |Added Resolution|MOVED |INVALID --- Comment #3 from Jonathan

[Bug tree-optimization/90510] [10 Regression] Unnecessary permutation

2019-05-23 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90510 --- Comment #6 from Thomas Schwinge --- Author: tschwinge Date: Thu May 23 08:22:56 2019 New Revision: 271540 URL: https://gcc.gnu.org/viewcvs?rev=271540=gcc=rev Log: [PR90510] Adjust 'brig.dg/test/gimple/packed.hsail' ... for r271463 "Fix

[Bug libgomp/90585] libgomp hsa plugin ftbfs in the x32 multilib variant

2019-05-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90585 --- Comment #2 from Jakub Jelinek --- Created attachment 46400 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46400=edit gcc10-pr90585.patch Untested fix. Note, the rest of libgomp uses PRIu64 only conditionally on HAVE_INTTYPES_H, so

[Bug c++/90587] asan: stack-use-after-scope with -O3 and -Wall

2019-05-23 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90587 --- Comment #2 from David Binderman --- Here is the reduced C++ code: typedef unsigned a; typedef char b; typedef struct { a *c; } d; int e(d *f) { if (f) return *f->c; } a g(d *f) { return e(f); } typedef struct { b channel; } h; b

[Bug debug/90584] [gdb] gdb is not stopped at a breakpoint in an executed line of code

2019-05-23 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90584 --- Comment #2 from Yibiao Yang --- (In reply to Jonathan Wakely from comment #1) > GDB is a separate project with its own bugzilla, see > https://sourceware.org/bugzilla Thanks. I am not quite sure whether this is a bug of gdb or gcc. I am

[Bug c++/90569] __STDCPP_DEFAULT_NEW_ALIGNMENT__ is wrong for i386-pc-solaris2.11

2019-05-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90569 --- Comment #7 from Jonathan Wakely --- The glibc change was https://sourceware.org/bugzilla/show_bug.cgi?id=21120 and is present from version 2.26

[Bug debug/90584] [gdb] gdb is not stopped at a breakpoint in an executed line of code

2019-05-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90584 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/90415] [10 Regression] std::is_copy_constructible> is incomplete

2019-05-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90415 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug tree-optimization/90576] [10 regression] SPEC CPU2006 450.soplex miscompiled with -Os -flto after r271413

2019-05-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90576 Martin Liška changed: What|Removed |Added Keywords||wrong-code

[Bug c++/90587] asan: stack-use-after-scope with -O3 and -Wall

2019-05-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90587 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug sanitizer/90570] [9/10 Regression] AddressSanitizer: stack-use-after-scope

2019-05-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90570 --- Comment #6 from Martin Liška --- Patch candidate: https://gcc.gnu.org/ml/gcc-patches/2019-05/msg01559.html

[Bug fortran/90539] [10 Regression] 481.wrf slowdown by 25% on Intel Kaby with -Ofast -march=native starting with r271377

2019-05-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90539 --- Comment #25 from Martin Liška --- (In reply to Thomas Koenig from comment #22) > I've been trying out some things, and I cannot construct a failing > test case. > > A sane way to build such an interface would be > > cat tst.f90 > module x

[Bug target/90588] New: [AArch64] SVE2 flag patch omits aarch64-protos.h

2019-05-23 Thread p...@gcc-bugzilla.mail.kapsi.fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90588 Bug ID: 90588 Summary: [AArch64] SVE2 flag patch omits aarch64-protos.h Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/90539] [10 Regression] 481.wrf slowdown by 25% on Intel Kaby with -Ofast -march=native starting with r271377

2019-05-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90539 --- Comment #24 from Martin Liška --- One another note is that the problematic code lives in src/netcdf/* and the same code contain: benchspec/CPU/521.wrf_r/src/netcdf/ and benchspec/CPU/628.pop2_s/src/netcdf/ So that would explain also the

[Bug fortran/90539] [10 Regression] 481.wrf slowdown by 25% on Intel Kaby with -Ofast -march=native starting with r271377

2019-05-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90539 --- Comment #23 from Martin Liška --- (In reply to Thomas Koenig from comment #21) > OK, if the callee is a C function... what is its declaration > on the Fortran side? Is there any interface, bind(c) or otherwise? > > I suppose there must be

[Bug c++/90587] New: asan: stack-use-after-scope with -O3 and -Wall

2019-05-23 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90587 Bug ID: 90587 Summary: asan: stack-use-after-scope with -O3 and -Wall Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/90513] asm thunks do not work on PowerPC64/VxWorks (kernel mode)

2019-05-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90513 --- Comment #12 from Eric Botcazou --- > for our kernel module we always pass option "-mlongcall" and we believe > that ,the asm thunk should generate the long call here (through call r12 in > this case) and we can fix the compiler here to do

[Bug target/90513] asm thunks do not work on PowerPC64/VxWorks (kernel mode)

2019-05-23 Thread umesh.kalappa0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90513 --- Comment #11 from Umesh Kalappa --- Segher and Alan , for our kernel module we always pass option "-mlongcall" and we believe that ,the asm thunk should generate the long call here (through call r12 in this case) and we can fix the

<    1   2