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 #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


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