[llvm-commits] [dragonegg] r133397 - /dragonegg/trunk/src/Backend.cpp
Duncan Sands
baldrick at free.fr
Sun Jun 19 09:19:43 PDT 2011
Author: baldrick
Date: Sun Jun 19 11:19:43 2011
New Revision: 133397
URL: http://llvm.org/viewvc/llvm-project?rev=133397&view=rev
Log:
The IPA early inline pass was removed in gcc-4.6.
Modified:
dragonegg/trunk/src/Backend.cpp
Modified: dragonegg/trunk/src/Backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Backend.cpp?rev=133397&r1=133396&r2=133397&view=diff
==============================================================================
--- dragonegg/trunk/src/Backend.cpp (original)
+++ dragonegg/trunk/src/Backend.cpp Sun Jun 19 11:19:43 2011
@@ -2100,12 +2100,14 @@
// Leave pass_ipa_function_and_variable_visibility. Needed for correctness.
+#if (GCC_MINOR < 6)
// Turn off pass_ipa_early_inline.
pass_info.pass = &pass_simple_ipa_null.pass;
pass_info.reference_pass_name = "einline_ipa";
pass_info.ref_pass_instance_number = 0;
pass_info.pos_op = PASS_POS_REPLACE;
register_callback (plugin_name, PLUGIN_PASS_MANAGER_SETUP, NULL, &pass_info);
+#endif
// Leave pass_ipa_free_lang_data.
More information about the llvm-commits
mailing list