Fix PR middle-end/98099
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 3 Dec 2020 14:54:14 +0000 (15:54 +0100)
committerEric Botcazou <ebotcazou@adacore.com>
Thu, 3 Dec 2020 14:56:34 +0000 (15:56 +0100)
commit277ff3406d533990e98cf1c2075b9dc9db6fa48a
tree229f7a096f2dd52560f46bffe6849a5fba6d7676
parent5d103763b9bc6a998dd4a453861663b229d7a24a
Fix PR middle-end/98099

this replaces the ICE by a sorry message for the use of reverse scalar
storage order with 128-bit decimal floating-point type on 32-bit targets.

gcc/ChangeLog:
PR middle-end/98099
* 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.

gcc/testsuite/ChangeLog:
* gcc.dg/pr98099.c: New test.
gcc/expmed.c
gcc/testsuite/gcc.dg/pr98099.c [new file with mode: 0644]