summaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-09 06:20:05 +0000
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-09 06:20:05 +0000
commitca2d5ca14b48dfb99814286e5bd4f214fca8af12 (patch)
tree0e9b031c60a7dac8443153238fabcfc776f16ecf /gcc/rtl.h
parentf2e5df9cde54eee5d33530f5694e75cf770cd868 (diff)
downloadgcc-ca2d5ca14b48dfb99814286e5bd4f214fca8af12.tar.gz
Print location for conflicting global regs.
gcc/ 2011-06-08 Andi Kleen <ak@linux.intel.com> * reginfo.c (global_regs_decl): Add. (globalize_reg): Add decl parameter. Compute location. Pass location to warnings and add inform. Store decl in global_regs_decl. * rtl.h (globalize_reg): Update prototype. * varasm.c (make_decl_rtl): Pass decl to globalize_reg(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174834 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 62b677ac3c0..f2c298397c6 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2451,7 +2451,7 @@ extern void mark_elimination (int, int);
/* In reginfo.c */
extern int reg_classes_intersect_p (reg_class_t, reg_class_t);
extern int reg_class_subset_p (reg_class_t, reg_class_t);
-extern void globalize_reg (int);
+extern void globalize_reg (tree, int);
extern void init_reg_modes_target (void);
extern void init_regs (void);
extern void reinit_regs (void);