]> gcc.gnu.org Git - gcc.git/commitdiff
tree.c (contains_placeholder_p): Ensure function always returns a value.
authorBruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
Sun, 22 Feb 1998 20:17:30 +0000 (20:17 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 22 Feb 1998 20:17:30 +0000 (13:17 -0700)
        * 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
gcc/config/sparc/sparc.md
gcc/tree.c

index f8357d57c757136a7ca4f9c65095ec5eff6c547c..939bb7958329f8ba3652495f691121d16dc06af5 100644 (file)
@@ -1,3 +1,10 @@
+Sun Feb 22 21:16:51 1998  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>
+
+       * 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.
index 55d9b50c42e5e8aaf8657f33378d298ec993c398..e4057dd27d7ea33df7f8e7fe70812d9377d7064f 100644 (file)
       return \"ldd %1,%0\";
     case 6:
       return \"std %1,%0\";
+    default:
+      abort ();
     }
 }"
   [(set_attr "type" "move,move,load,store,fp,fpload,fpstore")
       return \"st %%g0,%0\";
     case 3:
       return \"fzeros %0\";
+    default:
+      abort ();
     }
 }"
   [(set_attr "type" "load,fpload,store,fpmove")
        }
     case 3:
       return \"fzero %0\";
+    default:
+      abort ();
     }
 }"
   [(set_attr "type" "load,fpload,store,fpmove")
          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")
index d33563bb31478b95a508c41e049908485040ba26..29d7dd1110700fd988fdd9bb9b75e4f6273af00f 100644 (file)
@@ -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
This page took 0.083497 seconds and 5 git commands to generate.