Commit 5c9bf752 by Eric Botcazou Committed by Eric Botcazou

re PR debug/43937 (FAIL: gcc.dg/guality/inline-params.c)

	PR debug/43937
	* varasm.c (output_constant_def_contents): Set TREE_ASM_WRITTEN on
	the DECL as well.

From-SVN: r164258
parent ef3be7da
2010-09-13 Eric Botcazou <ebotcazou@adacore.com>
PR debug/43937
* varasm.c (output_constant_def_contents): Set TREE_ASM_WRITTEN on
the DECL as well.
2010-09-13 Jakub Jelinek <jakub@redhat.com> 2010-09-13 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/45617 PR rtl-optimization/45617
......
...@@ -3115,7 +3115,7 @@ output_constant_def_contents (rtx symbol) ...@@ -3115,7 +3115,7 @@ output_constant_def_contents (rtx symbol)
output_addressed_constants (exp); output_addressed_constants (exp);
/* We are no longer deferring this constant. */ /* We are no longer deferring this constant. */
TREE_ASM_WRITTEN (exp) = 1; TREE_ASM_WRITTEN (decl) = TREE_ASM_WRITTEN (exp) = 1;
/* If the constant is part of an object block, make sure that the /* If the constant is part of an object block, make sure that the
decl has been positioned within its block, but do not write out decl has been positioned within its block, but do not write out
......
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