Created attachment 33518 [details] Preprocessed testcase I get an ICE in ipa-comdats.c:371 when compiling system_error.cc from libstdc++: gcc -nostdinc++ -std=gnu++11 -fno-implicit-templates -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=system_error.lo -g -Os -c -fPIC foo.ii
Confirmed (I've see a dup of this?).
Works for me now; most probably dup of *** This bug has been marked as a duplicate of bug 61324 ***
Confirmed: https://gcc.gnu.org/viewcvs?rev=218640&root=gcc&view=rev has fixed the bug that I was seeing.