summaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-24 20:22:28 -0500
committermidipix <writeonce@midipix.org>2019-02-24 21:07:12 -0500
commitd9e940e3516130cc23bfab1ee9d6003f35848ba0 (patch)
tree768db06ec24ccca9d6c190c65331e0870b3a4f86 /gcc/varasm.c
parentff34cba16509e48eb4d60ca8b281b400dd9d50c2 (diff)
downloadcbb-gcc-4.6.4-d9e940e3516130cc23bfab1ee9d6003f35848ba0.tar.bz2
cbb-gcc-4.6.4-d9e940e3516130cc23bfab1ee9d6003f35848ba0.tar.xz
midipix targets: remove the wrong flag_constructor_decl logic.
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index a6cf6a798..34890b338 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -104,9 +104,6 @@ static alias_set_type const_alias_set;
static bool saw_no_split_stack;
-/* whether the current symbol reference points to a constructor (element) */
-int flag_constructor_decl = 0;
-
static const char *strip_reg_name (const char *);
static int contains_pointers_p (tree);
#ifdef ASM_OUTPUT_EXTERNAL
@@ -4620,9 +4617,7 @@ output_constant (tree exp, unsigned HOST_WIDE_INT size, unsigned int align)
switch (TREE_CODE (exp))
{
case CONSTRUCTOR:
- flag_constructor_decl++;
output_constructor (exp, size, align, NULL);
- flag_constructor_decl--;
return;
case STRING_CST:
thissize = MIN ((unsigned HOST_WIDE_INT)TREE_STRING_LENGTH (exp),