Print location for conflicting global regs.
authorAndi Kleen <ak@linux.intel.com>
Thu, 9 Jun 2011 06:20:05 +0000 (06:20 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Thu, 9 Jun 2011 06:20:05 +0000 (06:20 +0000)
commit1460ec5c3d5a247e704245ac996750c749991fdd
tree0e9b031c60a7dac8443153238fabcfc776f16ecf
parentdf17530a852fae6aab5ce41d806a78808013fc1f
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().

From-SVN: r174834
gcc/ChangeLog
gcc/reginfo.c
gcc/rtl.h
gcc/varasm.c