Commit 097f98d4 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

re PR target/55257 (g++.dg/debug/dwarf2/non-virtual-thunk.C scan-assembler thunk.C:30)

	PR target/55257
	* config/cris/cris.c (cris_asm_output_mi_thunk): Call
	final_start_function and final_end_function.

From-SVN: r193467
parent 7f71fad9
2012-11-13 Hans-Peter Nilsson <hp@axis.com>
PR target/55257
* config/cris/cris.c (cris_asm_output_mi_thunk): Call
final_start_function and final_end_function.
2012-11-12 David Edelsohn <dje.gcc@gmail.com> 2012-11-12 David Edelsohn <dje.gcc@gmail.com>
* asan.c: Include tm_p.h * asan.c: Include tm_p.h
...@@ -2698,6 +2698,9 @@ cris_asm_output_mi_thunk (FILE *stream, ...@@ -2698,6 +2698,9 @@ cris_asm_output_mi_thunk (FILE *stream,
HOST_WIDE_INT vcall_offset ATTRIBUTE_UNUSED, HOST_WIDE_INT vcall_offset ATTRIBUTE_UNUSED,
tree funcdecl) tree funcdecl)
{ {
/* Make sure unwind info is emitted for the thunk if needed. */
final_start_function (emit_barrier (), stream, 1);
if (delta > 0) if (delta > 0)
fprintf (stream, "\tadd%s " HOST_WIDE_INT_PRINT_DEC ",$%s\n", fprintf (stream, "\tadd%s " HOST_WIDE_INT_PRINT_DEC ",$%s\n",
ADDITIVE_SIZE_MODIFIER (delta), delta, ADDITIVE_SIZE_MODIFIER (delta), delta,
...@@ -2735,6 +2738,8 @@ cris_asm_output_mi_thunk (FILE *stream, ...@@ -2735,6 +2738,8 @@ cris_asm_output_mi_thunk (FILE *stream,
if (TARGET_V32) if (TARGET_V32)
fprintf (stream, "\tnop\n"); fprintf (stream, "\tnop\n");
} }
final_end_function ();
} }
/* Boilerplate emitted at start of file. /* Boilerplate emitted at start of file.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment