[Bug c/37881] -Wunreachable-code warns for system headers macros
flameeyes at gentoo dot org
gcc-bugzilla@gcc.gnu.org
Tue Oct 21 23:49:00 GMT 2008
------- Comment #6 from flameeyes at gentoo dot org 2008-10-21 23:48 -------
Created an attachment (id=16525)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16525&action=view)
Preprocessed test case
That's because I forgot to turn on -O2 :/
tc-htons-unrechable.c: In function âÂÂmy_htonsâÂÂ:
tc-htons-unrechable.c:5:10: warning: will never be executed
[-Wunreachable-code]
this is the warning that it throws.
--
flameeyes at gentoo dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #16524|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37881
More information about the Gcc-bugs
mailing list