+2012-01-05 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/51764
+ * common.opt (Wmudflap, fmudflap, fmudflapth, fmudflapir): Move
+ to c.opt.
+ * toplev.c (process_options): Reject combining mudflap and LTO.
+ * tree-nomudflap.c (nogo): Use sorry instead of internal_error.
+
2012-01-05 Richard Guenther <rguenther@suse.de>
PR tree-optimization/51760
+2012-01-05 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/51764
+ * c.opt (Wmudflap, fmudflap, fmudflapth, fmudflapir): Move here
+ from common.opt.
+
2011-12-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51316
C ObjC Var(warn_missing_prototypes) Warning
Warn about global functions without prototypes
+Wmudflap
+C ObjC C++ ObjC++ Var(warn_mudflap) Init(1) Warning
+Warn about constructs not instrumented by -fmudflap
+
Wmultichar
C ObjC C++ ObjC++ Warning
Warn about use of multi-character character constants
C ObjC C++ ObjC++ Var(flag_ms_extensions)
Don't warn about uses of Microsoft extensions
+fmudflap
+C ObjC C++ ObjC++ RejectNegative Report Var(flag_mudflap)
+Add mudflap bounds-checking instrumentation for single-threaded program
+
+fmudflapth
+C ObjC C++ ObjC++ RejectNegative Report Var(flag_mudflap,2)
+Add mudflap bounds-checking instrumentation for multi-threaded program
+
+fmudflapir
+C ObjC C++ ObjC++ RejectNegative Report Var(flag_mudflap_ignore_reads)
+Ignore read operations when inserting mudflap instrumentation
+
fname-mangling-version-
C++ ObjC++ Joined Ignore Warn(switch %qs is no longer supported)
Common Var(warn_missing_noreturn) Warning
Warn about functions which might be candidates for __attribute__((noreturn))
-Wmudflap
-Common Var(warn_mudflap) Init(1) Warning
-Warn about constructs not instrumented by -fmudflap
-
Woverflow
Common Var(warn_overflow) Init(1) Warning
Warn about overflow in arithmetic expressions
Common Report Var(flag_move_loop_invariants) Init(1) Optimization
Move loop invariant computations out of loops
-fmudflap
-Common RejectNegative Report Var(flag_mudflap)
-Add mudflap bounds-checking instrumentation for single-threaded program
-
-fmudflapth
-Common RejectNegative Report Var(flag_mudflap,2)
-Add mudflap bounds-checking instrumentation for multi-threaded program
-
-fmudflapir
-Common RejectNegative Report Var(flag_mudflap_ignore_reads)
-Ignore read operations when inserting mudflap instrumentation
-
fdce
Common Var(flag_dce) Init(1) Optimization
Use the RTL dead code elimination pass
"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
static void
nogo (void)
{
- internal_error ("mudflap: this language is not supported");
+ sorry ("mudflap: this language is not supported");
}
void