This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]