From 1160f9ec40741043e1052685b40dba2f89d40376 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 Feb 1998 20:17:30 +0000 Subject: [PATCH] tree.c (contains_placeholder_p): Ensure function always returns a value. * tree.c (contains_placeholder_p): Ensure function always returns a value. * sparc.md (movdi_sp64_insn): Add default case in enumeration switch. (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise. From-SVN: r18196 --- gcc/ChangeLog | 7 +++++++ gcc/config/sparc/sparc.md | 8 ++++++++ gcc/tree.c | 1 + 3 files changed, 16 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f8357d57c75..939bb795832 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +Sun Feb 22 21:16:51 1998 Bruno Haible + + * tree.c (contains_placeholder_p): Ensure function always returns + a value. + * sparc.md (movdi_sp64_insn): Add default case in enumeration switch. + (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise. + Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com) * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly. diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index 55d9b50c42e..e4057dd27d7 100644 --- a/gcc/config/sparc/sparc.md +++ b/gcc/config/sparc/sparc.md @@ -2246,6 +2246,8 @@ return \"ldd %1,%0\"; case 6: return \"std %1,%0\"; + default: + abort (); } }" [(set_attr "type" "move,move,load,store,fp,fpload,fpstore") @@ -2327,6 +2329,8 @@ return \"st %%g0,%0\"; case 3: return \"fzeros %0\"; + default: + abort (); } }" [(set_attr "type" "load,fpload,store,fpmove") @@ -2414,6 +2418,8 @@ } case 3: return \"fzero %0\"; + default: + abort (); } }" [(set_attr "type" "load,fpload,store,fpmove") @@ -2539,6 +2545,8 @@ operands[3] = adj_offsettable_operand (operands[0], 12); return \"st %%g0,%0\;st %%g0,%1\;st %%g0,%2\;st %%g0,%3\"; } + default: + abort (); } }" [(set_attr "type" "load,fpload,store") diff --git a/gcc/tree.c b/gcc/tree.c index d33563bb314..29d7dd11107 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -2573,6 +2573,7 @@ contains_placeholder_p (exp) default: return 0; } + return 0; } /* Return 1 if EXP contains any expressions that produce cleanups for an -- 2.30.2