summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-31 20:00:22 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-31 20:00:22 +0000
commit64f4ed01a0ccf8a18c13d5a589cb2ab296adc51a (patch)
tree8cd7ac611e23bb707c0d821ad6b159750b572fc2
parent38a0ba2b6ffc19ff5350cab1966606da9c1e4c01 (diff)
downloadppe42-gcc-64f4ed01a0ccf8a18c13d5a589cb2ab296adc51a.tar.gz
ppe42-gcc-64f4ed01a0ccf8a18c13d5a589cb2ab296adc51a.zip
2010-07-31 Kai Tietz <kai.tietz@onevision.com>
* cppdefault.c (cpp_include_defaults): Move GCC_INCLUDE_DIR before LOCAL_INCLUDE_DIR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162787 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cppdefault.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fdb62169a14..356f52923f1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-31 Kai Tietz <kai.tietz@onevision.com>
+
+ * cppdefault.c (cpp_include_defaults): Move GCC_INCLUDE_DIR before
+ LOCAL_INCLUDE_DIR.
+
2010-07-31 Richard Sandiford <rdsandiford@googlemail.com>
* tree-ssa-math-opts.c (convert_plusminus_to_widen): Fix type
diff --git a/gcc/cppdefault.c b/gcc/cppdefault.c
index 5024f48c959..bd705ffb625 100644
--- a/gcc/cppdefault.c
+++ b/gcc/cppdefault.c
@@ -58,6 +58,10 @@ const struct default_include cpp_include_defaults[]
/* Pick up GNU C++ backward and deprecated include files. */
{ GPLUSPLUS_BACKWARD_INCLUDE_DIR, "G++", 1, 1, 0, 0 },
#endif
+#ifdef GCC_INCLUDE_DIR
+ /* This is the dir for gcc's private headers. */
+ { GCC_INCLUDE_DIR, "GCC", 0, 0, 0, 0 },
+#endif
#ifdef LOCAL_INCLUDE_DIR
/* /usr/local/include comes before the fixincluded header files. */
{ LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 0 },
@@ -65,10 +69,6 @@ const struct default_include cpp_include_defaults[]
#ifdef PREFIX_INCLUDE_DIR
{ PREFIX_INCLUDE_DIR, 0, 0, 1, 0, 0 },
#endif
-#ifdef GCC_INCLUDE_DIR
- /* This is the dir for gcc's private headers. */
- { GCC_INCLUDE_DIR, "GCC", 0, 0, 0, 0 },
-#endif
#ifdef FIXED_INCLUDE_DIR
/* This is the dir for fixincludes. */
{ FIXED_INCLUDE_DIR, "GCC", 0, 0, 0,
OpenPOWER on IntegriCloud