[Bug tree-optimization/96058] ICE in c_getstr at gcc/fold-const.c:15475

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 6 07:19:30 GMT 2020


--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
We have an array type of an incomplete type which should be impossible.
Likewise a STRING_CST of array-of-struct type shouldn't exist either.  You
could instrument the LTO out-streaming code to detect this case and thus
identify the problematic source TU.

More information about the Gcc-bugs mailing list