summaryrefslogtreecommitdiffstats
path: root/gcc/config/m68k
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-22 20:03:52 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-22 20:03:52 +0000
commit2a9840b17e3ba3d177212d71667104767c308451 (patch)
tree6aa52b1cb005fc0ec328397993965f4cca3871db /gcc/config/m68k
parent91aba934ea56cc649baee2ead192464a43d32cfc (diff)
downloadppe42-gcc-2a9840b17e3ba3d177212d71667104767c308451.tar.gz
ppe42-gcc-2a9840b17e3ba3d177212d71667104767c308451.zip
* config/m68k/m68k.c (m68k_output_addr_const_extra): Add cast to
enum type. (m68k_sched_attr_opx_type): Remove unreachable return. (m68k_sched_attr_opy_type): Likewise. (m68k_sched_attr_size): Likewise. (sched_get_opxy_mem_type): Likewise. (m68k_sched_attr_op_mem): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161225 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r--gcc/config/m68k/m68k.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c
index 76be38d35a7..0ca5cd1d12a 100644
--- a/gcc/config/m68k/m68k.c
+++ b/gcc/config/m68k/m68k.c
@@ -4597,7 +4597,8 @@ m68k_output_addr_const_extra (FILE *file, rtx x)
case UNSPEC_RELOC16:
case UNSPEC_RELOC32:
output_addr_const (file, XVECEXP (x, 0, 0));
- fputs (m68k_get_reloc_decoration (INTVAL (XVECEXP (x, 0, 1))), file);
+ fputs (m68k_get_reloc_decoration
+ ((enum m68k_reloc) INTVAL (XVECEXP (x, 0, 1))), file);
return true;
default:
@@ -5609,7 +5610,6 @@ m68k_sched_attr_opx_type (rtx insn, int address_p)
default:
gcc_unreachable ();
- return 0;
}
}
@@ -5653,7 +5653,6 @@ m68k_sched_attr_opy_type (rtx insn, int address_p)
default:
gcc_unreachable ();
- return 0;
}
}
@@ -5759,7 +5758,6 @@ m68k_sched_attr_size (rtx insn)
default:
gcc_unreachable ();
- return 0;
}
}
@@ -5791,7 +5789,6 @@ sched_get_opxy_mem_type (rtx insn, bool opx_p)
default:
gcc_unreachable ();
- return 0;
}
}
else
@@ -5817,7 +5814,6 @@ sched_get_opxy_mem_type (rtx insn, bool opx_p)
default:
gcc_unreachable ();
- return 0;
}
}
}
@@ -5850,7 +5846,6 @@ m68k_sched_attr_op_mem (rtx insn)
default:
gcc_unreachable ();
- return 0;
}
}
@@ -5869,7 +5864,6 @@ m68k_sched_attr_op_mem (rtx insn)
default:
gcc_unreachable ();
- return 0;
}
}
OpenPOWER on IntegriCloud