From: Kai Tietz Date: Sat, 31 Jul 2010 20:00:22 +0000 (+0000) Subject: cppdefault.c (cpp_include_defaults): Move GCC_INCLUDE_DIR before LOCAL_INCLUDE_DIR. X-Git-Tag: releases/gcc-4.6.0~5302 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da46381f2ce3992e80717bac2692194e6a5e7780;p=thirdparty%2Fgcc.git cppdefault.c (cpp_include_defaults): Move GCC_INCLUDE_DIR before LOCAL_INCLUDE_DIR. 2010-07-31 Kai Tietz * cppdefault.c (cpp_include_defaults): Move GCC_INCLUDE_DIR before LOCAL_INCLUDE_DIR. From-SVN: r162787 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fdb62169a147..356f52923f11 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 5024f48c9597..bd705ffb625b 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,