aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2011-07-13 19:07:25 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2011-07-13 19:07:25 +0000
commitb4d80e56811ca15a6599bdd7617b257b5f2b3823 (patch)
tree93eaca12340d54fc8241ca50c60375e3a96e8e5a /gcc/config
parent5f54710465b16155cffaa7934e29533cd2d21292 (diff)
downloadgcc-b4d80e56811ca15a6599bdd7617b257b5f2b3823.zip
gcc-b4d80e56811ca15a6599bdd7617b257b5f2b3823.tar.gz
gcc-b4d80e56811ca15a6599bdd7617b257b5f2b3823.tar.bz2
spu.c (TARGET_ASM_FILE_START): Do not define.
* config/spu/spu.c (TARGET_ASM_FILE_START): Do not define. (asm_file_start): Remove. (spu_machine_dependent_reorg): Call compute_bb_for_insn and free_bb_for_insn around code that modifies insns before restarting df analysis. From-SVN: r176247
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/spu/spu.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c
index 63985e1..6d168fa 100644
--- a/gcc/config/spu/spu.c
+++ b/gcc/config/spu/spu.c
@@ -224,7 +224,6 @@ static enum machine_mode spu_addr_space_address_mode (addr_space_t);
static bool spu_addr_space_subset_p (addr_space_t, addr_space_t);
static rtx spu_addr_space_convert (rtx, tree, tree);
static int spu_sms_res_mii (struct ddg *g);
-static void asm_file_start (void);
static unsigned int spu_section_type_flags (tree, const char *, int);
static section *spu_select_section (tree, int, unsigned HOST_WIDE_INT);
static void spu_unique_section (tree, int);
@@ -462,9 +461,6 @@ static void spu_setup_incoming_varargs (cumulative_args_t cum,
#undef TARGET_SCHED_SMS_RES_MII
#define TARGET_SCHED_SMS_RES_MII spu_sms_res_mii
-#undef TARGET_ASM_FILE_START
-#define TARGET_ASM_FILE_START asm_file_start
-
#undef TARGET_SECTION_TYPE_FLAGS
#define TARGET_SECTION_TYPE_FLAGS spu_section_type_flags
@@ -2703,9 +2699,11 @@ spu_machine_dependent_reorg (void)
{
/* We still do it for unoptimized code because an external
function might have hinted a call or return. */
+ compute_bb_for_insn ();
insert_hbrp ();
pad_bb ();
spu_var_tracking ();
+ free_bb_for_insn ();
return;
}
@@ -7039,14 +7037,6 @@ spu_libgcc_shift_count_mode (void)
return SImode;
}
-/* An early place to adjust some flags after GCC has finished processing
- * them. */
-static void
-asm_file_start (void)
-{
- default_file_start ();
-}
-
/* Implement targetm.section_type_flags. */
static unsigned int
spu_section_type_flags (tree decl, const char *name, int reloc)