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]

[PATCH] frv warning police


This patch removes some warnings I used to get while building
for frv-elf.  I suppose the condexec_sf predicates I'm removing were
actually renamed at some point, but I haven't investigated their
history.  The new definitions match the current behavior.  I'm tempted
to install this as obvious, but...  Ok?

Index: gcc/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	config/frv/frv.h (PREDICATE_CODES): Added
	condexec_si_media_operator, condexec_sf_add_operator and
	condexec_sf_conv_operator.  Removed condexec_sf_binary_operator
	and condexec_sf_unary_operator.

Index: gcc/config/frv/frv.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/frv/frv.h,v
retrieving revision 1.27
diff -u -p -r1.27 frv.h
--- gcc/config/frv/frv.h 27 Sep 2003 04:48:17 -0000 1.27
+++ gcc/config/frv/frv.h 30 Sep 2003 20:37:13 -0000
@@ -3190,10 +3190,11 @@ do {                                    
   { "minmax_operator",			{ SMIN, SMAX, UMIN, UMAX }},	\
   { "condexec_si_binary_operator",	{ PLUS, MINUS, AND, IOR, XOR,	\
 					  ASHIFT, ASHIFTRT, LSHIFTRT }}, \
+  { "condexec_si_media_operator",	{ AND, IOR, XOR }},		\
   { "condexec_si_divide_operator",	{ DIV, UDIV }},			\
   { "condexec_si_unary_operator",	{ NOT, NEG }},			\
-  { "condexec_sf_binary_operator",	{ PLUS, MINUS, MULT, DIV }},	\
-  { "condexec_sf_unary_operator",	{ ABS, NEG, SQRT }},		\
+  { "condexec_sf_add_operator",		{ PLUS, MINUS }},		\
+  { "condexec_sf_conv_operator",	{ ABS, NEG }},			\
   { "intop_compare_operator",		{ PLUS, MINUS, AND, IOR, XOR,	\
 					  ASHIFT, ASHIFTRT, LSHIFTRT }}, \
   { "condexec_intop_cmp_operator",	{ PLUS, MINUS, AND, IOR, XOR,	\
-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer

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