re PR bootstrap/65522 (Svn revision 221590 fails bootstrap - ../libiberty/libiberty...
authorJakub Jelinek <jakub@redhat.com>
Mon, 23 Mar 2015 15:49:02 +0000 (16:49 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 23 Mar 2015 15:49:02 +0000 (16:49 +0100)
PR bootstrap/65522
* ipa-devirt.c: Remove duplicate demangle.h include.

* adadecode.c (ada_demangle): Guard with IN_RTS instead of IN_GCC.

From-SVN: r221599

gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/adadecode.c
gcc/ipa-devirt.c

index a5eb8c49630695fabfa13e83889badcef5e0efbb..ae062f89810fe832dda8b8227ade5ba8ebfb18ac 100644 (file)
@@ -1,5 +1,8 @@
 2015-03-23  Jakub Jelinek  <jakub@redhat.com>
 
+       PR bootstrap/65522
+       * ipa-devirt.c: Remove duplicate demangle.h include.
+
        PR target/65504
        * config/i386/i386.c (ix86_copy_addr_to_reg): Set REG_POINTER
        on the pseudo.
index 1d391324e203610e4d17ea57c98c7cf2056e879b..3d02cb1cc2d60601e8018d8f42eeed9027ed8c28 100644 (file)
@@ -1,3 +1,8 @@
+2015-03-23  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/65522
+       * adadecode.c (ada_demangle): Guard with IN_RTS instead of IN_GCC.
+
 2015-03-20  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR ada/65451
index 25694819afc373ad11218cc222c03f0dec25ab68..d6935ca206b62df2763a7f751728a249d31fe3f4 100644 (file)
@@ -6,7 +6,7 @@
  *                                                                          *
  *                          C Implementation File                           *
  *                                                                          *
- *           Copyright (C) 2001-2012, Free Software Foundation, Inc.        *
+ *           Copyright (C) 2001-2015, Free Software Foundation, Inc.        *
  *                                                                          *
  * GNAT is free software;  you can  redistribute it  and/or modify it under *
  * terms of the  GNU General Public License as published  by the Free Soft- *
@@ -368,7 +368,7 @@ __gnat_decode (const char *coded_name, char *ada_name, int verbose)
 extern "C" {
 #endif
 
-#ifdef IN_GCC
+#ifdef IN_RTS
 char *
 ada_demangle (const char *coded_name)
 {
index 5e08431d4276edce34d44aaf5d48242d836374d5..cf8138a1be5f15eac1c0f57e0adb48a8a64f18b0 100644 (file)
@@ -166,7 +166,6 @@ along with GCC; see the file COPYING3.  If not see
 #include "gimple-pretty-print.h"
 #include "stor-layout.h"
 #include "intl.h"
-#include "demangle.h"
 
 /* Hash based set of pairs of types.  */
 typedef struct