This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12082] Inappropriate unreachable code warnings
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Aug 2003 21:57:05 -0000
- Subject: [Bug optimization/12082] Inappropriate unreachable code warnings
- References: <20030827203936.12082.augart@us.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12082
------- Additional Comments From bangerth at dealii dot org 2003-08-27 21:57 -------
I can confirm this, the warnings are clearly bogus. Slightly changing the code makes
the locations of the problem go away or move randomly. It takes someone with some
more time than me right now to reduce this, though.
One of the things that startle me is that it reports warnings in functions with the wrong
name (i.e. it says the problem is in function "main", but the given line number is in
another function). Maybe this has something to do with inlining then.
W.