[PATCH, testsuite]: Use int128 effective target for gcc.dg/pr87874.c

Christophe Lyon christophe.lyon@linaro.org
Thu Nov 8 15:31:00 GMT 2018


On Thu, 8 Nov 2018 at 15:11, Uros Bizjak <ubizjak@gmail.com> wrote:
>
> On Thu, Nov 8, 2018 at 1:29 PM Christophe Lyon
> <christophe.lyon@linaro.org> wrote:
> >
> > On Wed, 7 Nov 2018 at 16:50, Uros Bizjak <ubizjak@gmail.com> wrote:
> > >
> > > 2018-11-07  Uros Bizjak  <ubizjak@gmail.com>
> > >
> > >     * gcc.dg/pr87874.c: Compile only for int128 effective target.
> > >
> > > Tested on x86_64-linux-gnu {,-m32} and committed to mainline SVN.
> > >
> >
> > This doesn't work on aarch64 -mabi=ilp32:
> > /gcc/testsuite/gcc.dg/pr87874.c: In function 'em':
> > /gcc/testsuite/gcc.dg/pr87874.c:19:50: warning: conversion from 'long
> > long unsigned int' to 'long unsigned int' changes value from
> > '18446744073709551615' to '4294967295' [-Woverflow]
> > FAIL: gcc.dg/pr87874.c (test for excess errors)
>
> Does attached patch works for you?
>

Yes, thanks.

> Uros.



More information about the Gcc-patches mailing list