diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2010-07-23 18:32:25 +0000 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2010-07-23 20:32:25 +0200 |
commit | 9b91e43610f57cf94497ae45c4e424d68c7371f0 (patch) | |
tree | ffbcaa87745a690fdcac1766d8e4a154926ba972 /gcc/config.gcc | |
parent | 16c9d3b171f9e89b23d58db8ab05efa3e4cea872 (diff) | |
download | gcc-9b91e43610f57cf94497ae45c4e424d68c7371f0.zip gcc-9b91e43610f57cf94497ae45c4e424d68c7371f0.tar.gz gcc-9b91e43610f57cf94497ae45c4e424d68c7371f0.tar.bz2 |
re PR preprocessor/41943 (include search path composition is bogus)
2010-07-23 Kai Tietz <kai.tietz@onevision.com>
PR target/41943
* Makefile.in (USER_H_INC_NEXT_PRE,
USER_H_INC_NEXT_POST): New.
(stmp-int-hdrs): Prefix/postfix headers by include_next.
* config.gcc (user_headers_inc_next_pre): New.
(user_headers_inc_next_post): Likewise.
(*-w64-mingw*): Use for float.h post-fixing, and for
stddef.h/stdarg.h pre-fixing by include_next.
* configure.ac (user_headers_inc_next_post): New.
(user_headers_inc_next_pre): New.
* configure: Regenerated.
From-SVN: r162479
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 12b245d..eef0942 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -101,6 +101,12 @@ # extra_headers List of used header files from the directory # config/${cpu_type}. # +# user_headers_inc_next_pre +# List of header file names of internal gcc header +# files, which should be prefixed by an include_next. +# user_headers_inc_next_post +# List of header file names of internal gcc header +# files, which should be postfixed by an include_next. # use_gcc_tgmath If set, add tgmath.h to the list of used header # files. # @@ -171,6 +177,8 @@ out_file= tmake_file= extra_headers= +user_headers_inc_next_pre= +user_headers_inc_next_post= use_gcc_tgmath=yes use_gcc_stdint=none extra_passes= @@ -1379,6 +1387,8 @@ i[34567]86-*-mingw* | x86_64-*-mingw*) # This makes the logic if mingw's or the w64 feature set has to be used case ${target} in *-w64-*) + user_headers_inc_next_post="${user_headers_inc_next_post} float.h" + user_headers_inc_next_pre="${user_headers_inc_next_pre} stddef.h stdarg.h" tm_file="${tm_file} i386/mingw-w64.h" if test x$enable_targets = xall; then tm_defines="${tm_defines} TARGET_BI_ARCH=1" |