public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Fix typo in vec.c
@ 2004-07-08 12:24 Nathan Sidwell
  0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2004-07-08 12:24 UTC (permalink / raw)
  To: gcc-patches; +Cc: Andrew Pinski

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

hi,
Andrew Pinski pointed out a typo in a varargs list.

Fixed thusly,

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk


[-- Attachment #2: vec.patch --]
[-- Type: text/plain, Size: 862 bytes --]

2004-07-08  Nathan Sidwell  <nathan@codesourcery.com>

	* vec.c (vec_assert_fail): Remove duplicate 'function'.

Index: vec.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/vec.c,v
retrieving revision 2.3
diff -c -3 -p -r2.3 vec.c
*** vec.c	8 Jul 2004 09:38:53 -0000	2.3
--- vec.c	8 Jul 2004 09:44:19 -0000
*************** vec_assert_fail (const char *op, const c
*** 85,91 ****
  		 const char *file, size_t line, const char *function)
  {
    internal_error ("vector %s %s domain error, in %s at %s:%u",
! 		  struct_name, op, function, function,
! 		  trim_filename (file), line);
  }
  #endif
--- 85,90 ----
  		 const char *file, size_t line, const char *function)
  {
    internal_error ("vector %s %s domain error, in %s at %s:%u",
! 		  struct_name, op, function, trim_filename (file), line);
  }
  #endif

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-08  9:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-08 12:24 Fix typo in vec.c Nathan Sidwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).