https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83100
Bug ID: 83100 Summary: [8 Regression] powerpc: internal compiler error: in get_variable_section, at varasm.c:1150 with -fdata-sections Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: bunk at stusta dot de Target Milestone: --- Created attachment 42676 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42676&action=edit preprocessed source (from nss-3.34) $ gcc-7 -c -O1 -fdata-sections pkix_errpaths.i $ gcc-8 -c -O1 -fdata-sections pkix_errpaths.i pkix_errpaths.c:102:1: internal compiler error: in get_variable_section, at varasm.c:1150 } ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions. $ gcc-8 --version gcc-8 (Debian 8-20171108-1) 8.0.0 20171108 (experimental) [trunk revision 254551] ... Works with -O0, ICE with >= -O1. Reproduced on 64bit little endian and 32bit big endian powerpc.