diff options
author | Mikhail Maltsev <maltsevm@gmail.com> | 2015-05-31 08:12:55 +0000 |
---|---|---|
committer | Mikhail Maltsev <miyuki@gcc.gnu.org> | 2015-05-31 08:12:55 +0000 |
commit | 60b92097175e4bd51b89152e619fcace09b6c9d9 (patch) | |
tree | 1cb5597e4322adc268e37f7b1730286196fa3a0b | |
parent | 463c7280e2373cc5041a95ef77925293b653e695 (diff) | |
download | gcc-60b92097175e4bd51b89152e619fcace09b6c9d9.zip gcc-60b92097175e4bd51b89152e619fcace09b6c9d9.tar.gz gcc-60b92097175e4bd51b89152e619fcace09b6c9d9.tar.bz2 |
Fix C++11 compatibility issue
* config/cris/cris.h (CRIS_ARCH_CPP_DEFAULT): Fix C++11 compatibility
issue (add space between string literal and macro).
* config/i386/mingw32.h (REAL_LIBGCC_SPEC): Likewise.
From-SVN: r223898
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/cris/cris.h | 2 | ||||
-rw-r--r-- | gcc/config/i386/mingw32.h | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9efdb9c..5625750 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-05-31 Mikhail Maltsev <maltsevm@gmail.com> + + * config/cris/cris.h (CRIS_ARCH_CPP_DEFAULT): Fix C++11 compatibility + issue (add space between string literal and macro). + * config/i386/mingw32.h (REAL_LIBGCC_SPEC): Likewise. + 2015-05-30 Andreas Schwab <schwab@linux-m68k.org> * config/m68k/m68k.h (ASM_PCREL_SPEC): Pass --pcrel also for diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h index aa7dc17..1561cd1 100644 --- a/gcc/config/cris/cris.h +++ b/gcc/config/cris/cris.h @@ -134,7 +134,7 @@ extern int cris_cpu_version; %{!metrax*:\ %{!mcpu=*:\ %{!mtune=*:-D__tune_v" CRIS_DEFAULT_TUNE "}\ - -D__arch_v"CRIS_DEFAULT_TUNE\ + -D__arch_v" CRIS_DEFAULT_TUNE \ " -D__CRIS_arch_version=" CRIS_DEFAULT_TUNE "}}}" #endif diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index f139761..eef90fb 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -139,7 +139,7 @@ along with GCC; see the file COPYING3. If not see #undef REAL_LIBGCC_SPEC #define REAL_LIBGCC_SPEC \ "%{mthreads:-lmingwthrd} -lmingw32 \ - "SHARED_LIBGCC_SPEC" \ + " SHARED_LIBGCC_SPEC " \ -lmoldname -lmingwex -lmsvcrt" #undef STARTFILE_SPEC |