Patch: New implementation of -Wstrict-aliasing

Benjamin Kosnik bkoz@redhat.com
Thu Feb 1 17:25:00 GMT 2007


 > > I much like this scheme where higher levels give more accurate
 > > diagnostic, and still level room for improvement did we need to add
 > > more levels (I hope that need would not be frequent, still).

I've got to say it: me too. I really like the idea of verbosity control.

A lot of the warnings that are tricky and diagnostic in nature should
have this IMHO. (-Wabi=2, -Weffc++, etc.)

Now if we could just get:

-Wfortify
-Wpedantic=1-10

  ;)

 > > Many thanks for doing this.

Yep. This is great.

-benjamin



More information about the Gcc-patches mailing list