[patch] Fix PR middle-end/98099

Christophe Lyon christophe.lyon@linaro.org
Fri Dec 4 09:22:01 GMT 2020


On Thu, 3 Dec 2020 at 13:33, Richard Biener via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> On Thu, Dec 3, 2020 at 11:49 AM Eric Botcazou <botcazou@adacore.com> wrote:
> >
> > Hi,
> >
> > this replaces the ICE by a sorry message for the use of reverse scalar storage
> > order with a 128-bit decimal floating-point type on 32-bit platforms.
> >
> > Tested on x86-64/Linux, OK for the mainline?
>
> OK.
>
> Richard.
>
> >
> > 2020-12-03  Eric Botcazou  <ebotcazou@adacore.com>
> >
> >         * expmed.c (flip_storage_order): In the case of a non-integer mode,
> >         sorry out if the integer mode to be used instead is not supported.
> >
> >
> > 2020-12-03  Eric Botcazou  <ebotcazou@adacore.com>
> >
> >         * gcc.dg/pr98099.c: New test.
> >

I think you need to add an effective-target check, because the new test
fails on aarch64/arm:
FAIL: gcc.dg/pr98099.c (test for excess errors)
Excess errors:
/gcc/testsuite/gcc.dg/pr98099.c:7:12: error: decimal floating-point
not supported for this target
/gcc/testsuite/gcc.dg/pr98099.c:9:1: error: decimal floating-point not
supported for this target


Christophe

> > --
> > Eric Botcazou


More information about the Gcc-patches mailing list