https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87438
--- Comment #2 from Zach van Rijn ---
Using GCC 8-20180706 snapshot,
gcc -c -O2 -fPIC grapes.c
during RTL pass: reload
grapes.c: In function 'smaxval_r8':
grapes.c:57:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1155
}
^
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87438
--- Comment #1 from Zach van Rijn ---
Created attachment 46699
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46699=edit
Test case. Triggers bug on 8.x to at least 10-20190721.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89012
--- Comment #5 from Zach van Rijn ---
Created attachment 45546
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45546=edit
All files produced by -O2 -da
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89012
--- Comment #4 from Zach van Rijn ---
The error can be reproduced at `O1` optimization level with both
(strictly both) of the following options:
./cc -c mintest.c -O1 -freorder-blocks-algorithm=stc -ftree-pre
Changing to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89012
--- Comment #3 from Zach van Rijn ---
Created attachment 45545
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45545=edit
Tarball containing intermediate asm (with -dp) for each of 5 cases.
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: me at zv dot io
Target Milestone: ---
Code generated by gcc targeting `sh2eb-linux-musl` occasionally
contains duplicate symbols with optimization level `O2` or above
and produces the following errors during
: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: me at zv dot io
Target Milestone: ---
Created attachment 44752
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44752=edit
Build log with -j1 for clarity.
Attempting to build GCC 8.2.0 with the following fl