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 middle-end/66345] [5/6 Regression] internal compiler error: Segmentation fault


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

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Jun  2 09:13:29 2015
New Revision: 224016

URL: https://gcc.gnu.org/viewcvs?rev=224016&root=gcc&view=rev
Log:
        PR middle-end/66345
        * gimple-fold.c (gimple_fold_builtin_snprintf): Return false if
        get_maxval_strlen does not produce an INTEGER_CST.

        * gcc.dg/torture/pr66345.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr66345.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/testsuite/ChangeLog


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