[Bug c++/31246] -Wunreachable-code warnings for compiler-generated code

manu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Aug 23 18:51:00 GMT 2008



------- Comment #25 from manu at gcc dot gnu dot org  2008-08-23 18:50 -------
This looks clearer to me. Maybe Jason or Mark have some idea where this code is
generated. It should be clear that it is compiler-generated and we can set
DECL_ARTIFICIAL or TREE_NO_WARNING. Then we just have to make sure to propagate
that. And finally, check it before warning.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Strange -Wunreachable-code  |-Wunreachable-code warnings
                   |warnings                    |for compiler-generated code


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



More information about the Gcc-bugs mailing list