Re: [PATCH]Fix PR51867, in which gcc generates inconsistent code for same functions

2012-02-06 Thread Richard Guenther
On Sat, Feb 4, 2012 at 3:48 AM, Bin Cheng wrote: > Hi, > > Here is the patch fixing pr51867 by removing the redundant check on > DECL_ASSEMBLER_NAME_SET_P. > I also changed '-O0' to '-O1' in signbit-2.c and added a new test. > The new test case won't bite if target cpu does not support hardware sq

[PATCH]Fix PR51867, in which gcc generates inconsistent code for same functions

2012-02-03 Thread Bin Cheng
Hi, Here is the patch fixing pr51867 by removing the redundant check on DECL_ASSEMBLER_NAME_SET_P. I also changed '-O0' to '-O1' in signbit-2.c and added a new test. The new test case won't bite if target cpu does not support hardware sqrtf instruction. Tested on arm-eabi and x86, Is it OK? Than