* alpha.c (check_float_value): Use memcpy, not bcopy.
* m32r.c (m32r_sched_reorder): Likewise.
* vax.c (check_float_value): Likewise.
From-SVN: r40370
+2001-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * alpha.c (check_float_value): Use memcpy, not bcopy.
+
+ * m32r.c (m32r_sched_reorder): Likewise.
+
+ * vax.c (check_float_value): Likewise.
+
2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
* toplev.c (file_name_nondirectory): Remove.
memcpy (&r, d, sizeof (REAL_VALUE_TYPE));
if (REAL_VALUES_LESS (fvptr[0], r))
{
- bcopy ((char *) &fvptr[0], (char *) d,
- sizeof (REAL_VALUE_TYPE));
+ memcpy (d, &fvptr[0], sizeof (REAL_VALUE_TYPE));
return 1;
}
else if (REAL_VALUES_LESS (r, fvptr[1]))
{
- bcopy ((char *) &fvptr[1], (char *) d,
- sizeof (REAL_VALUE_TYPE));
+ memcpy (d, &fvptr[1], sizeof (REAL_VALUE_TYPE));
return 1;
}
else if (REAL_VALUES_LESS (dconst0, r)
&& REAL_VALUES_LESS (r, fvptr[2]))
{
- bcopy ((char *) &dconst0, (char *) d, sizeof (REAL_VALUE_TYPE));
+ memcpy (d, &dconst0, sizeof (REAL_VALUE_TYPE));
return 1;
}
else if (REAL_VALUES_LESS (r, dconst0)
&& REAL_VALUES_LESS (fvptr[3], r))
{
- bcopy ((char *) &dconst0, (char *) d, sizeof (REAL_VALUE_TYPE));
+ memcpy (d, &dconst0, sizeof (REAL_VALUE_TYPE));
return 1;
}
}
if (new_tail+1 != new_head)
abort ();
- bcopy ((char *) new_head, (char *) ready, sizeof (rtx) * n_ready);
+ memcpy (ready, new_head, sizeof (rtx) * n_ready);
if (stream)
{
#ifdef HAIFA
if (overflow)
{
- bcopy ((char *) &float_values[0], (char *) d, sizeof (REAL_VALUE_TYPE));
+ memcpy (d, &float_values[0], sizeof (REAL_VALUE_TYPE));
return 1;
}
memcpy (&r, d, sizeof (REAL_VALUE_TYPE));
if (REAL_VALUES_LESS (float_values[0], r))
{
- bcopy ((char *) &float_values[0], (char *) d,
- sizeof (REAL_VALUE_TYPE));
+ memcpy (d, &float_values[0], sizeof (REAL_VALUE_TYPE));
return 1;
}
else if (REAL_VALUES_LESS (r, float_values[1]))
{
- bcopy ((char *) &float_values[1], (char*) d,
- sizeof (REAL_VALUE_TYPE));
+ memcpy (d, &float_values[1], sizeof (REAL_VALUE_TYPE));
return 1;
}
else if (REAL_VALUES_LESS (dconst0, r)
&& REAL_VALUES_LESS (r, float_values[2]))
{
- bcopy ((char *) &dconst0, (char *) d, sizeof (REAL_VALUE_TYPE));
+ memcpy (d, &dconst0, sizeof (REAL_VALUE_TYPE));
return 1;
}
else if (REAL_VALUES_LESS (r, dconst0)
&& REAL_VALUES_LESS (float_values[3], r))
{
- bcopy ((char *) &dconst0, (char *) d, sizeof (REAL_VALUE_TYPE));
+ memcpy (d, &dconst0, sizeof (REAL_VALUE_TYPE));
return 1;
}
}