[Bug optimization/12082] Inappropriate unreachable code warnings

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 27 21:57:00 GMT 2003


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.



More information about the Gcc-bugs mailing list