This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/24750] [4.1 regression] global-alloc (reload) trips over own confusion for unexpected addressing modes
- From: "hp at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Nov 2005 02:30:54 -0000
- Subject: [Bug middle-end/24750] [4.1 regression] global-alloc (reload) trips over own confusion for unexpected addressing modes
- References: <bug-24750-507@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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