Fix C++11 compatibility issue
authorMikhail Maltsev <maltsevm@gmail.com>
Sun, 31 May 2015 08:12:55 +0000 (08:12 +0000)
committerMikhail Maltsev <miyuki@gcc.gnu.org>
Sun, 31 May 2015 08:12:55 +0000 (08:12 +0000)
* 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

gcc/ChangeLog
gcc/config/cris/cris.h
gcc/config/i386/mingw32.h

index 9efdb9c1788e269c52ec560b9fe529d24aad7263..5625750e3a6e2203751fd635d419a406c55a47b3 100644 (file)
@@ -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
index aa7dc17f2d9e41b8defa690360ae246cb89d03c3..1561cd1f0e74caa65b066aaf03ae7b551b4a4555 100644 (file)
@@ -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
 
index f1397614ed8a325f11f9d2e991c0c590a0015d6e..eef90fb17aa2d5467fce87f5785bfeaa45e182e2 100644 (file)
@@ -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