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]
Other format: [Raw text]

Fix typo in vec.c


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

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

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