------- Comment #2 from hp at gcc dot gnu dot org 2005-11-09 02:30 -------
Created an attachment (id=10182)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10182&action=view)
Compile with -Os
Note the brittleness of the test-case. Apparently there's a bug, PR 20656,
causing the empty, seemingly-reducible, sometimes redundant for-loops aren't
gone when RTL is generated and can't be replaced with a single assignment
without causing the test-case to PASS. For example,
the "for (i = 1; i <= u0; i++) { }" loop can't be removed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24750