From: krebbel Date: Wed, 23 Mar 2011 07:53:26 +0000 (+0000) Subject: 2011-03-23 Andreas Krebbel X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=10d06e9c55dbaec4b53e411ee2213ca16c8786bd;p=thirdparty%2Fgcc.git 2011-03-23 Andreas Krebbel * dwarf2out.c (const_ok_for_output_1): Print the unspec enum name if possible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171340 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6b5c14c5d062..ee72d4e3b1bd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-03-23 Andreas Krebbel + + * dwarf2out.c (const_ok_for_output_1): Print the unspec enum name + if possible. + 2011-03-22 Nathan Froyd * emit-rtl.c (emit_pattern_before_noloc): New function. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 32ffe1b6d629..aa6f6b6b9cfa 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -13616,8 +13616,15 @@ 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");