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

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 23 01:16:00 GMT 2008



------- Comment #11 from paolo dot carlini at oracle dot com  2008-07-23 01:16 -------
Thanks. Actually, I think the experiment would be more meaningful if you could
put also the equivalent of your main (a calling function, that is) inside the
header, because in your testcase the warning is triggered inside the main, not
in foo.

If you can, in your spare time, of course.


-- 


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



More information about the Gcc-bugs mailing list