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] fix unnecessary ANSI string concatenation in i386.h


config/i386/i386.h had bogus empty strings, prompting a warning from
-Wtraditional because of ANSI string concatenation. Here's the fix:

2000-03-31  Philipp Thomas  <pthomas@suse.de>

	* config/i386/i386.h(TARGET_SWITCHES): Remove bogus empty strings,
	fix typo.


Index: config/i386/i386.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/i386.h,v
retrieving revision 1.107
diff -u -p -r1.107 i386.h
--- i386.h	2000/03/29 13:10:43	1.107
+++ i386.h	2000/03/30 23:38:46
@@ -265,11 +265,11 @@ extern const int x86_promote_hi_regs;
     "Do not inline all known string operations" },			      \
   { "push-args",		-MASK_NO_PUSH_ARGS,			      \
     "Use push instructions to save outgoing arguments" },		      \
-  { "no-push-args",		MASK_NO_PUSH_ARGS, ""			      \
-    "UDo not use push instructions to save outgoing arguments" },	      \
+  { "no-push-args",		MASK_NO_PUSH_ARGS,			      \
+    "Do not use push instructions to save outgoing arguments" },	      \
   { "accumulate-outgoing-args",	MASK_ACCUMULATE_OUTGOING_ARGS,		      \
     "Use push instructions to save outgoing arguments" },		      \
-  { "no-accumulate-outgoing-args",-MASK_ACCUMULATE_OUTGOING_ARGS, ""	      \
+  { "no-accumulate-outgoing-args",-MASK_ACCUMULATE_OUTGOING_ARGS,	      \
     "Do not use push instructions to save outgoing arguments" },	      \
   SUBTARGET_SWITCHES							      \
   { "", TARGET_DEFAULT, 0 }}



-- 
Philipp Thomas <pthomas@suse.de>
SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

#define NINODE  50              /* number of in core inodes */
#define NPROC   30              /* max number of processes */
 	-- Version 7 UNIX fuer PDP 11, /usr/include/sys/param.h

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