[Bug c/77754] [5/6/7 Regression] internal compiler error : tree code 'call_expr' is not supported in LTO streams

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 27 10:39:00 GMT 2016


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|lto                         |c
   Target Milestone|---                         |5.5

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
The issue is we fail to gimplify type sizes properly:

fn1 ()
{
  extern void fn2 (int[0:(sizetype) ((long int) SAVE_EXPR <fn3 ()> + -1)] *);


}

happens when we try to output the function type of fn2.  Bug in the frontend,
a DECL_EXPR is missing here.


More information about the Gcc-bugs mailing list