This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/34973] Wno-strict-aliasing is not working



------- Comment #17 from awalton at gnome dot org  2008-05-03 14:57 -------
(In reply to comment #15)
> Whoops.  I can reproduce the
> 
> fm-directory-view.c:8887: error: dereferencing type-punned pointer will break
> strict-aliasing rules
> 
> errors with -O2.
> 

Yes, of course, that's what we were seeing. I should have said I was using -O2,
sorry for not pointing that out and for your quick work on this!


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]