re PR middle-end/89663 (ICE in expand_builtin_int_roundingfn_2, at builtins.c:2831)
authorJakub Jelinek <jakub@redhat.com>
Tue, 12 Mar 2019 08:17:08 +0000 (09:17 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 12 Mar 2019 08:17:08 +0000 (09:17 +0100)
commit1c178a5af523f2baf7c0501f86190ea3e2a45cbf
tree938facc11da501295d6f5253ed80ba26fa542a3e
parentd9e1f37fad2db0cd749cd5c6f9e94972c8472610
re PR middle-end/89663 (ICE in expand_builtin_int_roundingfn_2, at builtins.c:2831)

PR middle-end/89663
* builtins.c (expand_builtin_int_roundingfn,
expand_builtin_int_roundingfn_2): Return NULL_RTX instead of
gcc_unreachable if validate_arglist fails.

* gcc.c-torture/compile/pr89663-1.c: New test.
* gcc.c-torture/compile/pr89663-2.c: New test.

From-SVN: r269605
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr89663-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/pr89663-2.c [new file with mode: 0644]