[Bug lto/88112] [9 regression] ICE in lto1: TYPE_FIELDS defined in incomplete type

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 21 14:08:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88112

--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
(> So short of avoiding the streaming of trees that are only targets
> of abstract origins (the idea of streaming those as references to
> DIEs rather than references to trees) a pragmatic "fix" is to
> simply allow CALL_EXPRs to be streamed which fixes this testcase

This sounds heavy though.  If the C++ front-end cannot be changed to resetting
the problematic size expressions, then maybe restrict your PR lto/87229 change
to local types.


More information about the Gcc-bugs mailing list