* stor-layout.c (round_up): Check for 0/1 before dividing.
(round_down): Likewise.
From-SVN: r85792
2004-08-10 Richard Henderson <rth@redhat.com>
+ * stor-layout.c (round_up): Check for 0/1 before dividing.
+ (round_down): Likewise.
+
* tree-tailcall.c (suitable_for_tail_opt_p): Also check DECL_EXTERNAL.
2004-08-09 Mark Mitchell <mark@codesourcery.com>
{
tree t;
+ if (divisor == 0)
+ abort ();
+ if (divisor == 1)
+ return value;
+
/* If divisor is a power of two, simplify this to bit manipulation. */
if (divisor == (divisor & -divisor))
{
{
tree t;
+ if (divisor == 0)
+ abort ();
+ if (divisor == 1)
+ return value;
+
/* If divisor is a power of two, simplify this to bit manipulation. */
if (divisor == (divisor & -divisor))
{