[Bug tree-optimization/21855] array bounds checking elimination
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 10 15:43:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21855
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
--- Comment #13 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-10 15:42:47 UTC ---
We can't optimize this because System.out.println can change args[]. Thus
the testcase is too simple to be useful (and no, we are not treating
program arguments special - I doubt that would be useful, nor would it be
easily possible).
More information about the Java-prs
mailing list