[Bug c++/31246] Strange -Wunreachable-code warning with _GLIBCXX_DEBUG

gdr at cs dot tamu dot edu gcc-bugzilla@gcc.gnu.org
Mon Mar 19 22:45:00 GMT 2007



------- Comment #12 from gdr at cs dot tamu dot edu  2007-03-19 22:45 -------
Subject: Re:  Strange -Wunreachable-code warning with _GLIBCXX_DEBUG

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| (In reply to comment #10)
| > 
| > I fully agree.
| 
| I am not agreeing fully,

Well, you've got a problem.

[...]

| What about this case:

There is a distinction betwen user code and compiler-generated codes.
Warning about compiler-generated codes is pointless.

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31246



More information about the Gcc-bugs mailing list