http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50643
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-01 00:56:52 UTC --- Well in 4.6 and above say which warning option is used for the error message but that still does not help when some warnings are turned into errors. How can you tell the difference between a warning and an error message if the warning is turned on by default?