------- Comment #5 from rguenth at gcc dot gnu dot org  2006-06-19 21:04 -------
Created an attachment (id=11706)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11706&action=view)
warn for bad casts hiding type-punning

At suse we used the attached patch to teach packagers not "fix" strict aliasing
warnings by introducing a (void *) cast inbetween.  Sort of a compromise
between too much false positives and catching all evil use.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28073

Reply via email to