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 + + * cppdefault.c (cpp_include_defaults): Move GCC_INCLUDE_DIR before + LOCAL_INCLUDE_DIR. + 2010-07-31 Richard Sandiford * 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,