This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch] Alpha C++ ICE in egcs 1.1.2 and current CVS version


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);
 		}
 	    }
 	}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]