aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mt/mt.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@gcc.gnu.org>2007-06-11 18:02:15 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2007-06-11 18:02:15 +0000
commit6fb5fa3cbc0d78cf9f4ff7cac5e1d8af1e65c5bb (patch)
treefdb9e9f8a0700a2713dc690fed1a2cf20dae8392 /gcc/config/mt/mt.c
parenta91d32a4a65d54cccf639a1541417e39cb7b7deb (diff)
downloadgcc-6fb5fa3cbc0d78cf9f4ff7cac5e1d8af1e65c5bb.zip
gcc-6fb5fa3cbc0d78cf9f4ff7cac5e1d8af1e65c5bb.tar.gz
gcc-6fb5fa3cbc0d78cf9f4ff7cac5e1d8af1e65c5bb.tar.bz2
Merge dataflow branch into mainline
From-SVN: r125624
Diffstat (limited to 'gcc/config/mt/mt.c')
-rw-r--r--gcc/config/mt/mt.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/config/mt/mt.c b/gcc/config/mt/mt.c
index df5d8f2..a0e5567 100644
--- a/gcc/config/mt/mt.c
+++ b/gcc/config/mt/mt.c
@@ -1,5 +1,5 @@
/* Target definitions for the MorphoRISC1
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
Contributed by Red Hat, Inc.
This file is part of GCC.
@@ -353,7 +353,7 @@ mt_print_operand_simple_address (FILE * file, rtx addr)
switch (GET_CODE (addr))
{
case REG:
- fprintf (file, "%s, #0", reg_names [REGNO (addr)]);
+ fprintf (file, "%s, #0", reg_names[REGNO (addr)]);
break;
case PLUS:
@@ -375,11 +375,11 @@ mt_print_operand_simple_address (FILE * file, rtx addr)
reg = arg1, offset = arg0;
else if (CONSTANT_P (arg0) && CONSTANT_P (arg1))
{
- fprintf (file, "%s, #", reg_names [GPR_R0]);
+ fprintf (file, "%s, #", reg_names[GPR_R0]);
output_addr_const (file, addr);
break;
}
- fprintf (file, "%s, #", reg_names [REGNO (reg)]);
+ fprintf (file, "%s, #", reg_names[REGNO (reg)]);
output_addr_const (file, offset);
break;
}
@@ -457,7 +457,7 @@ mt_print_operand (FILE * file, rtx x, int code)
switch (GET_CODE (x))
{
case REG:
- fputs (reg_names [REGNO (x)], file);
+ fputs (reg_names[REGNO (x)], file);
break;
case CONST:
@@ -884,10 +884,10 @@ mt_compute_frame_size (int size)
}
}
- current_frame_info.save_fp = (regs_ever_live [GPR_FP]
+ current_frame_info.save_fp = (df_regs_ever_live_p (GPR_FP)
|| frame_pointer_needed
|| interrupt_handler);
- current_frame_info.save_lr = (regs_ever_live [GPR_LINK]
+ current_frame_info.save_lr = (df_regs_ever_live_p (GPR_LINK)
|| profile_flag
|| interrupt_handler);