diff options
author | Jan Hubicka <jh@suse.cz> | 2008-06-18 16:07:00 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2008-06-18 14:07:00 +0000 |
commit | fdd7f24186c7cd637e24c657367f270afb3ec431 (patch) | |
tree | 878438cf2cf81bfdb9c8550a7066b87ba738e0eb /gcc/cgraphunit.c | |
parent | d28480827e3674794d7d6793148c737d491bc9ba (diff) | |
download | gcc-fdd7f24186c7cd637e24c657367f270afb3ec431.zip gcc-fdd7f24186c7cd637e24c657367f270afb3ec431.tar.gz gcc-fdd7f24186c7cd637e24c657367f270afb3ec431.tar.bz2 |
cgraphunit.c (cgraph_expand_pending_functions): Give up at syntax errors.
* cgraphunit.c (cgraph_expand_pending_functions): Give up at
syntax errors.
(cgraph_analyze_function): Likewise.
* gcc.dg/asm-wide-1.c: Do not require extra errors we output
confused by earlier errors.
* gcc.target/i386/sseregparm-2.c: Remove markers for errors not
output at parsing time.
* gcc.target/i386/sseregparm-8.c: Move here compile time errors
from gcc.target/i386/sseregparm-2.c.
* gcc.dg/weak/weak-6.c: Do not require extra errors we output
confused by earlier errors.
* gcc.dg/weak/weak-7.c: Likewise.
From-SVN: r136895
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index dec2213..b03913d 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -496,7 +496,7 @@ cgraph_assemble_pending_functions (void) { bool output = false; - if (flag_unit_at_a_time) + if (flag_unit_at_a_time || errorcount || sorrycount) return false; cgraph_output_pending_asms (); @@ -857,7 +857,7 @@ cgraph_analyze_function (struct cgraph_node *node) cgraph_lower_function (node); node->analyzed = true; - if (!flag_unit_at_a_time) + if (!flag_unit_at_a_time && !sorrycount && !errorcount) { bitmap_obstack_initialize (NULL); tree_register_cfg_hooks (); |