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).