From feeb6596a18e42225d0f25a03b35c564d9a10ebb Mon Sep 17 00:00:00 2001 From: bstarynk Date: Wed, 1 Dec 2010 13:15:28 +0000 Subject: 2010-12-01 Basile Starynkevitch MELT branch merged with trunk rev 167323 2010-12-01 Basile Starynkevitch {{merged with trunk rev 167323, and regenerated}} * melt/generated/warmelt-normatch.0+01.c: Regenerate. * melt/generated/warmelt-first.0.c: Regenerate. * melt/generated/warmelt-normal.0.c: Regenerate. * melt/generated/warmelt-normatch.0+03.c: Regenerate. * melt/generated/warmelt-macro.0.c: Regenerate. * melt/generated/warmelt-outobj.0.c: Regenerate. * melt/generated/warmelt-genobj.0.c: Regenerate. * melt/generated/warmelt-normal.0+01.c: Regenerate. * melt/generated/warmelt-normal.0+02.c: Regenerate. * melt/generated/warmelt-base.0.c: Regenerate. * melt/generated/warmelt-normatch.0.c: Regenerate. * melt/generated/warmelt-genobj.0+01.c: Regenerate. * melt/generated/warmelt-genobj.0+03.c: Regenerate. * melt/generated/warmelt-genobj.0+04.c: Regenerate. * melt/generated/warmelt-debug.0.c: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@167327 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cgraphunit.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gcc/cgraphunit.c') diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index c7c566540f0..04a69f34d24 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -844,7 +844,7 @@ process_function_and_variable_attributes (struct cgraph_node *first, } if (TARGET_DLLIMPORT_DECL_ATTRIBUTES && lookup_attribute ("dllexport", DECL_ATTRIBUTES (decl)) - && TREE_PUBLIC (node->decl)) + && TREE_PUBLIC (vnode->decl)) { if (vnode->finalized) varpool_mark_needed_node (vnode); @@ -1707,7 +1707,11 @@ ipa_passes (void) invoke_plugin_callbacks (PLUGIN_ALL_IPA_PASSES_START, NULL); if (!in_lto_p) - execute_ipa_pass_list (all_small_ipa_passes); + { + execute_ipa_pass_list (all_small_ipa_passes); + if (seen_error ()) + return; + } /* If pass_all_early_optimizations was not scheduled, the state of the cgraph will not be properly updated. Update it now. */ -- cgit v1.2.1