[PATCH]: Add some more builtins opts for sqrt/cbrt

John David Anglin dave@hiauly1.hia.nrc.ca
Wed Apr 7 14:56:00 GMT 2004


The following tests are failing under hppa-unknown-linux-gnu:

FAIL: gcc.dg/torture/builtin-power-1.c  -O0  (test for excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c  -O1  (test for excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c  -O3 -fomit-frame-pointer  (test for exce
ss errors)
FAIL: gcc.dg/torture/builtin-power-1.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/torture/builtin-power-1.c  -Os  (test for excess errors)

On hppa-linux, DOUBLE_TYPE_SIZE and LONG_DOUBLE_TYPE_SIZE are currently
the same size (as defined in defaults.h).  It has C99 functions.

I removed the long double tests from builtin-power-1.c and the tests
then pass.  I think this points to a problem with the builtins when two
types (double and long double) have the same size.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the Gcc-patches mailing list