diff options
author | Richard Guenther <rguenther@suse.de> | 2006-10-09 16:10:38 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2006-10-09 16:10:38 +0000 |
commit | 5771bd91eccb16e766ed13f533bdb4695c705da7 (patch) | |
tree | b925af300345e743bbc19d811c98bee55425729c /gcc/cgraphunit.c | |
parent | e64f5acfafe9a0e1842716d80e12dd0d2b075435 (diff) | |
download | gcc-5771bd91eccb16e766ed13f533bdb4695c705da7.zip gcc-5771bd91eccb16e766ed13f533bdb4695c705da7.tar.gz gcc-5771bd91eccb16e766ed13f533bdb4695c705da7.tar.bz2 |
re PR middle-end/29254 (verify_cgraph_node failed (inlined_to pointer is set but no predecessors found))
2006-10-09 Richard Guenther <rguenther@suse.de>
PR middle-end/29254
* cgraphunit.c (verify_cgraph_node): Bail out on earlier
errors.
* gcc.dg/pr29254.c: New testcase.
From-SVN: r117577
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 94a4044..6b3cab0 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -694,6 +694,9 @@ verify_cgraph_node (struct cgraph_node *node) block_stmt_iterator bsi; bool error_found = false; + if (errorcount || sorrycount) + return; + timevar_push (TV_CGRAPH_VERIFY); for (e = node->callees; e; e = e->next_callee) if (e->aux) |