OSDN Git Service

* regstack.c (reg_to_stack): When in 64bit PIC mode, we still can load
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Mar 2007 14:02:00 +0000 (14:02 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Mar 2007 14:02:00 +0000 (14:02 +0000)
NANs easilly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122619 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/reg-stack.c

index 60b9530..55c90f4 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-06  Jan Hubicka  <jh@suse.cz>
+
+       * regstack.c (reg_to_stack): When in 64bit PIC mode, we still can load
+       NANs easilly.
+
 2007-03-06  Richard Sandiford  <richard@codesourcery.com>
 
        * configure.ac: Allow tm_file to contain build-directory files.
index f21d833..7a7a0e5 100644 (file)
@@ -3141,7 +3141,7 @@ reg_to_stack (void)
      the PIC register hasn't been set up.  In that case, fall back
      on zero, which we can get from `ldz'.  */
 
-  if (flag_pic)
+  if (flag_pic && !TARGET_64BIT)
     not_a_num = CONST0_RTX (SFmode);
   else
     {