[Bug middle-end/17544] [4.0 Regression] incorrect -Wunreachable-code warning for mains with a return statement

steven at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Dec 20 01:12:00 GMT 2004


------- Additional Comments From steven at gcc dot gnu dot org  2004-12-20 01:12 -------
>From pure annoyance with such a bug being unfixed for such a long 
time, I'll just take this on.  Probably putting a flag on the 
compiler generated return statement is enough to make this silly 
warning go away.... 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |steven at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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



More information about the Gcc-bugs mailing list