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 tree-optimization/80171] [5/6 Regression] ICE (Segmentation fault) with optimization


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

--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Mar 27 07:35:44 2017
New Revision: 246490

URL: https://gcc.gnu.org/viewcvs?rev=246490&root=gcc&view=rev
Log:
2017-03-27  Richard Biener  <rguenther@suse.de>

        PR middle-end/80171
        * gimple-fold.c (fold_ctor_reference): Properly guard against
        NULL return value from canonicalize_constructor_val.

        * g++.dg/torture/pr80171.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr80171.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]