diff options
author | Jakub Jelinek <jakub@redhat.com> | 2015-03-23 16:49:02 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-03-23 16:49:02 +0100 |
commit | 468489483df36a009216601d2f70c3c8872ca301 (patch) | |
tree | 6301713ab4847b274e57c7194ebfcb68cc257a95 /gcc/ada | |
parent | d2e70142727ba877b028560ed57632ba6aab6e40 (diff) | |
download | gcc-468489483df36a009216601d2f70c3c8872ca301.zip gcc-468489483df36a009216601d2f70c3c8872ca301.tar.gz gcc-468489483df36a009216601d2f70c3c8872ca301.tar.bz2 |
re PR bootstrap/65522 (Svn revision 221590 fails bootstrap - ../libiberty/libiberty.a(cplus-dem.o): In function `ada_demangle': cplus-dem.c:(.text+0xdb8): multiple definition of `ada_demangle' ada/adadecode.o:adadecode.c:(.text+0x863): first defined here)
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
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ada/adadecode.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 1d39132..3d02cb1 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -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 diff --git a/gcc/ada/adadecode.c b/gcc/ada/adadecode.c index 2569481..d6935ca 100644 --- a/gcc/ada/adadecode.c +++ b/gcc/ada/adadecode.c @@ -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) { |