diff options
Diffstat (limited to 'gcc/toplev.c')
| -rw-r--r-- | gcc/toplev.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 53fcdfe..0f24ce3 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1040,10 +1040,14 @@ compile_file (void) what's left of the symbol table output. */ timevar_pop (TV_PARSE); - if (flag_syntax_only || errorcount || sorrycount) + if (flag_syntax_only) return; lang_hooks.decls.final_write_globals (); + + if (errorcount || sorrycount) + return; + cgraph_varpool_assemble_pending_decls (); finish_aliases_2 (); |
