This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug regression/55451] [4.8 regression] FAIL: gcc.dg/fixed-point/unary.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]