https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89663
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Apr 30 20:41:09 2019 New Revision: 270725 URL: https://gcc.gnu.org/viewcvs?rev=270725&root=gcc&view=rev Log: Backported from mainline 2019-03-12 Jakub Jelinek <ja...@redhat.com> 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. Added: branches/gcc-8-branch/gcc/testsuite/gcc.c-torture/compile/pr89663-1.c branches/gcc-8-branch/gcc/testsuite/gcc.c-torture/compile/pr89663-2.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/builtins.c branches/gcc-8-branch/gcc/testsuite/ChangeLog