------- Comment #1 from rguenth at gcc dot gnu dot org 2010-04-30 10:44 ------- We fail the DECL_ASSEMBLER_NAME_SET_P (decl) check. The function declaration in question is an implicit one at the point of its use (which means that we likely do not get a cgraph node for it at LTO dump time).
Testcase: static void expand_stmt_with_iterators_1 (void) { expand_expr_stmt (); } void iterator_expand (void) { expand_stmt_with_iterators_1 (); } > ./xgcc -B. c-iterate.3.i -O2 -fprofile-generate -flto -r -nostdlib lto1: internal compiler error: in lto_symtab_register_decl, at lto-symtab.c:137 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-04-30 10:44:06 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43946