--- gcc/config/romp/romp.c 2018/04/24 18:16:19 1.1.1.2 +++ gcc/config/romp/romp.c 2018/04/24 18:30:15 1.1.1.3 @@ -16,7 +16,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ #include @@ -1442,11 +1443,11 @@ hash_rtx (x) if (fmt[i] == 'e') hash += hash_rtx (XEXP (x, i)); else if (fmt[i] == 'u') - hash += (int) XEXP (x, i); + hash += (unsigned HOST_WIDE_INT) XEXP (x, i); else if (fmt[i] == 'i') hash += XINT (x, i); else if (fmt[i] == 's') - hash += (int) XSTR (x, i); + hash += (unsigned HOST_WIDE_INT) XSTR (x, i); return hash; } @@ -1952,7 +1953,8 @@ output_fpops (file) { union real_extract u; - bcopy (&CONST_DOUBLE_LOW (immed[i]), &u, sizeof u); + bcopy ((char *) &CONST_DOUBLE_LOW (immed[i]), + (char *) &u, sizeof u); if (GET_MODE (immed[i]) == DFmode) ASM_OUTPUT_DOUBLE (file, u.d); else