diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-01 13:15:28 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-01 13:15:28 +0000 |
commit | feeb6596a18e42225d0f25a03b35c564d9a10ebb (patch) | |
tree | 7e6fb5e50aa3f901480410fc04ba058b6f0e94fa /gcc/cgraphunit.c | |
parent | acc16a01c06415b69d0a54c9e86f4ec72665ee54 (diff) | |
download | gcc-feeb6596a18e42225d0f25a03b35c564d9a10ebb.tar.gz |
2010-12-01 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 167323
2010-12-01 Basile Starynkevitch <basile@starynkevitch.net>
{{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
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 8 |
1 files changed, 6 insertions, 2 deletions
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. */ |