[Bug c++/87554] [8 Regression] internal compiler error: in record_reference, at cgraphbuild.c:64
hubicka at ucw dot cz
gcc-bugzilla@gcc.gnu.org
Thu Apr 18 17:16:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87554
--- Comment #11 from Jan Hubicka <hubicka at ucw dot cz> ---
> > The constructor indeed looks broken to me: it should not have naked
> > var_decl. So I am changing component to C++
>
> I agree that the C++ front end is wrong here, but I also wonder why cgraph is
> looking at the DECL_INITIAL of a DECL_EXTERNAL variable.
Well, at least for constant variables those are useful for contant
folding. But I suppose we may take care to get rid of decl initials
of non-readonly externals somewhere soon (we do it eventually as part
of unreachable code removal)
Honza
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
More information about the Gcc-bugs
mailing list