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]

Committed, CRIS: Don't unset flag_strict_aliasing.


Oops.  Spotted this; it wasn't supposed to get into the FSF
tree.  Built on cris-elf with no regressions.  (Isn't there
test-cases that test for *presence* of this optimization?  Isn't
it possible?)

	* config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
	flag_strict_aliasing.  Use separate assignment statements.

Index: cris.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/cris/cris.h,v
retrieving revision 1.14
diff -p -c -r1.14 cris.h
*** cris.h	2001/12/03 19:13:30	1.14
--- cris.h	2001/12/04 08:21:31
*************** extern int target_flags;
*** 454,463 ****
      {						\
        if ((OPTIMIZE) >= 2 || (SIZE))		\
  	{					\
! 	  flag_force_addr =			\
! 	    flag_omit_frame_pointer = 1;	\
  	}					\
-       flag_strict_aliasing = 0;			\
      }						\
    while (0)
  
--- 454,462 ----
      {						\
        if ((OPTIMIZE) >= 2 || (SIZE))		\
  	{					\
! 	  flag_force_addr = 1;			\
! 	  flag_omit_frame_pointer = 1;		\
  	}					\
      }						\
    while (0)
  
brgds, H-P


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