http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48979
--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-05-12 20:36:05 UTC --- (In reply to comment #7) > + return range_check (result, "FRACTION"); Can we additionally add to the range_check() error messages a note like "This check can be disabled with the option -fno-range-check"? We already did so at several places. I think without, one does not know that one can easily disable it. An alternative would be to switch to the middle-end way of showing warning messages: warning: unused variable 'x' [-Wunused-variable] Analogously, the error could then be "[-frange-check]".