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: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 May 2008 14:05:31 -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 #14 from rguenth at gcc dot gnu dot org 2008-05-03 14:05 -------
This doesn't lookk like the strict-aliasing warning though, but
gcc-4.3 -S t.i -o /dev/null -Wall -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wcast-align -Werror -Wno-pointer-sign
-Wno-strict-aliasing -m64
cc1: warnings being treated as errors
fm-directory-view.c: In function ?file_and_directory_hash?:
fm-directory-view.c:521: error: cast from pointer to integer of different size
fm-directory-view.c:521: error: cast from pointer to integer of different size
fm-directory-view.c: In function ?remove_not_really_moved_files?:
fm-directory-view.c:2445: error: cast from pointer to integer of different size
(works fine for me without -m64 / with -m32). You can use
-Wno-pointer-to-int-cast to disable this particular warning.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34973