https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89663

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 12:16:43 2019
New Revision: 275128

URL: https://gcc.gnu.org/viewcvs?rev=275128&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-7-branch/gcc/testsuite/gcc.c-torture/compile/pr89663-1.c
    branches/gcc-7-branch/gcc/testsuite/gcc.c-torture/compile/pr89663-2.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/builtins.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to