[Bug tree-optimization/93326] switch optimisation of multiple jumptables into a lookup

2020-01-19 Thread felix.von.s at posteo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93326 --- Comment #2 from felix --- Created attachment 47681 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47681=edit Optimised into a jumptable, then load of an immediate (-O3 -fno-pic)

[Bug tree-optimization/93326] switch optimisation of multiple jumptables into a lookup

2020-01-19 Thread felix.von.s at posteo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93326 --- Comment #1 from felix --- Created attachment 47680 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47680=edit Optimised into a lookup table of constants (-O3 -fno-pic)

[Bug tree-optimization/93326] New: switch optimisation of multiple jumptables into a lookup

2020-01-19 Thread felix.von.s at posteo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93326 Bug ID: 93326 Summary: switch optimisation of multiple jumptables into a lookup Product: gcc Version: 9.2.1 Status: UNCONFIRMED Keywords: missed-optimization

[Bug tree-optimization/85628] Make better use of BFI (BFXIL)

2020-01-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85628 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/93308] bind(c) subroutine changes lower bound of array argument in caller

2020-01-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93308 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/91476] [9/10 Regression] const reference variables sharing the same name in two anonymous namespaces cause a multiple definition error

2020-01-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91476 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/33799] Return value's destructor not executed when a local variable's destructor throws

2020-01-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/93321] Unlimited recursion in prepare_block_for_update

2020-01-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93321 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

gcc.gnu.org Mailbox Restioration!

2020-01-19 Thread Mail Server
friendly reminder

[Bug ipa/93318] [10 regression] Firefox LTO+FDO ICEs in speculative_call_info

2020-01-19 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93318 --- Comment #4 from Jan Hubicka --- Ok, I managed to reproduce the crash locally (it was not that easy) At the point of failure the node passes verification and I suppose problem is that the call stmt hash contains indirect call while it is

Re: [Bug ipa/93318] [10 regression] Firefox LTO+FDO ICEs in speculative_call_info

2020-01-19 Thread Jan Hubicka
Ok, I managed to reproduce the crash locally (it was not that easy) At the point of failure the node passes verification and I suppose problem is that the call stmt hash contains indirect call while it is supposed to contain direct call. Edge removal code probably replaces direct edge by indreict

[Bug tree-optimization/93321] Unlimited recursion in prepare_block_for_update

2020-01-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93321 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/93321] Unlimited recursion in prepare_block_for_update

2020-01-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93321 --- Comment #3 from Andrew Pinski --- Note prepare_block_for_update has been this way since 2005 with g:0bca51f080dfff5e943b1f1775d874a73bbc441a

[Bug tree-optimization/93321] Unlimited recursion in prepare_block_for_update

2020-01-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93321 --- Comment #2 from Andrew Pinski --- Created attachment 47679 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47679=edit fully untested patch This patch improves prepare_block_for_update but there might be others.

[Bug tree-optimization/93321] Unlimited recursion in prepare_block_for_update

2020-01-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93321 --- Comment #1 from Andrew Pinski --- I don't think this is a bug. You requested inlining a lot. And that increases the number of basic blocks by a lot because of recursive inlining. I can decrease the stack recusriveness slightly by peeling

[Bug c++/93323] Internal Compiler Error in unify at cp/pt.c:22219

2020-01-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93323 Marek Polacek changed: What|Removed |Added Keywords|needs-reduction | --- Comment #2 from Marek Polacek ---

[Bug c++/93320] internal compiler error: in is_base_type, at dwarf2out.c:12987

2020-01-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93320 --- Comment #5 from Marek Polacek --- Seems like it started with g:3075affdbcb3232fe549fbeed87bd94114c14758

[Bug c++/93324] [10 Regression] ICE with -Wall on constexpr if

2020-01-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93324 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #2 from Marek Polacek

[Bug c++/93320] internal compiler error: in is_base_type, at dwarf2out.c:12987

2020-01-19 Thread mike.redd at 4embedded dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93320 --- Comment #4 from Mike Redd --- FWIW: My code had a problem, but it would have been much easier to debug if the compile didn't crash. :-) In other words, it is possibly not important to handle "type_pack_expansion" in a meaningful way here--

[Bug c++/93320] internal compiler error: in is_base_type, at dwarf2out.c:12987

2020-01-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93320 --- Comment #3 from Marek Polacek --- We crash in is_base_type because it gets (gdb) p type $1 = and that is not handled: 12990 gcc_unreachable ();

[Bug c++/93320] internal compiler error: in is_base_type, at dwarf2out.c:12987

2020-01-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93320 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/92805] gfortran: blanks within literal constants should not be allowed

2020-01-19 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92805 --- Comment #8 from kargl at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #7) > (In reply to kargl from comment #6) > > > No. I do not do git and have little time/need/interest > > in learning. > > In that case, I hope you don't

[Bug ipa/93322] [10 Regression] gcc.dg/tree-ssa/flatten-1.c ICEs with -fPIC

2020-01-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93322 --- Comment #4 from Andrew Pinski --- size_info->size = 0;

[Bug ipa/93322] [10 Regression] gcc.dg/tree-ssa/flatten-1.c ICEs with -fPIC

2020-01-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93322 Andrew Pinski changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug c++/33799] Return value's destructor not executed when a local variable's destructor throws

2020-01-19 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #11 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:bcfc2227c556f2801a657ce3007374732baa8333 commit r10-6077-gbcfc2227c556f2801a657ce3007374732baa8333 Author: Jason Merrill Date:

[Bug libstdc++/93325] libstdc++ wrongly uses direct clock_gettime syscall on non-glibc, breaks time64

2020-01-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93325 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/93325] New: libstdc++ wrongly uses direct clock_gettime syscall on non-glibc, breaks time64

2020-01-19 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93325 Bug ID: 93325 Summary: libstdc++ wrongly uses direct clock_gettime syscall on non-glibc, breaks time64 Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/93324] [10 Regression] ICE with -Wall on constexpr if

2020-01-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93324 Marek Polacek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug fortran/92805] gfortran: blanks within literal constants should not be allowed

2020-01-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92805 --- Comment #7 from Thomas Koenig --- (In reply to kargl from comment #6) > No. I do not do git and have little time/need/interest > in learning. In that case, I hope you don't mind if I take this up. I'm just learning git myself (having

[Bug c++/93323] Internal Compiler Error in unify at cp/pt.c:22219

2020-01-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93323 Marek Polacek changed: What|Removed |Added Keywords||needs-reduction

[Bug fortran/92805] gfortran: blanks within literal constants should not be allowed

2020-01-19 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92805 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug c++/93324] New: [10 Regression] ICE with -Wall on constexpr if

2020-01-19 Thread gcc-bugs at marehr dot dialup.fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93324 Bug ID: 93324 Summary: [10 Regression] ICE with -Wall on constexpr if Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ipa/93322] [10 Regression] gcc.dg/tree-ssa/flatten-1.c ICEs with -fPIC

2020-01-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93322 --- Comment #2 from Andrew Pinski --- It worked with: gcc version 9.0.0 20181231 (experimental) g:c6579387bdc84adc76fbb0aa04e4942dd21d4ff0 Trying to do a git bisect right now.

[Bug ipa/93322] [10 Regression] gcc.dg/tree-ssa/flatten-1.c ICEs with -fPIC

2020-01-19 Thread pinskia at gcc dot gnu.org
--- I saw this while I was looking at my testsuite results; I test sometimes with -fPIC. gcc version 10.0.1 20200119 (experimental) [master revision 6a9a10407ef:19bdd6115e4:c7518183b8058b31d10a77bc0e2d392552ffbf0d] (GCC)

[Bug c++/93323] New: Internal Compiler Error in unify at cp/pt.c:22219

2020-01-19 Thread julius_huelsmann at freenet dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93323 Bug ID: 93323 Summary: Internal Compiler Error in unify at cp/pt.c:22219 Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ipa/93322] New: [10 Regression] gcc.dg/tree-ssa/flatten-1.c ICEs with -fPIC

2020-01-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93322 Bug ID: 93322 Summary: [10 Regression] gcc.dg/tree-ssa/flatten-1.c ICEs with -fPIC Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug tree-optimization/93321] New: Unlimited recursion in prepare_block_for_update

2020-01-19 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93321 Bug ID: 93321 Summary: Unlimited recursion in prepare_block_for_update Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: normal

[Bug target/93319] -mtls-dialect=gnu2 doesn't work for x32

2020-01-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93319 H.J. Lu changed: What|Removed |Added URL||https://gcc.gnu.org/ml/gcc-

[Bug fortran/91640] [9 Regression] ICE: gimplification failed (contiguous expr)

2020-01-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91640 Thomas Koenig changed: What|Removed |Added Summary|[9/10 Regression] ICE: |[9 Regression] ICE:

[Bug fortran/57711] Accepts non-matching invalid dummy procedure as actual argument

2020-01-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57711 Thomas Koenig changed: What|Removed |Added Status|NEW |WAITING CC|

[Bug fortran/92805] gfortran: blanks within literal constants should not be allowed

2020-01-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92805 --- Comment #5 from Thomas Koenig --- Hi Steve, > Index: gcc/fortran/primary.c > === > --- gcc/fortran/primary.c (revision 279052) > +++ gcc/fortran/primary.c (working

[Bug ipa/93318] [10 regression] Firefox LTO+FDO ICEs in speculative_call_info

2020-01-19 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93318 --- Comment #3 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:118aa5e31ce479bb81a003199b4c6ca0d997c9a2 commit r10-6074-g118aa5e31ce479bb81a003199b4c6ca0d997c9a2 Author: Jan Hubicka Date: Sun

[Bug libfortran/92836] segfault with inquire()

2020-01-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92836 --- Comment #16 from Thomas Koenig --- (In reply to Jerry DeLisle from comment #15) > Did we conclude that this is an expected race condition? > > I run the example comment 14 and it just hangs for me. It's certainly not mandated to work, but

[Bug target/71727] -O3 -mstrict-align produces code which assumes unaligned vector accesses work

2020-01-19 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71727 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #8 from

[Bug fortran/44960] non-array used as an array, identified as an external function

2020-01-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44960 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/93166] [10 Regression] ICE in get_info_about_necessary_edges, at ipa-cp.c:4137 since r278893

2020-01-19 Thread fxue at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93166 --- Comment #5 from fxue at gcc dot gnu.org --- To add a specialized class for tree lattices is a way, but will complicate the code. We can simple remove the assertion. And a one-file test case was made from original files.

[Bug lto/93166] [10 Regression] ICE in get_info_about_necessary_edges, at ipa-cp.c:4137 since r278893

2020-01-19 Thread fxue at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93166 --- Comment #4 from fxue at gcc dot gnu.org --- Created attachment 47676 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47676=edit all-in-one test case