[Bug debug/90586] New: [gdb] gdb wrongly set the breakpoint as expected

2019-05-22 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90586 Bug ID: 90586 Summary: [gdb] gdb wrongly set the breakpoint as expected Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/89479] __restrict on a pointer ignored when a function is passed alongside it

2019-05-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

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

2019-05-22 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90585 --- Comment #1 from Matthias Klose --- looks like libgomp/configure.ac always sets -Werror, not respecting the --disable-werror configure option.

[Bug c/88144] remove long-obsolete syntax for designated initializers

2019-05-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88144 --- Comment #6 from Eric Gallager --- (In reply to Jonathan Wakely from comment #3) > Maybe -Wdeprecated or -Wdeprecated-declarations I think clang puts this under -Wgnu-designator:

[Bug target/90547] [8/9/10 Regression] ICE in gen_lowpart_general, at rtlhooks.c:63

2019-05-22 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90547 --- Comment #5 from uros at gcc dot gnu.org --- Author: uros Date: Thu May 23 04:55:40 2019 New Revision: 271537 URL: https://gcc.gnu.org/viewcvs?rev=271537=gcc=rev Log: Backported from mainline 2019-05-21 Uroš Bizjak

[Bug target/90547] [8/9/10 Regression] ICE in gen_lowpart_general, at rtlhooks.c:63

2019-05-22 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90547 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2019-05-22 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90585 Bug ID: 90585 Summary: libgomp hsa plugin ftbfs in the x32 multilib variant Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/78388] Bogus "declaration shadows template parameter" error with parenthesized function-style casts

2019-05-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78388 Eric Gallager changed: What|Removed |Added CC||jason at gcc dot gnu.org,

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

2019-05-22 Thread ffengqi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88784 --- Comment #9 from Qi Feng --- 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 > y --> x > y y != 0 && x < y --> x < y If

[Bug libstdc++/90415] std::is_copy_constructible> is incomplete

2019-05-22 Thread rafael at espindo dot la
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90415 --- Comment #3 from Rafael Avila de Espindola --- I see now that the corresponding commit on trunk was 31011b9a94fed33170c009292e82558336d1c4d7 (r261146). At that revision, the test in this bug passes. There was a more recent regression on

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

2019-05-22 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90584 Bug ID: 90584 Summary: [gdb] gdb is not stopped at a breakpoint in an executed line of code Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/90462] Internal compiler error with deprecated-copy and json diagnostics

2019-05-22 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90462 --- Comment #4 from David Malcolm --- r271535 should fix the ICE on trunk, but it doesn't fix the missing "finish" location for the warning described in comment #2.

[Bug c++/90583] New: Implement DR 1722, lambda to function pointer conversion should be noexcept

2019-05-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90583 Bug ID: 90583 Summary: Implement DR 1722, lambda to function pointer conversion should be noexcept Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug c++/90462] Internal compiler error with deprecated-copy and json diagnostics

2019-05-22 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90462 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Thu May 23 00:42:03 2019 New Revision: 271535 URL: https://gcc.gnu.org/viewcvs?rev=271535=gcc=rev Log: Bulletproof -fdiagnostics-format=json against bad locations (PR c++/90462) PR

[Bug fortran/90536] Spurious (?) warning when using -Wconversion with -fno-range-check

2019-05-22 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90536 --- Comment #14 from Steve Kargl --- On Wed, May 22, 2019 at 11:21:52PM +, j.ravens.nz at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90536 > > --- Comment #13 from Jonathan Ravens --- > Thanks everyone for your

[Bug ipa/88231] aligned functions laid down inefficiently

2019-05-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88231 --- Comment #8 from Martin Sebor --- (In reply to Martin Liška from comment #7) > Can we do such an optimization without GAS information about size of every > function? My thought was that we could use alignment alone if we didn't know the

[Bug fortran/90536] Spurious (?) warning when using -Wconversion with -fno-range-check

2019-05-22 Thread j.ravens.nz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90536 --- Comment #13 from Jonathan Ravens --- Thanks everyone for your input on this issue. I hadn't realised that it could cause such dissent. As a software developer, my major driver is to manage the users' expectations. In that respect,

[Bug libstdc++/83237] Values returned by std::poisson_distribution are not distributed correctly

2019-05-22 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83237 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment

[Bug target/90582] AArch64 stack-protector wastes an instruction on address-generation

2019-05-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90582 --- Comment #1 from Andrew Pinski --- > I assume EOR / CBNZ is as at least as efficient as SUBS / BNE on > all/most AArch64 microarchitectures, but someone should check. It is similar as x86 with that respect on some cores (Marvell's cores

[Bug target/90547] [8/9/10 Regression] ICE in gen_lowpart_general, at rtlhooks.c:63

2019-05-22 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90547 --- Comment #4 from uros at gcc dot gnu.org --- Author: uros Date: Wed May 22 22:50:39 2019 New Revision: 271529 URL: https://gcc.gnu.org/viewcvs?rev=271529=gcc=rev Log: Backported from mainline 2019-05-21 Uroš Bizjak

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

2019-05-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90569 --- Comment #6 from Jonathan Wakely --- This bug also affects 32-bit GNU/Linux with older versions of glibc.

[Bug libstdc++/90557] [9/10 Regression] Incorrect std::filesystem::path::operator=(std::filesystem::path const&) in gcc 9.1.0

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

[Bug target/90582] New: AArch64 stack-protector wastes an instruction on address-generation

2019-05-22 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90582 Bug ID: 90582 Summary: AArch64 stack-protector wastes an instruction on address-generation Product: gcc Version: 8.2.1 Status: UNCONFIRMED Keywords:

[Bug libstdc++/90557] [9/10 Regression] Incorrect std::filesystem::path::operator=(std::filesystem::path const&) in gcc 9.1.0

2019-05-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90557 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Wed May 22 22:36:21 2019 New Revision: 271528 URL: https://gcc.gnu.org/viewcvs?rev=271528=gcc=rev Log: PR libstdc++/90557 fix path assignment that alters source Backport from mainline

[Bug libstdc++/90557] [9/10 Regression] Incorrect std::filesystem::path::operator=(std::filesystem::path const&) in gcc 9.1.0

2019-05-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90557 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Wed May 22 22:14:34 2019 New Revision: 271527 URL: https://gcc.gnu.org/viewcvs?rev=271527=gcc=rev Log: PR libstdc++/90557 fix path assignment that alters source PR

[Bug target/61577] [4.9.0] can't compile on hp-ux v3 ia64

2019-05-22 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #16 from dave.anglin at bell dot net --- On 2019-05-22 5:23 p.m., bugzilla-gcc at thewrittenword dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 > > --- Comment #15 from The Written Word com> --- > (In reply to

[Bug preprocessor/90581] provide an option to adjust the maximum depth of nested #include

2019-05-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90581 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/20408] Unnecessary code generated for empty structs

2019-05-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20408 --- Comment #22 from Jason Merrill --- Author: jason Date: Wed May 22 21:39:08 2019 New Revision: 271523 URL: https://gcc.gnu.org/viewcvs?rev=271523=gcc=rev Log: PR c++/20408 - unnecessary code for empty struct. Here initializing the

[Bug middle-end/90549] missing -Wreturn-local-addr maybe returning an address of a local array plus offset

2019-05-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90549 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor

[Bug c/71924] missing -Wreturn-local-addr returning alloca result

2019-05-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71924 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #5 from Martin Sebor

[Bug preprocessor/90581] New: provide an option to adjust the maximum depth of nested #include

2019-05-22 Thread qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90581 Bug ID: 90581 Summary: provide an option to adjust the maximum depth of nested #include Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug target/61577] [4.9.0] can't compile on hp-ux v3 ia64

2019-05-22 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #15 from The Written Word --- (In reply to dave.anglin from comment #12) > It might help to compile stage1 with -O2 or -Os. How does one do this? After ./configure, "gmake CFLAGS=-Os"? BOOT_CFLAGS applies to stage2/3.

[Bug libstdc++/90557] [9/10 Regression] Incorrect std::filesystem::path::operator=(std::filesystem::path const&) in gcc 9.1.0

2019-05-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90557 Jonathan Wakely changed: What|Removed |Added Known to work||8.3.0 Target Milestone|---

[Bug c/90580] New: error: ‘offsetof’ undeclared when it is declared, but used with the wrong number of arguments

2019-05-22 Thread slandden at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90580 Bug ID: 90580 Summary: error: ‘offsetof’ undeclared when it is declared, but used with the wrong number of arguments Product: gcc Version: 8.3.0 Status: UNCONFIRMED

[Bug libstdc++/77691] [7/8/9/10 regression] experimental/memory_resource/resource_adaptor.cc FAILs

2019-05-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691 --- Comment #39 from Jonathan Wakely --- (In reply to dave.anglin from comment #37) > I believe I changed the glibc value because of the pthread mutex issue. Aha. > MALLOC_ABI_ALIGNMENT is defined in pa32-linux.h as follows: > #define

[Bug libstdc++/77691] [7/8/9/10 regression] experimental/memory_resource/resource_adaptor.cc FAILs

2019-05-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691 --- Comment #38 from Jonathan Wakely --- Author: redi Date: Wed May 22 20:29:39 2019 New Revision: 271522 URL: https://gcc.gnu.org/viewcvs?rev=271522=gcc=rev Log: PR libstdc++/77691 fix resource_adaptor failures due to max_align_t bugs Remove

[Bug libstdc++/77691] [7/8/9/10 regression] experimental/memory_resource/resource_adaptor.cc FAILs

2019-05-22 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691 --- Comment #37 from dave.anglin at bell dot net --- On 2019-05-22 3:41 p.m., redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691 > > --- Comment #36 from Jonathan Wakely --- > Interesting. Yes, definitely similar

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-05-22 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/90330] gcc 9.1.0 fails to install on macOS 10.14.4

2019-05-22 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330 --- Comment #14 from Iain Sandoe --- (In reply to Iain Sandoe from comment #13) > (In reply to Matt Thompson from comment #12) > > (In reply to Iain Sandoe from comment #11) > > > (In reply to Matt Thompson from comment #10) > > > > (In reply to

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

2019-05-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90539 --- Comment #22 from Thomas Koenig --- 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 use, intrinsic :: iso_c_binding, only : c_double

[Bug c++/86485] [7/8 Regression] "anonymous" maybe-uninitialized false positive with ternary operator

2019-05-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86485 --- Comment #7 from Jason Merrill --- Author: jason Date: Wed May 22 19:48:05 2019 New Revision: 271521 URL: https://gcc.gnu.org/viewcvs?rev=271521=gcc=rev Log: PR c++/86485 - simple_empty_class_p Yet another tweak that would have

[Bug target/90568] stack protector should use cmp or sub, not xor, to allow macro-fusion on x86

2019-05-22 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90568 --- Comment #5 from Peter Cordes --- And BTW, this only helps if the SUB and JNE are consecutive, which GCC (correctly) doesn't currently optimize for with XOR. If this sub/jne is different from a normal sub/branch and won't already get

[Bug libstdc++/77691] [7/8/9/10 regression] experimental/memory_resource/resource_adaptor.cc FAILs

2019-05-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691 --- Comment #36 from Jonathan Wakely --- Interesting. Yes, definitely similar ideas. It looks like it was solved differently though, as config/pa/pa.h has #define MALLOC_ABI_ALIGNMENT (TARGET_64BIT ? 128 : 64) which should get used by the

[Bug testsuite/90565] [10 regression] test cases gcc.dg/uninit-18.c and uninit-pr90394-1-gimple.c broken as of r271460

2019-05-22 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90565 --- Comment #2 from seurer at gcc dot gnu.org --- Also possibly gcc.dg/pr67512.c

[Bug tree-optimization/90579] New: Huge store forward stall due to vectorizer

2019-05-22 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90579 Bug ID: 90579 Summary: Huge store forward stall due to vectorizer Product: gcc Version: 9.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/88483] Unnecessary stack alignment

2019-05-22 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88483 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Wed May 22 18:53:37 2019 New Revision: 271517 URL: https://gcc.gnu.org/viewcvs?rev=271517=gcc=rev Log: x86: Don't allocate stack frame nor align stack if not needed

[Bug target/90547] [8/9/10 Regression] ICE in gen_lowpart_general, at rtlhooks.c:63

2019-05-22 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90547 --- Comment #3 from uros at gcc dot gnu.org --- Author: uros Date: Wed May 22 18:49:22 2019 New Revision: 271516 URL: https://gcc.gnu.org/viewcvs?rev=271516=gcc=rev Log: Backported from mainline 2019-05-21 Uroš Bizjak

[Bug lto/90577] [9/10 Regression] FAIL: gfortran.dg/lrshift_1.f90 with -O(2|3) and -flto

2019-05-22 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90577 Iain Sandoe changed: What|Removed |Added Target||x86_64-apple-darwin*, |

[Bug libstdc++/90415] std::is_copy_constructible> is incomplete

2019-05-22 Thread rafael at espindo dot la
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90415 --- Comment #2 from Rafael Avila de Espindola --- The bug is still present on trunk.

[Bug libstdc++/90415] std::is_copy_constructible> is incomplete

2019-05-22 Thread rafael at espindo dot la
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90415 Rafael Avila de Espindola changed: What|Removed |Added CC||jason at redhat dot com ---

[Bug target/90568] stack protector should use cmp or sub, not xor, to allow macro-fusion on x86

2019-05-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90568 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug lto/90577] [9/10 Regression] FAIL: gfortran.dg/lrshift_1.f90 with -O(2|3) and -flto

2019-05-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90577 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/90578] Wrong code with LSHIFT and optimization

2019-05-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90578 Dominique d'Humieres changed: What|Removed |Added Keywords||wrong-code

[Bug fortran/90578] New: Wrong code with LSHIFT and optimization

2019-05-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90578 Bug ID: 90578 Summary: Wrong code with LSHIFT and optimization Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug target/90568] stack protector should use cmp or sub, not xor, to allow macro-fusion on x86

2019-05-22 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90568 --- Comment #3 from Peter Cordes --- (In reply to Jakub Jelinek from comment #2) > The xor there is intentional, for security reasons we do not want the stack > canary to stay in the register afterwards, because then it could be later > spilled

[Bug lto/90577] New: [9/10 Regression] FAIL: gfortran.dg/lrshift_1.f90 with -O(2|3) and -flto

2019-05-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90577 Bug ID: 90577 Summary: [9/10 Regression] FAIL: gfortran.dg/lrshift_1.f90 with -O(2|3) and -flto Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords:

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

2019-05-22 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64895 --- Comment #16 from Iain Sandoe --- Created attachment 46398 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46398=edit testsuite patch Will post this later, tested on x86_64-linux and x86_64-darwin.

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

2019-05-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90569 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #4) > Rainer, the change to gcc/cp/init.c would allow you to do: > > #define MALLOC_ABI_ALIGNMENT 8 Oops, it's in bits not bytes, so that should be #define

[Bug target/68485] ICE while building gpsd package on microblaze

2019-05-22 Thread giulio.benetti at micronovasrl dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485 Giulio Benetti changed: What|Removed |Added CC||giulio.benetti@micronovasrl

[Bug libstdc++/77691] [7/8/9/10 regression] experimental/memory_resource/resource_adaptor.cc FAILs

2019-05-22 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691 --- Comment #35 from dave.anglin at bell dot net --- On 2019-05-22 11:03 a.m., redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691 > > --- Comment #34 from Jonathan Wakely --- > (In reply to Jonathan Wakely from

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

2019-05-22 Thread mkuvyrkov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90576 Bug ID: 90576 Summary: [10 regression] SPEC CPU2006 450.soplex miscompiled with -Os -flto after r271413 Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug libstdc++/77691] [7/8/9/10 regression] experimental/memory_resource/resource_adaptor.cc FAILs

2019-05-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691 --- Comment #34 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #33) > The correct fix is to adjust the value of __STDCPP_DEFAULT_NEW_ALIGNMENT__ > on targets where malloc doesn't agree with GCC's alignof(max_align_t). That

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

2019-05-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90569 --- Comment #4 from Jonathan Wakely --- Rainer, the change to gcc/cp/init.c would allow you to do: #define MALLOC_ABI_ALIGNMENT 8 in gcc/config/i386/sol2.h and that would cause std::allocator to know that it can't rely on malloc for 16-byte

[Bug debug/90575] New: -gsplit-dwarf leaves behind .dwo file in cwd

2019-05-22 Thread sbergman at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90575 Bug ID: 90575 Summary: -gsplit-dwarf leaves behind .dwo file in cwd Product: gcc Version: 9.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

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

2019-05-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90569 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #3

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

2019-05-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90539 --- Comment #21 from Thomas Koenig --- 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 something, otherwise nf_put_vara_double would have a

[Bug debug/90574] New: [gdb] gdb wrongly stopped at a breakpoint in an unexecuted line of code

2019-05-22 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90574 Bug ID: 90574 Summary: [gdb] gdb wrongly stopped at a breakpoint in an unexecuted line of code Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

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

2019-05-22 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64895 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #15

[Bug tree-optimization/90573] Avoid unnecessary data transfer into OMP construct

2019-05-22 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90573 --- Comment #1 from Thomas Schwinge --- Probably some of these transformation should come with compiler diagnostics, especially for explicit clauses. For example, need to relate this to 'OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT': PR70550 (r234779,

[Bug c++/68476] microblaze: compilation of btSoftBody.cpp doesn't terminate with optimisation

2019-05-22 Thread giulio.benetti at micronovasrl dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68476 Giulio Benetti changed: What|Removed |Added CC||giulio.benetti@micronovasrl

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

2019-05-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90569 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/90573] New: Avoid unnecessary data transfer into OMP construct

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

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

2019-05-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34678 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

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

2019-05-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90570 Martin Liška changed: What|Removed |Added Keywords||patch --- Comment #5 from Martin Liška

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

2019-05-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90570 --- Comment #4 from Martin Liška --- (In reply to Jakub Jelinek from comment #3) > Given the TREE_STATIC on: > static const int C.0[2] = {1, 2}; > I don't understand why there is ASAN_UNPOISON/ASAN_POISON for C.0, shouldn't > that be applied

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

2019-05-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90570 --- Comment #3 from Jakub Jelinek --- Given the TREE_STATIC on: static const int C.0[2] = {1, 2}; I don't understand why there is ASAN_UNPOISON/ASAN_POISON for C.0, shouldn't that be applied solely to automatic variables, not block scope

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

2019-05-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90570 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/90571] Missed optimization opportunity when returning function pointers based on run-time boolean

2019-05-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90571 --- Comment #3 from Richard Biener --- Turning indirect calls into direct ones might be important enough to also handle int x, y; int f() { return x; } int g() { return y; } int t0(bool b) { int (*i)() = b ? : x = 1; return i(); } int

[Bug c++/90572] Wrong disambiguation in friend declaration as implicit typename context

2019-05-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90572 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/71124] Compiler enters infinite loop on Microblaze with -O1/-O2/-O3

2019-05-22 Thread giulio.benetti at micronovasrl dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71124 --- Comment #4 from Giulio Benetti --- Previous Comment was wrong. This duplicates bug: *** This bug has been marked as a duplicate of bug 85180 ***

[Bug target/71124] Compiler enters infinite loop on Microblaze with -O1/-O2/-O3

2019-05-22 Thread giulio.benetti at micronovasrl dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71124 Giulio Benetti changed: What|Removed |Added CC||giulio.benetti@micronovasrl

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

2019-05-22 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34678 --- Comment #38 from Marc Glisse --- (In reply to Marc Glisse from comment #37) > If you protect even constants, the current effects of -frounding-math become > redundant. Oops, forget that, the hack is too late for this sentence to be true,

[Bug tree-optimization/90571] Missed optimization opportunity when returning function pointers based on run-time boolean

2019-05-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90571 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/90571] Missed optimization opportunity when returning function pointers based on run-time boolean

2019-05-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90571 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

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

2019-05-22 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34678 --- Comment #37 from Marc Glisse --- (In reply to Richard Biener from comment #36) > Created attachment 46396 [details] > poor mans solution^Whack > > So this is what a hack looks like, basically sprinkling those asm()s > throughout the code

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

2019-05-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90539 --- Comment #20 from Martin Liška --- (In reply to Thomas Koenig from comment #19) > Thanks. > > A bit more: > > What are the declarations of the actual srgument, > of the dummy argument (on the callee side), > and what is the argument in the

[Bug c++/90572] New: Wrong disambiguation in friend declaration as implicit typename context

2019-05-22 Thread blitzrakete at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90572 Bug ID: 90572 Summary: Wrong disambiguation in friend declaration as implicit typename context Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

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

2019-05-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90539 --- Comment #19 from Thomas Koenig --- Thanks. A bit more: What are the declarations of the actual srgument, of the dummy argument (on the callee side), and what is the argument in the call list? Ill try to construct a test case tonight

[Bug tree-optimization/88440] size optimization of memcpy-like code

2019-05-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88440 --- Comment #22 from Richard Biener --- The code in question was originally added with r202721 by Vlad and likely became more costly after making the target macro a hook (no inlining anymore).

[Bug c++/90571] New: Missed optimization opportunity when returning function pointers based on run-time boolean

2019-05-22 Thread vittorio.romeo at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90571 Bug ID: 90571 Summary: Missed optimization opportunity when returning function pointers based on run-time boolean Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug ipa/88231] aligned functions laid down inefficiently

2019-05-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88231 Martin Liška changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|marxin at gcc dot

[Bug debug/86964] [7/8 Regression] Too many debug symbols included, especially for extern globals

2019-05-22 Thread patrickdepinguin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86964 --- Comment #18 from Thomas De Schampheleire --- Second version of patch, fixing testsuite failures, was posted: https://gcc.gnu.org/ml/gcc-patches/2019-05/msg01403.html

[Bug ipa/88231] aligned functions laid down inefficiently

2019-05-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88231 --- Comment #6 from Martin Liška --- (In reply to Andi Kleen from comment #4) > I'm not sure it's a good idea to do this. Often the goal is not to get the > absolute smallest code, but to get code that minimizes cache line usage. > This is

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

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

[Bug sanitizer/90570] New: AddressSanitizer: stack-use-after-scope

2019-05-22 Thread mtekieli at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90570 Bug ID: 90570 Summary: AddressSanitizer: stack-use-after-scope Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug bootstrap/90543] Build failure on MINGW for gcc-9.1.0

2019-05-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90543 --- Comment #8 from Jakub Jelinek --- (In reply to Jonathan Wakely from comment #6) > Neither uintptr_t nor PRIxPTR (nor long long nor uint64_t) is part of C++98, > which GCC still requires. I do see existing uses of intptr_t and uintptr_t > in

[Bug fortran/89100] Default widths for i, f and g format specifiers in format strings

2019-05-22 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89100 --- Comment #12 from Janne Blomqvist --- Author: jb Date: Wed May 22 11:56:01 2019 New Revision: 271511 URL: https://gcc.gnu.org/viewcvs?rev=271511=gcc=rev Log: fortran/89100: Default widths with -fdec-format-defaults gcc/fortran ChangeLog:

[Bug bootstrap/90543] Build failure on MINGW for gcc-9.1.0

2019-05-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90543 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug bootstrap/90543] Build failure on MINGW for gcc-9.1.0

2019-05-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90543 --- Comment #6 from Jonathan Wakely --- Neither uintptr_t nor PRIxPTR (nor long long nor uint64_t) is part of C++98, which GCC still requires. I do see existing uses of intptr_t and uintptr_t in gcc/cp/*.c though.

[Bug tree-optimization/88440] size optimization of memcpy-like code

2019-05-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88440 --- Comment #21 from Richard Biener --- Ick. static inline void check_pseudos_live_through_calls (int regno, HARD_REG_SET last_call_used_reg_set, rtx_insn *call_insn) { ...

  1   2   >