@@ -308,7 +308,6 @@ static section *arm_function_section (tree, enum node_frequency, bool, bool);
static bool arm_asm_elf_flags_numeric (unsigned int flags, unsigned int *num);
static unsigned int arm_elf_section_type_flags (tree decl, const char *name,
int reloc);
-static bool arm_use_blocks_for_constant_p (machine_mode var, const_rtx x);
/* Table of machine attributes. */
@@ -759,9 +758,6 @@ static const struct attribute_spec arm_attribute_table[] =
#undef TARGET_SECTION_TYPE_FLAGS
#define TARGET_SECTION_TYPE_FLAGS arm_elf_section_type_flags
-#undef TARGET_USE_BLOCKS_FOR_CONSTANT_P
-#define TARGET_USE_BLOCKS_FOR_CONSTANT_P arm_use_blocks_for_constant_p
-
struct gcc_target targetm = TARGET_INITIALIZER;
/* Obstack for minipool constant handling. */
@@ -31605,15 +31601,4 @@ bool arm_coproc_ldc_stc_legitimate_address (rtx op)
}
return false;
}
-
-/* Implements the TARGET_USE_BLOCKS_FOR_CONSTANT_P hook.
-
- If we have disabled the generation of constants inside a literal pool, then
- this function returns false. Otherwise, return true. */
-
-static bool
-arm_use_blocks_for_constant_p (machine_mode /* var */, const_rtx /* x */)
-{
- return !arm_disable_literal_pool;
-}
#include "gt-arm.h"
@@ -22,3 +22,5 @@ fn3 ()
a[1] = b;
fn1 (a);
}
+
+/* { dg-final { scan-assembler-not "\\.(float|l\\?double|\d?byte|short|int|long|quad|word)\\s+\[^.\]" } } */
@@ -12,3 +12,4 @@ foo (void)
}
/* { dg-final { scan-assembler-not "#1\\.0e\\+0" } } */
+/* { dg-final { scan-assembler-not "\\.(float|l\\?double|\d?byte|short|int|long|quad|word)\\s+\[^.\]" } } */