diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-29 04:38:21 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-29 04:38:21 +0000 |
commit | 7a45b3f9d774b362afe2d9e6719dd1bf21e6b621 (patch) | |
tree | 51e905f08c33cf8c7437ebd69ea08499f538dc99 /gcc/cppbuiltin.c | |
parent | b3d2d31213e2b3d34a5ae67b01c667a23e25afa4 (diff) | |
download | gcc-7a45b3f9d774b362afe2d9e6719dd1bf21e6b621.tar.gz |
PR bootstrap/44756
* 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
Diffstat (limited to 'gcc/cppbuiltin.c')
-rw-r--r-- | gcc/cppbuiltin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cppbuiltin.c b/gcc/cppbuiltin.c index ee00de5d468..b21995cdb9e 100644 --- a/gcc/cppbuiltin.c +++ b/gcc/cppbuiltin.c @@ -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__")); |