This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/7827] incorrect warning "will never be executed" when optimizing
- 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: 29 Jun 2004 02:39:10 -0000
- Subject: [Bug c++/7827] incorrect warning "will never be executed" when optimizing
- References: <20020904094601.7827.duchier@ps.uni-sb.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-29 02:39 -------
It could be well the warning is correct for your code, see the other bugs which have to deal with "will
never be executed". Some of them have to deal with inlining functions which causes the warning to
happen because it is correct warning for that call site that was inlined.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7827