From: Paolo Carlini Date: Fri, 22 Feb 2019 23:16:14 +0000 (+0000) Subject: re PR c++/84676 (internal compiler error: Segmentation fault (build_new_op_1)) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=01d3d58151a8e8f21e92b4b29069be6fe6af7057;p=gcc.git re PR c++/84676 (internal compiler error: Segmentation fault (build_new_op_1)) 2019-02-22 Paolo Carlini PR c++/84676 * g++.dg/cpp0x/pr84676.C: New. From-SVN: r269138 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8d19215db76..4d3d307d4a6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-02-22 Paolo Carlini + + PR c++/84676 + * g++.dg/cpp0x/pr84676.C: New. + 2019-02-22 Martin Sebor * gcc.dg/tree-ssa/builtin-sprintf-10.c: Cast wchar_t to wint_t diff --git a/gcc/testsuite/g++.dg/cpp0x/pr84676.C b/gcc/testsuite/g++.dg/cpp0x/pr84676.C new file mode 100644 index 00000000000..94d86716649 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/pr84676.C @@ -0,0 +1,4 @@ +// { dg-do compile { target c++11 } } + +int a; +void b(__attribute__((c([](int *) {} (a == (0 = auto)))))); // { dg-error "" }