OSDN Git Service

Backport from mainline
[pf3gnuchains/gcc-fork.git] / gcc / toplev.c
index efce98f..c145af4 100644 (file)
@@ -1325,6 +1325,9 @@ process_options (void)
           "and -ftree-loop-linear)");
 #endif
 
+  if (flag_mudflap && flag_lto)
+    sorry ("mudflap cannot be used together with link-time optimization");
+
   /* One region RA really helps to decrease the code size.  */
   if (flag_ira_region == IRA_REGION_AUTODETECT)
     flag_ira_region
@@ -1332,7 +1335,7 @@ process_options (void)
 
   if (flag_strict_volatile_bitfields > 0 && !abi_version_at_least (2))
     {
-      warning (0, "-fstrict-volatile-bitfield disabled; "
+      warning (0, "-fstrict-volatile-bitfields disabled; "
               "it is incompatible with ABI versions < 2");
       flag_strict_volatile_bitfields = 0;
     }