From: adam Date: Wed, 10 Mar 2004 13:14:09 +0000 (+0000) Subject: make g++ ignore the inhibit-reflection flag X-Git-Tag: RC3^0 X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=a70c7215857c5547de80d25f4621510b20ae30c9 make g++ ignore the inhibit-reflection flag darcs-hash:20040310131409-5007d-b19b883f88e667d192c5f9227e36a4ae5661ec07.gz --- diff --git a/upstream/gcc-3.3/patches/zzz-inhibit.reflection.patch b/upstream/gcc-3.3/patches/zzz-inhibit.reflection.patch index ab61e94..b964849 100644 --- a/upstream/gcc-3.3/patches/zzz-inhibit.reflection.patch +++ b/upstream/gcc-3.3/patches/zzz-inhibit.reflection.patch @@ -735,3 +735,22 @@ diff -rBub libjava/prims.cclibjava/prims.cc _Jv_GCInitializeFinalizers (&::gnu::gcj::runtime::FinalizerThread::finalizerReady); +--- gcc/toplev.c Mon May 5 14:55:26 2003 ++++ gcc/toplev.c Wed Mar 10 05:10:33 2004 +@@ -975,6 +975,7 @@ + if `-fSTRING' is seen as an option. + (If `-fno-STRING' is seen as an option, the opposite value is stored.) */ + ++static int ignoreme; + static const lang_independent_options f_options[] = + { + {"eliminate-dwarf2-dups", &flag_eliminate_dwarf2_dups, 1, +@@ -1188,6 +1189,8 @@ + N_("Trap for signed overflow in addition / subtraction / multiplication") }, + { "new-ra", &flag_new_regalloc, 1, + N_("Use graph coloring register allocation.") }, ++ { "inhibit-reflection", &ignoreme, 1, ++ N_("ignored.") }, + }; + + /* Table of language-specific options. */