This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/23135] New: find_reloads_toplev -> find_reloads_subreg_address uses wrong reload type
- From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jul 2005 15:27:00 -0000
- Subject: [Bug middle-end/23135] New: find_reloads_toplev -> find_reloads_subreg_address uses wrong reload type
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I've added a movti expander to sh.md, and found a regression for -m4 -ml
on simd-1.c with optimization options -O1, -O2, -O3 and -Os .
I've foun that a output reload address was being overwritten by
a secondary output reload.
The secondary output reload had RELOAD_FOR_OUTPUT_ADDRESS, and the
address reload had RELOAD_FOR_OUTADDR_ADDRESS, both for the same
operand. In the absence of a seond RELOAD_FOR_OUTPUT_ADDRESS
reload, these types are not supposed to conflict. The output
address reload should have used RELOAD_FOR_OUTPUT_ADDRESS.
--
Summary: find_reloads_toplev -> find_reloads_subreg_address uses
wrong reload type
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: amylaar at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23135