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
This commit is contained in:
Andreas Krebbel 2011-03-23 07:53:26 +00:00 committed by Andreas Krebbel
parent 5f02387d74
commit 78fadbabe3
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* dwarf2out.c (const_ok_for_output_1): Print the unspec enum name
if possible.
2011-03-22 Nathan Froyd <froydnj@codesourcery.com>
* emit-rtl.c (emit_pattern_before_noloc): New function.

View File

@ -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");