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

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 14 11:19:00 GMT 2019


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Dec 14 11:18:30 2019
New Revision: 279394

URL: https://gcc.gnu.org/viewcvs?rev=279394&root=gcc&view=rev
Log:
        PR tree-optimization/92930
        * ipa-pure-const.c (special_builtin_state): Don't handle
        BUILT_IN_APPLY.  Formatting fixes.
        (check_call): Formatting fixes.

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

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


More information about the Gcc-bugs mailing list