This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Alpha C++ ICE in egcs 1.1.2 and current CVS version
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Subject: [patch] Alpha C++ ICE in egcs 1.1.2 and current CVS version
- From: Richard Henderson <rth at cygnus dot com>
- Date: Sat, 26 Jun 1999 22:56:51 -0700
- Cc: egcs-bugs at egcs dot cygnus dot com, egcs-patches at egcs dot cygnus dot com
- References: <14128.41364.220168.809789@xayide.TechFak.Uni-Bielefeld.DE> <14194.22939.498884.383494@xayide.TechFak.Uni-Bielefeld.DE>
On Thu, Jun 24, 1999 at 06:15:23PM +0200, Rainer Orth wrote:
> The ICE reported in
>
> http://egcs.cygnus.com/ml/egcs-bugs/1999-05/msg00113.html
>
> still exists with the current CVS version gcc-2.95 19990623 (prerelease).
Curiously, I don't even get the warning on alpha-linux.
r~
1999-06-26 Richard Henderson <rth@cygnus.com>
* decl.c (cp_finish_decl): Fix typo in cp_warning_at call.
Index: decl.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/decl.c,v
retrieving revision 1.358.4.4
diff -c -p -d -u -r1.358.4.4 decl.c
--- decl.c 1999/06/19 11:17:52 1.358.4.4
+++ decl.c 1999/06/27 05:54:13
@@ -8130,7 +8130,7 @@ cp_finish_decl (decl, init, asmspec_tree
else if (! DECL_ARTIFICIAL (decl))
{
cp_warning_at ("sorry: semantics of inline function static data `%#D' are wrong (you'll wind up with multiple copies)", decl);
- cp_warning_at (" you can work around this by removing the initializer"), decl;
+ cp_warning_at (" you can work around this by removing the initializer", decl);
}
}
}