aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m32c/m32c-protos.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2010-06-25 23:30:19 -0400
committerDJ Delorie <dj@gcc.gnu.org>2010-06-25 23:30:19 -0400
commitf6052f8680a5510f3f29c51fb69dd2ec3765925a (patch)
tree029a9ae4281f830a057e8a006a023187ac8c6199 /gcc/config/m32c/m32c-protos.h
parent19bbf2c4b8041b1ecb367187fe2555243a70d341 (diff)
downloadgcc-f6052f8680a5510f3f29c51fb69dd2ec3765925a.zip
gcc-f6052f8680a5510f3f29c51fb69dd2ec3765925a.tar.gz
gcc-f6052f8680a5510f3f29c51fb69dd2ec3765925a.tar.bz2
m32c-protos.h (m32c_note_pragma_address): Declare.
* 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. From-SVN: r161425
Diffstat (limited to 'gcc/config/m32c/m32c-protos.h')
-rw-r--r--gcc/config/m32c/m32c-protos.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/m32c/m32c-protos.h b/gcc/config/m32c/m32c-protos.h
index 42b92fe..89231fc 100644
--- a/gcc/config/m32c/m32c-protos.h
+++ b/gcc/config/m32c/m32c-protos.h
@@ -42,6 +42,7 @@ int m32c_print_operand_punct_valid_p (int);
int m32c_push_rounding (int);
int m32c_reg_class_from_constraint (char, const char *);
void m32c_register_pragmas (void);
+void m32c_note_pragma_address (const char *, unsigned);
int m32c_regno_ok_for_base_p (int);
int m32c_trampoline_alignment (void);
int m32c_trampoline_size (void);
@@ -104,6 +105,8 @@ tree m32c_gimplify_va_arg_expr (tree, tree, gimple_seq *, gimple_seq *);
void m32c_init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree, int);
bool m32c_promote_function_return (const_tree);
int m32c_special_page_vector_p (tree);
+void m32c_output_aligned_common (FILE *, tree, const char *,
+ int, int, int);
#endif