[Bug tree-optimization/92930] [8/9 Regression] GCC incorrectly optimizes away __builtin_apply() calls

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 20 17:44:00 GMT 2019


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Dec 20 17:44:16 2019
New Revision: 279674

URL: https://gcc.gnu.org/viewcvs?rev=279674&root=gcc&view=rev
Log:
        Backported from mainline
        2019-12-14  Jakub Jelinek  <jakub@redhat.com>

        PR tree-optimization/92930
        * ipa-pure-const.c (special_builtin_state): Don't handle
        BUILT_IN_APPLY.

        * gcc.dg/tree-ssa/pr92930.c: New test.

Added:
    branches/gcc-9-branch/gcc/testsuite/gcc.dg/tree-ssa/pr92930.c
Modified:
    branches/gcc-9-branch/gcc/ChangeLog
    branches/gcc-9-branch/gcc/ipa-pure-const.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list