This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37881] -Wunreachable-code warns for system headers macros
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Oct 2008 01:49:25 -0000
- Subject: [Bug c/37881] -Wunreachable-code warns for system headers macros
- References: <bug-37881-12833@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pinskia at gcc dot gnu dot org 2008-10-27 01:49 -------
This requires us to record that the macros came from system headers and so did
the expansion.
Also -Wunreachable-code is useless for most cases in general because of
inlining and such.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
GCC build triplet|x86_64-pc-linux-gnu |
GCC host triplet|x86_64-pc-linux-gnu |
GCC target triplet|x86_64-pc-linux-gnu |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37881