This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49781] [x32] Unnecessary lea in x32 mode
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 7 Aug 2011 07:31:33 +0000
- Subject: [Bug target/49781] [x32] Unnecessary lea in x32 mode
- Auto-submitted: auto-generated
- References: <bug-49781-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49781
--- Comment #28 from Uros Bizjak <ubizjak at gmail dot com> 2011-08-07 07:31:06 UTC ---
Reduced testcase:
--cut here--
void test (__int128 *array, int idx, int off)
{
__int128 *dest = &array [idx];
dest[0] += 1;
dest[off] = 0;
}
--cut here--
$ cc1 -O2 -mx32 -quiet t.c
t.c: In function âtestâ:
t.c:7:1: error: insn does not satisfy its constraints:
(insn 20 10 11 2 (set (reg:TI 2 cx)
(mem:TI (zero_extend:DI (reg:SI 4 si [71])) [2 *dest_5+0 S16 A128]))
t.c:5 60 {*movti_internal_rex64}
(nil))
t.c:7:1: internal compiler error: in reload_cse_simplify_operands, at
postreload.c:403
Please submit a full bug report,
...