mirror of git://gcc.gnu.org/git/gcc.git
re PR bootstrap/44756 ([meta-bug] --enable-werror-always issues)
PR bootstrap/44756 * cppbuiltin.c: Include target.h . (define_builtin_macros_for_type_sizes): Use targetm.float_words_big_endian. From-SVN: r167234
This commit is contained in:
parent
437c232224
commit
f87c158e93
|
@ -13,6 +13,11 @@
|
||||||
* gimple.h: Don't include tm.h or hard-reg-set.h .
|
* gimple.h: Don't include tm.h or hard-reg-set.h .
|
||||||
* Makefile.in (GIMPLE_H): Remove $(TM_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>
|
2010-11-27 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
* dwarf2out.c (dwarf2out_begin_function): Set cold_text_section
|
* dwarf2out.c (dwarf2out_begin_function): Set cold_text_section
|
||||||
|
|
|
@ -28,6 +28,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "toplev.h"
|
#include "toplev.h"
|
||||||
#include "cpp-id-data.h"
|
#include "cpp-id-data.h"
|
||||||
#include "cppbuiltin.h"
|
#include "cppbuiltin.h"
|
||||||
|
#include "target.h"
|
||||||
|
|
||||||
|
|
||||||
/* Parse a BASEVER version string of the format "major.minor.patchlevel"
|
/* 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",
|
cpp_define_formatted (pfile, "__FLOAT_WORD_ORDER__=%s",
|
||||||
(FLOAT_WORDS_BIG_ENDIAN
|
(targetm.float_words_big_endian ()
|
||||||
? "__ORDER_BIG_ENDIAN__"
|
? "__ORDER_BIG_ENDIAN__"
|
||||||
: "__ORDER_LITTLE_ENDIAN__"));
|
: "__ORDER_LITTLE_ENDIAN__"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue