summaryrefslogtreecommitdiff
path: root/gcc/config/spu/spu.c
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-13 19:07:25 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-13 19:07:25 +0000
commita54ca889a9662f9470d49fe3e4b0fee5153565c1 (patch)
tree93eaca12340d54fc8241ca50c60375e3a96e8e5a /gcc/config/spu/spu.c
parentfbf88933e1572db3dc78fa751c7d00a331a73cd2 (diff)
downloadgcc-a54ca889a9662f9470d49fe3e4b0fee5153565c1.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176247 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/spu/spu.c')
-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 63985e1a762..6d168faff35 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)