OSDN Git Service

* config/m32c/m32c-protos.h (m32c_note_pragma_address): Declare.
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Jun 2010 03:30:19 +0000 (03:30 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Jun 2010 03:30:19 +0000 (03:30 +0000)
commite3d4e41e4c241bb6f214d5accb492d393afb8da8
tree029a9ae4281f830a057e8a006a023187ac8c6199
parent69878acab72ef63bc7f04ea1ac4d032600698d4a
* config/m32c/m32c-protos.h (m32c_note_pragma_address): Declare.
(m32c_output_aligned_common): Likewise.
* config/m32c/m32c.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): New.
(ASM_OUTPUT_ALIGNED_DECL_LOCAL): New.
* config/m32c/m32c-pragma.c (m32c_pragma_address): New.
(m32c_register_pragmas): Register it.
* config/m32c/m32c.c (m32c_get_pragma_address): New.
(m32c_insert_attributes): Set #pragma address decls volatile.
(pragma_entry_eq): New.
(pragma_entry_hash): New.
(m32c_note_pragma_address): New.
(m32c_get_pragma_address): New.
(m32c_output_aligned_common): New.
* doc/extend.texi: Document the new pragma.

* config/m32c/m32c.c (m32c_illegal_subreg_p): Reject illegal MEMs
also.
* config/m32c/predicates.md (m32c_any_operand): Check the code
instead of memory_operand so as to allow matching volatile MEMs.
(m32c_nonimmediate_operand): Likewise.
(mra_operand): Allow volatiles.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161425 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/m32c/m32c-pragma.c
gcc/config/m32c/m32c-protos.h
gcc/config/m32c/m32c.c
gcc/config/m32c/m32c.h
gcc/config/m32c/predicates.md
gcc/doc/extend.texi