[Bug libstdc++/90220] std::any_cast misbehaves for function and array types

2019-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90220 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |7.5 --- Comment #5 from Jonathan Wakel

[Bug debug/90231] ivopts causes iterator in the loop

2019-04-24 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90231 --- Comment #2 from Alexandre Oliva --- that's a known (to me) problem; it's mentioned in the gOlogy report, and IIRC I even highlighted it in the slides about it I spent some time looking for a low-hanging fix a while ago, but came out empty-ha

[Bug debug/90232] New: gcc drops top-level dies with -fdebug-types-section

2019-04-24 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90232 Bug ID: 90232 Summary: gcc drops top-level dies with -fdebug-types-section Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug debug/90231] ivopts causes iterator in the loop

2019-04-24 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90231 --- Comment #3 from rguenther at suse dot de --- On April 24, 2019 5:04:37 PM GMT+02:00, "jakub at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90231 > >Jakub Jelinek changed: > > What|Removed

[Bug debug/90232] gcc drops top-level dies with -fdebug-types-section

2019-04-24 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90232 --- Comment #1 from Tom de Vries --- With this demonstrator patch: ... diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index b9a624e1ac7..1e818973fae 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -8400,10 +8400,11 @@ generate_skeleton (dw_

[Bug libstdc++/90233] New: std::hash()(INFINITY) == std::hash()(0)

2019-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90233 Bug ID: 90233 Summary: std::hash()(INFINITY) == std::hash()(0) Product: gcc Version: 8.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug target/90193] [8/9 Regression] asm goto with TLS "m" input operand generates incorrect assembler in O1 and O2

2019-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90193 --- Comment #12 from Jakub Jelinek --- Author: jakub Date: Wed Apr 24 15:49:36 2019 New Revision: 270550 URL: https://gcc.gnu.org/viewcvs?rev=270550&root=gcc&view=rev Log: PR target/90193 * rtl.c (classify_insn): Return JUMP_INSN

[Bug target/90193] [8 Regression] asm goto with TLS "m" input operand generates incorrect assembler in O1 and O2

2019-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90193 Jakub Jelinek changed: What|Removed |Added Known to work||9.0 Summary|[8/9 Regression]

[Bug target/90234] New: 503.bwaves_r is 6% slower on Zen CPUs at -Ofast with native march/mtune than with generic ones

2019-04-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90234 Bug ID: 90234 Summary: 503.bwaves_r is 6% slower on Zen CPUs at -Ofast with native march/mtune than with generic ones Product: gcc Version: 9.0 Status: UNCONFIRMED

[Bug libstdc++/90233] std::hash()(INFINITY) == std::hash()(0)

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

[Bug target/90235] New: Unnecessary save and restore frame pointer with AVX/AVX512 pseudo registers

2019-04-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90235 Bug ID: 90235 Summary: Unnecessary save and restore frame pointer with AVX/AVX512 pseudo registers Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: norma

[Bug libstdc++/90233] std::hash()(INFINITY) == std::hash()(0)

2019-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90233 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement --- Comment #2 from Jonath

[Bug libffi/90146] Add support for NetBSD

2019-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90146 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c++/82171] Cant use std::declval in concept testing map operator[]

2019-04-24 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82171 Casey Carter changed: What|Removed |Added CC||Casey at Carter dot net --- Comment #4 fr

[Bug debug/90231] ivopts causes iterator in the loop

2019-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90231 --- Comment #4 from Jakub Jelinek --- I think the order doesn't matter in this case, as debug stmts can't have PHIs ATM and that is what you either immediately or soonish end up with. The only thing it changes is IMHO whether the D#1 appears in t

[Bug d/89432] FAIL: libphobos.unittests/druntime/{static,shared}/core.time on CentOS 5.11, Linux 2.6.18

2019-04-24 Thread ibuclaw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89432 --- Comment #6 from ibuclaw at gcc dot gnu.org --- Author: ibuclaw Date: Wed Apr 24 18:57:36 2019 New Revision: 270554 URL: https://gcc.gnu.org/viewcvs?rev=270554&root=gcc&view=rev Log: libphobos: Fix FAIL phobos.exp/core.time on CentOS 5.11, Lin

[Bug c++/90236] New: bogus error with auto non-type template argument

2019-04-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90236 Bug ID: 90236 Summary: bogus error with auto non-type template argument Product: gcc Version: 8.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/90236] bogus error with auto non-type template argument

2019-04-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90236 Marek Polacek changed: What|Removed |Added Keywords||rejects-valid Target Milestone|---

[Bug c++/90186] optimizing options -O1 and -O2 produce different results

2019-04-24 Thread austin.card at torchtechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90186 --- Comment #2 from austin.card at torchtechnologies dot com --- (In reply to Richard Biener from comment #1) > Note that using #pragma pack(1) on struct Ipv4 makes u_short members not > naturally aligned and thus code like > > void Updat

[Bug d/89432] FAIL: libphobos.unittests/druntime/{static,shared}/core.time on CentOS 5.11, Linux 2.6.18

2019-04-24 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89432 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/89864] gcc fails to build/bootstrap with XCode 10.2

2019-04-24 Thread zbeekman at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #89 from Zaak --- Anyone have a patch for 4.9? A user wants one, but I can't build 4.9 from source on Mojave.

[Bug c++/90227] [9 Regression] trunk rejects polymake since r269965

2019-04-24 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90227 --- Comment #3 from Jason Merrill --- Author: jason Date: Wed Apr 24 20:37:30 2019 New Revision: 270556 URL: https://gcc.gnu.org/viewcvs?rev=270556&root=gcc&view=rev Log: PR c++/90227 - error with template parameter packs. If require_al

[Bug c++/90236] bogus error with auto non-type template argument

2019-04-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90236 --- Comment #2 from Marek Polacek --- Clearly it's this hunk: @@ -6985,27 +7071,10 @@ convert_nontype_argument (tree type, tree expr, tsubst_flags_t complain) itself value-dependent, since what we want here is its address. */; els

[Bug lto/90229] Interaction among -Wl,--as-needed and LTO results in an undefined symbol

2019-04-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90229 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING --- Comment #4 from H.J. Lu --- I can

[Bug fortran/90237] New: Bogus warning from -Wdo-subscript

2019-04-24 Thread townsend at astro dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90237 Bug ID: 90237 Summary: Bogus warning from -Wdo-subscript Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug fortran/90238] New: Bogus warning from -Warray-bounds, triggered by zero-length character literal

2019-04-24 Thread townsend at astro dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90238 Bug ID: 90238 Summary: Bogus warning from -Warray-bounds, triggered by zero-length character literal Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: n

[Bug c++/90236] bogus error with auto non-type template argument

2019-04-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90236 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Wed Apr 24 21:28:04 2019 New Revision: 270557 URL: https://gcc.gnu.org/viewcvs?rev=270557&root=gcc&view=rev Log: PR c++/90236 * g++.dg/cpp1z/nontype-auto16.C: New test.

[Bug fortran/90238] Bogus warning from -Warray-bounds, triggered by zero-length character literal

2019-04-24 Thread townsend at astro dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90238 --- Comment #1 from Rich Townsend --- An even-simpler demo: -- program test_str_2 write(*,*) '' end program test_str_2 -- Compile with -O2 -Warray-bounds gives test_str_2.f90:3:0: write(*,*) '' Warning: array subscript 1 is above arra

[Bug fortran/90237] Bogus warning from -Wdo-subscript

2019-04-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90237 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P5 CC|

[Bug middle-end/90238] Bogus warning from -Warray-bounds, triggered by zero-length character literal

2019-04-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90238 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P5 CC|

[Bug fortran/90237] Bogus warning from -Wdo-subscript

2019-04-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90237 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment #

[Bug gcov-profile/47618] Collecting multiple profiles and using all for PGO

2019-04-24 Thread qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47618 qinzhao at gcc dot gnu.org changed: What|Removed |Added CC||qinzhao at gcc dot gnu.org -

[Bug fortran/90237] Bogus warning from -Wdo-subscript

2019-04-24 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90237 --- Comment #2 from Steve Kargl --- On Wed, Apr 24, 2019 at 10:01:13PM +, tkoenig at gcc dot gnu.org wrote: > --- Comment #1 from Thomas Koenig --- > We should probably rename the option. It works as advertised: A renaming is probably not

[Bug d/90086] libphobos: warning: type and size of dynamic symbol `fiber_switchContext' are not defined

2019-04-24 Thread ibuclaw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90086 --- Comment #1 from ibuclaw at gcc dot gnu.org --- Author: ibuclaw Date: Wed Apr 24 22:46:59 2019 New Revision: 270560 URL: https://gcc.gnu.org/viewcvs?rev=270560&root=gcc&view=rev Log: libphobos: Fix linker warning and SEGV in core.thread tests.

[Bug d/90086] libphobos: warning: type and size of dynamic symbol `fiber_switchContext' are not defined

2019-04-24 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90086 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/90088] 3 ops LEA should be avoided on Intel CPUs

2019-04-24 Thread skpgkp1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90088 --- Comment #6 from Sunil Pandey --- We look into this issue and tested lea vs lea equivalent on following processor. On Haswell/Broadwell/Skylake/CoffeeLake processors, lea is faster than alternative.

[Bug middle-end/90238] Bogus warning from -Warray-bounds, triggered by zero-length character literal

2019-04-24 Thread townsend at astro dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90238 --- Comment #3 from Rich Townsend --- (In reply to kargl from comment #2) > -Warray-bounds is a generic GCC option, and is used in the > middle end for reporting warnings. When you use this option > it does not recognize that a Fortran string is

[Bug middle-end/90238] Bogus warning from -Warray-bounds, triggered by zero-length character literal

2019-04-24 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90238 --- Comment #4 from Steve Kargl --- On Thu, Apr 25, 2019 at 12:41:10AM +, townsend at astro dot wisc.edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90238 > > --- Comment #3 from Rich Townsend --- > (In reply to kargl from comment

[Bug debug/90231] ivopts causes iterator in the loop

2019-04-24 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90231 bin cheng changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |amker at gcc dot gnu.org --- Comment

[Bug middle-end/90238] Bogus warning from -Warray-bounds, triggered by zero-length character literal

2019-04-24 Thread townsend at astro dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90238 --- Comment #5 from Rich Townsend --- (In reply to Steve Kargl from comment #4) > It's certainly confusing. gfortran.info includes > -Warray-bounds as a warning option, but there is no > description for the option. Grepping the gfortran > sour

[Bug tree-optimization/90106] builtin sqrt() ignoring libm's sqrt call result

2019-04-24 Thread JunMa at linux dot alibaba.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90106 --- Comment #8 from JunMa --- (In reply to Alexander Monakov from comment #6) > Reopening and confirming, GCC's code looks less efficient than possible for > no good reason. > > CDCE does > > y = sqrt (x); > ==> > y = IFN_S

[Bug fortran/85541] ICE with parameterized derived type (PDT) and allocate

2019-04-24 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85541 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #2

[Bug go/68931] gccgo fails to build using MUSL libc

2019-04-24 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68931 Daniel Santos changed: What|Removed |Added CC||daniel.santos at pobox dot com --- Comme

[Bug tree-optimization/90106] builtin sqrt() ignoring libm's sqrt call result

2019-04-24 Thread JunMa at linux dot alibaba.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90106 --- Comment #9 from JunMa --- (In reply to JunMa from comment #7) > yes, the transformation in CDEC prevent the tail call optimization. let's > check the return stmt in CDEC pass. Sorry for the confused comment. As the discussion above, The cd

[Bug other/63613] dejagnu.h needs to be fix included

2019-04-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63613 Eric Gallager changed: What|Removed |Added CC||bkorb at gnu dot org --- Comment #13 fro

[Bug c/26613] Corner case causes garbage to be output by -aux-info switch.

2019-04-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26613 --- Comment #9 from Eric Gallager --- (In reply to Andrew Pinski from comment #8) > (In reply to Eric Gallager from comment #7) > > (In reply to Mark F. Haigh from comment #5) > > > Created attachment 11005 [details] > > > Fix for trunk (against

[Bug c/37874] gcc sometimes accepts attribute in identifier list

2019-04-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37874 Eric Gallager changed: What|Removed |Added Keywords||accepts-invalid --- Comment #6 from Eric

[Bug tree-optimization/89043] strcat (strcpy (d, a), b) not folded to stpcpy (strcpy (d, a), b)

2019-04-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89043 --- Comment #7 from Eric Gallager --- Anyways my point about bringing up which standards stpcpy() is in is to remind people to keep portability concerns in mind when doing this change. Please check the gnulib docs on stpcpy() for specifics: https

[Bug libstdc++/90239] New: [C++20] scoped_allocator_adaptor should support nested pair

2019-04-24 Thread kariya_mitsuru at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90239 Bug ID: 90239 Summary: [C++20] scoped_allocator_adaptor should support nested pair Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Prio

[Bug tree-optimization/90240] New: [9 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:6694

2019-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90240 Bug ID: 90240 Summary: [9 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:6694 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/90240] [9 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:6694

2019-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90240 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code Last reconfirmed|

<    1   2