make g++ ignore the inhibit-reflection flag RC3
authoradam <adam@megacz.com>
Wed, 10 Mar 2004 13:14:09 +0000 (13:14 +0000)
committeradam <adam@megacz.com>
Wed, 10 Mar 2004 13:14:09 +0000 (13:14 +0000)
darcs-hash:20040310131409-5007d-b19b883f88e667d192c5f9227e36a4ae5661ec07.gz

upstream/gcc-3.3/patches/zzz-inhibit.reflection.patch

index ab61e94..b964849 100644 (file)
@@ -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.  */