This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Committed, CRIS: Don't unset flag_strict_aliasing.
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 4 Dec 2001 19:48:33 +0100
- Subject: 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