This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/55451] [4.8 regression] FAIL: gcc.dg/fixed-point/unary.c
- From: "gretay at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 30 Nov 2012 17:34:44 +0000
- Subject: [Bug regression/55451] [4.8 regression] FAIL: gcc.dg/fixed-point/unary.c
- Auto-submitted: auto-generated
- References: <bug-55451-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55451
--- Comment #3 from gretay at gcc dot gnu.org 2012-11-30 17:34:44 UTC ---
I am entirely following the explanation of the failure, but the patch fixes the
testsuite regression and the assembly generated for libgcc/_ssnegSQ.o seems
correct:
00000000 <__gnu_ssnegsq2>:
0: e3500000 cmp r0, #0
4: e2600000 rsb r0, r0, #0
8: a12fff1e bxge lr
c: e3500000 cmp r0, #0
10: b3e00102 mvnlt r0, #-2147483648 ; 0x80000000
14: e12fff1e bx lr
Thanks,
Greta