]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/37094 (Ada build broken for i586)
authorJan Hubicka <jh@suse.cz>
Sat, 23 Aug 2008 20:02:08 +0000 (22:02 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 23 Aug 2008 20:02:08 +0000 (20:02 +0000)
PR target/37094
* i386.c (standard_80387_constant_p): Use optimize_size.

From-SVN: r139522

gcc/ChangeLog
gcc/config/i386/i386.c

index 1e1deebced5dc2dee52de948e77c64945d4eb7ad..0a08808d220340a9517bcf154e47ffb2ec180330 100644 (file)
@@ -1,3 +1,8 @@
+2008-08-23  Jan Hubicka  <jh@suse.cz>
+
+       PR target/37094
+       * i386.c (standard_80387_constant_p): Use optimize_size.
+
 2008-08-23  Ira Rosen  <irar@il.ibm.com>
 
        PR tree-optimization/37161
index b7561c3002ac7483f678664852edda3b0230bc5d..2f0392bfa726d1b73621f948f56e2121a706a93f 100644 (file)
@@ -6692,7 +6692,7 @@ standard_80387_constant_p (rtx x)
   /* For XFmode constants, try to find a special 80387 instruction when
      optimizing for size or on those CPUs that benefit from them.  */
   if (mode == XFmode
-      && (optimize_insn_for_size_p () || TARGET_EXT_80387_CONSTANTS))
+      && (optimize_size || TARGET_EXT_80387_CONSTANTS))
     {
       int i;