This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33732] gcc.c-torture/execute/longlong.c execution at -O3
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2007 01:30:03 -0000
- Subject: [Bug tree-optimization/33732] gcc.c-torture/execute/longlong.c execution at -O3
- References: <bug-33732-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca 2007-10-22 01:30 -------
Subject: Re: gcc.c-torture/execute/longlong.c
execution at -O3
Things appear to go wrong in the greg pass:
(insn 73 133 70 4
/home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gcc.c-torture/execute
/longlong.c:19 (set (reg:SI 21 %r21 [orig:154+4 ] [154])
(lshiftrt:SI (reg:SI 28 %r28 [141])
(reg:SI 88 SAR))) 190 {lshrsi3} (nil))
(insn 70 73 134 4
/home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gcc.c-torture/execute
/longlong.c:19 (set (reg:SI 21 %r21)
(minus:SI (const_int 31 [0x1f])
(reg:SI 22 %r22 [orig:137+4 ] [137]))) 119 {*pa.md:5698} (nil))
The use of register r21 in insn 73 is clobbered by the use in insn 70.
Dave
------- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca 2007-10-22 01:30 -------
Created an attachment (id=14383)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14383&action=view)
------- Comment #7 from dave at hiauly1 dot hia dot nrc dot ca 2007-10-22 01:30 -------
Created an attachment (id=14384)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14384&action=view)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33732