CVS: gcc/gcc-current/gcc fold-const.c,1.1,1.2

Dmitry Diky <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/gcc/gcc-current/gcc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23232

Modified Files:
	fold-const.c 
Log Message:
fixes for NE & single bit


Index: fold-const.c
===================================================================
RCS file: /cvsroot/mspgcc/gcc/gcc-current/gcc/fold-const.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- fold-const.c	20 Jul 2004 15:21:47 -0000	1.1
+++ fold-const.c	21 Jul 2004 09:49:08 -0000	1.2
@@ -5195,7 +5195,7 @@
       /* Otherwise we have (A & C) != 0 where C is a single bit, 
 	 convert that into ((A >> C2) & 1).  Where C2 = log2(C).
 	 Similarly for (A & C) == 0.  */
-
+      return NULL_TREE;
       /* If INNER is a right shift of a constant and it plus BITNUM does
 	 not overflow, adjust BITNUM and INNER.  */
       if (TREE_CODE (inner) == RSHIFT_EXPR
@@ -5226,6 +5226,7 @@
       inner = build (BIT_AND_EXPR, intermediate_type,
 	  inner, TREE_OPERAND (arg0, 1));
 	  
+      return NULL_TREE;
 #if 0 
       if (bitnum != 0)
 	inner = build (RSHIFT_EXPR, intermediate_type,



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.