aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2012-12-10 22:19:16 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2012-12-10 22:19:16 +0000
commit2cd45f0e6826ddcc92216a508104b2802eddece3 (patch)
tree163fb7c1ecdd76bc467cb24ccfc8f7a0280d9fc2 /gcc/rtl.h
parent4d63a95eecca6f1cce4c11a463108d741c630ff5 (diff)
downloadgcc-2cd45f0e6826ddcc92216a508104b2802eddece3.zip
gcc-2cd45f0e6826ddcc92216a508104b2802eddece3.tar.gz
gcc-2cd45f0e6826ddcc92216a508104b2802eddece3.tar.bz2
re PR target/54061 (gcc.c-torture/compile/mipscop-*.c ICEs with -g)
2012-12-10 Steve Ellcey <sellcey@mips.com> PR target/54061 rtl.h (IGNORED_DWARF_REGNUM): New. * dwarf2out.c (reg_loc_descriptor): Check for IGNORED_DWARF_REGNUM. (mem_loc_descriptor): Ditto. * config/mips/mips.h (ALL_COP_REG_FIRST): New. (ALL_COP_REG_LAST): New. (ALL_COP_REG_NUM): Redefine using above macros. * config/mips/mips.c (mips_option_override): Set mips_dbx_regno coprocessor entries to IGNORED_DWARF_REGNUM. From-SVN: r194372
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 213e0f5..c121f13 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2439,6 +2439,9 @@ extern rtx gen_rtx_MEM (enum machine_mode, rtx);
/* REGNUM never really appearing in the INSN stream. */
#define INVALID_REGNUM (~(unsigned int) 0)
+/* REGNUM for which no debug information can be generated. */
+#define IGNORED_DWARF_REGNUM (INVALID_REGNUM - 1)
+
extern rtx output_constant_def (tree, int);
extern rtx lookup_constant_def (tree);