]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR bootstrap/44756
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 2010 04:38:21 +0000 (04:38 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 2010 04:38:21 +0000 (04:38 +0000)
* cppbuiltin.c: Include target.h .
(define_builtin_macros_for_type_sizes):
Use targetm.float_words_big_endian.

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

gcc/ChangeLog
gcc/cppbuiltin.c

index c20e57e9928cc566ba1e83ccd03a4398b74de367..1bc7228eb1d439e03d5f33c89986bf3d36d345ca 100644 (file)
        * gimple.h: Don't include tm.h or hard-reg-set.h .
        * Makefile.in (GIMPLE_H): Remove $(TM_H).
 
+       PR bootstrap/44756
+       * cppbuiltin.c: Include target.h .
+       (define_builtin_macros_for_type_sizes):
+       Use targetm.float_words_big_endian.
+
 2010-11-27  Jan Hubicka  <jh@suse.cz>
 
        * dwarf2out.c (dwarf2out_begin_function): Set cold_text_section
index ee00de5d4682b62b38928b81e644b9459b89b090..b21995cdb9e253c7019fde41bef9182cdab608d6 100644 (file)
@@ -28,6 +28,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "toplev.h"
 #include "cpp-id-data.h"
 #include "cppbuiltin.h"
+#include "target.h"
 
 
 /* Parse a BASEVER version string of the format "major.minor.patchlevel"
@@ -158,7 +159,7 @@ define_builtin_macros_for_type_sizes (cpp_reader *pfile)
     }
 
   cpp_define_formatted (pfile, "__FLOAT_WORD_ORDER__=%s",
-                        (FLOAT_WORDS_BIG_ENDIAN
+                        (targetm.float_words_big_endian ()
                          ? "__ORDER_BIG_ENDIAN__"
                          : "__ORDER_LITTLE_ENDIAN__"));