This is the mail archive of the gcc-cvs@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]

r116372 - in /branches/addressing-modes/gcc: Ch...


Author: bonzini
Date: Thu Aug 24 08:06:16 2006
New Revision: 116372

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116372
Log:
2006-08-24  Paolo Bonzini  <bonzini@gnu.org>

	* explow.c (memory_address_1): New.
	(memory_address): Use it.  Avoid gotos.  Test for the validity
	of the address returned by LEGITIMIZE_ADDRESS.

	* doc/tm.texi (LEGITIMIZE_ADDRESS): Discourage using
	GO_IF_LEGITIMATE_ADDRESS (and WIN) within the macro.

	* config/s390/s390.h (LEGITIMIZE_ADDRESS): Remove checks
	now performed by memory_address.
	* config/m32r/m32r.h (LEGITIMIZE_ADDRESS): Likewise.
	* config/i386/i386.h (LEGITIMIZE_ADDRESS): Likewise.
	* config/avr/avr.h (LEGITIMIZE_ADDRESS): Likewise.
	* config/m68hc11/m68hc11.h (LEGITIMIZE_ADDRESS): Likewise.
	* config/mn10300/mn10300.h (LEGITIMIZE_ADDRESS): Likewise.
	* config/arm/arm.h (LEGITIMIZE_ADDRESS): Likewise.
	* config/pa/pa.h (LEGITIMIZE_ADDRESS): Likewise.
	* config/sparc/sparc.h (LEGITIMIZE_ADDRESS): Likewise.

	* config/m68k/m68k.h (LEGITIMIZE_ADDRESS): Use memory_address_p.

	* config/cris/cris.h (LEGITIMIZE_ADDRESS): Undefine.
	* config/mt/mt.h (LEGITIMIZE_ADDRESS): Likewise.


Modified:
    branches/addressing-modes/gcc/ChangeLog.addrmodes
    branches/addressing-modes/gcc/config/arm/arm.h
    branches/addressing-modes/gcc/config/avr/avr.h
    branches/addressing-modes/gcc/config/cris/cris.h
    branches/addressing-modes/gcc/config/i386/i386.h
    branches/addressing-modes/gcc/config/m32r/m32r.h
    branches/addressing-modes/gcc/config/m68hc11/m68hc11.h
    branches/addressing-modes/gcc/config/m68k/m68k.h
    branches/addressing-modes/gcc/config/mn10300/mn10300.h
    branches/addressing-modes/gcc/config/mt/mt.h
    branches/addressing-modes/gcc/config/pa/pa.h
    branches/addressing-modes/gcc/config/s390/s390.h
    branches/addressing-modes/gcc/config/sparc/sparc.h
    branches/addressing-modes/gcc/doc/tm.texi
    branches/addressing-modes/gcc/explow.c


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