aboutsummaryrefslogtreecommitdiff
path: root/gcc/dojump.c
diff options
context:
space:
mode:
authorTrevor Saunders <tsaunders@mozilla.com>2014-09-03 00:52:11 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2014-09-03 00:52:11 +0000
commit19f8b22971b1aeaa929eb3e3834cc24da1932f12 (patch)
treee28f89f967e112a1f7b08b7f9ca06abd3d852eef /gcc/dojump.c
parentb20ee094dfddac8641eca9248998e89686f8ba38 (diff)
downloadgcc-19f8b22971b1aeaa929eb3e3834cc24da1932f12.zip
gcc-19f8b22971b1aeaa929eb3e3834cc24da1932f12.tar.gz
gcc-19f8b22971b1aeaa929eb3e3834cc24da1932f12.tar.bz2
use rtx_code_label more
gcc/ * asan.c, cfgexpand.c, config/alpha/alpha.md, config/arm/arm.c, config/epiphany/epiphany.md, config/h8300/h8300.c, config/i386/i386.md, config/m32r/m32r.c, config/mcore/mcore.md, config/mips/mips.c, config/mips/mips.md, config/nios2/nios2.c, config/pa/pa.c, config/s390/s390.c, config/s390/s390.md, config/sh/sh-mem.cc, config/sh/sh.c, config/sparc/sparc.c, dojump.c, function.c, optabs.c, stmt.c: Assign the result of gen_label_rtx to rtx_code_label * instead of rtx. From-SVN: r214841
Diffstat (limited to 'gcc/dojump.c')
-rw-r--r--gcc/dojump.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/dojump.c b/gcc/dojump.c
index 1748690..1896620 100644
--- a/gcc/dojump.c
+++ b/gcc/dojump.c
@@ -204,7 +204,7 @@ do_jump_1 (enum tree_code code, tree op0, tree op1,
rtx if_false_label, rtx if_true_label, int prob)
{
enum machine_mode mode;
- rtx drop_through_label = 0;
+ rtx_code_label *drop_through_label = 0;
switch (code)
{
@@ -426,7 +426,7 @@ do_jump (tree exp, rtx if_false_label, rtx if_true_label, int prob)
int i;
tree type;
enum machine_mode mode;
- rtx drop_through_label = 0;
+ rtx_code_label *drop_through_label = 0;
switch (code)
{
@@ -476,7 +476,7 @@ do_jump (tree exp, rtx if_false_label, rtx if_true_label, int prob)
case COND_EXPR:
{
- rtx label1 = gen_label_rtx ();
+ rtx_code_label *label1 = gen_label_rtx ();
if (!if_true_label || !if_false_label)
{
drop_through_label = gen_label_rtx ();
@@ -941,7 +941,7 @@ do_compare_rtx_and_jump (rtx op0, rtx op1, enum rtx_code code, int unsignedp,
rtx if_true_label, int prob)
{
rtx tem;
- rtx dummy_label = NULL_RTX;
+ rtx dummy_label = NULL;
/* Reverse the comparison if that is safe and we want to jump if it is
false. Also convert to the reverse comparison if the target can