This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/64979] [4.8 Regression] stdarg optimization not able to find escape sites in phi nodes


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 12 12:17:41 2015
New Revision: 220645

URL: https://gcc.gnu.org/viewcvs?rev=220645&root=gcc&view=rev
Log:
    Backported from mainline
    2015-02-09  Jakub Jelinek  <jakub@redhat.com>

    PR target/64979
    * tree-stdarg.c (pass_stdarg::execute): Scan phi node args for
    va_list escapes.

    * gcc.dg/tree-ssa/stdarg-7.c: New test.
    * gcc.c-torture/execute/pr64979.c: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.c-torture/execute/pr64979.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/tree-ssa/stdarg-7.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_8-branch/gcc/tree-stdarg.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]