aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-03-20 14:00:48 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2018-03-20 14:00:48 +0100
commitd64257a4ed4f91c1dd76bda5a975c8bfa070bc38 (patch)
tree70eb1d2a137dab20569fdce0565b0be498f79ea7 /gcc/varasm.c
parentd9bf40a181b32e4d5e581ec10d48803ea4a43f9d (diff)
downloadgcc-d64257a4ed4f91c1dd76bda5a975c8bfa070bc38.zip
gcc-d64257a4ed4f91c1dd76bda5a975c8bfa070bc38.tar.gz
gcc-d64257a4ed4f91c1dd76bda5a975c8bfa070bc38.tar.bz2
re PR target/84990 (Boostrap broken with --enable-checking=release and Ada)
PR target/84990 * dwarf2asm.c (dw2_output_indirect_constant_1): Temporarily turn off flag_section_anchors. * varasm.c (use_blocks_for_decl_p): Remove hack for dw2_force_const_mem. From-SVN: r258681
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 2b5c70c..d7290ae 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -1253,13 +1253,6 @@ use_blocks_for_decl_p (tree decl)
if (!VAR_P (decl) && TREE_CODE (decl) != CONST_DECL)
return false;
- /* Detect decls created by dw2_force_const_mem. Such decls are
- special because DECL_INITIAL doesn't specify the decl's true value.
- dw2_output_indirect_constants will instead call assemble_variable
- with dont_output_data set to 1 and then print the contents itself. */
- if (DECL_INITIAL (decl) == decl)
- return false;
-
/* If this decl is an alias, then we don't want to emit a
definition. */
if (VAR_P (decl)