OSDN Git Service

* target.h (struct gcc_target): Add mode_dependent_address_p field.
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 May 2010 19:08:31 +0000 (19:08 +0000)
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 May 2010 19:08:31 +0000 (19:08 +0000)
commit98e22cb6f77a438ee9a469b45de2b1727218536f
treeab0664b99a156d91a202d107ee413a933ccb1249
parent2be0e5431bcecf5fb4f0ac75b8be808c903e0cc5
* target.h (struct gcc_target): Add mode_dependent_address_p field.
* target-def.h (TARGET_MODE_DEPENDENT_ADDRESS_P): New.
(TARGET_INITIALIZER): Use TARGET_MODE_DEPENDENT_ADDRESS_P.
* targhooks.c (default_mode_dependent_address_p): New function.
* targhooks.h (default_mode_dependent_address_p): Declare function.
* doc/tm.texi (TARGET_MODE_DEPENDENT_ADDRESS_P): New.
(GO_IF_MODE_DEPENDENT_ADDRESS): Update.
* recog.c: (mode_dependent_address_p): Call mode_dependent_address_p
target hook. Change return type to bool.
* recog.h: (mode_dependent_address_p): Change return type to bool.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159339 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/doc/tm.texi
gcc/recog.c
gcc/recog.h
gcc/target-def.h
gcc/target.h
gcc/targhooks.c
gcc/targhooks.h