diff options
author | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | 2011-03-23 07:53:26 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2011-03-23 07:53:26 +0000 |
commit | 78fadbabe3c1efabb7ebc58819ed75131958dfc4 (patch) | |
tree | f72cccda238a44f91872d1c1a45b038e574d1571 /gcc/dwarf2out.c | |
parent | 5f02387d745a334a9bce1df61e6193cf110b425f (diff) | |
download | gcc-78fadbabe3c1efabb7ebc58819ed75131958dfc4.zip gcc-78fadbabe3c1efabb7ebc58819ed75131958dfc4.tar.gz gcc-78fadbabe3c1efabb7ebc58819ed75131958dfc4.tar.bz2 |
dwarf2out.c (const_ok_for_output_1): Print the unspec enum name if possible.
2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* dwarf2out.c (const_ok_for_output_1): Print the unspec enum name
if possible.
From-SVN: r171340
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 32ffe1b..aa6f6b6 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -13616,9 +13616,16 @@ const_ok_for_output_1 (rtx *rtlp, void *data ATTRIBUTE_UNUSED) inform (current_function_decl ? DECL_SOURCE_LOCATION (current_function_decl) : UNKNOWN_LOCATION, +#if NUM_UNSPEC_VALUES > 0 + "non-delegitimized UNSPEC %s (%d) found in variable location", + ((XINT (rtl, 1) >= 0 && XINT (rtl, 1) < NUM_UNSPEC_VALUES) + ? unspec_strings[XINT (rtl, 1)] : "unknown"), + XINT (rtl, 1)); +#else "non-delegitimized UNSPEC %d found in variable location", XINT (rtl, 1)); #endif +#endif expansion_failed (NULL_TREE, rtl, "UNSPEC hasn't been delegitimized.\n"); return 1; |