[Bug middle-end/36902] Array bound warning with dead code after optimization

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Aug 22 17:31:00 GMT 2008



------- Comment #19 from pinskia at gcc dot gnu dot org  2008-08-22 17:30 -------
(In reply to comment #18)
> I think that if the compiler knows that the code is never executed then, we
> shouldn't warn. 

It does but only later on in the optimization it knows that the code is dead.


-- 


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



More information about the Gcc-bugs mailing list