This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/34973] Wno-strict-aliasing is not working
- From: "awalton at gnome dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 May 2008 14:57:41 -0000
- Subject: [Bug middle-end/34973] Wno-strict-aliasing is not working
- References: <bug-34973-13841@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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