aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2010-09-13 21:08:13 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2010-09-13 21:08:13 +0000
commit5c9bf75299ce79b0fccb4219ea7264fb2a6d08a4 (patch)
tree8290490b64d30f1fcab7016f64bc8dbd9740f970 /gcc/varasm.c
parentef3be7da315db90f5d311b43464c5341fa33d5e2 (diff)
downloadgcc-5c9bf75299ce79b0fccb4219ea7264fb2a6d08a4.zip
gcc-5c9bf75299ce79b0fccb4219ea7264fb2a6d08a4.tar.gz
gcc-5c9bf75299ce79b0fccb4219ea7264fb2a6d08a4.tar.bz2
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
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 9c2593f..1c2a525 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -3115,7 +3115,7 @@ output_constant_def_contents (rtx symbol)
output_addressed_constants (exp);
/* 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
decl has been positioned within its block, but do not write out