diff options
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 697c6bc..a70c09f 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -4060,7 +4060,7 @@ optimize_inline_calls (tree fn) /* There is no point in performing inlining if errors have already occurred -- and we might crash if we try to inline invalid code. */ - if (errorcount || sorrycount) + if (seen_error ()) return 0; /* Clear out ID. */ |