From d75339964087044097b1d02c6c329e4bbdfab591 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Tue, 26 Mar 2019 10:16:13 +0000 Subject: [PATCH] re PR c++/84598 (internal compiler error: Segmentation fault (cp_default_conversion())) 2019-03-26 Paolo Carlini PR c++/84598 * g++.dg/ext/pr84598.C: New. From-SVN: r269936 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/ext/pr84598.C | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 gcc/testsuite/g++.dg/ext/pr84598.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f5d92b6704c..56871ba51f9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-03-26 Paolo Carlini + + PR c++/84598 + * g++.dg/ext/pr84598.C: New. + 2019-03-26 Jakub Jelinek PR c++/89796 diff --git a/gcc/testsuite/g++.dg/ext/pr84598.C b/gcc/testsuite/g++.dg/ext/pr84598.C new file mode 100644 index 00000000000..05016b82b8c --- /dev/null +++ b/gcc/testsuite/g++.dg/ext/pr84598.C @@ -0,0 +1,3 @@ +// { dg-options "-fpermissive -w" } + +template __attribute__ a([] { class c, __attribute__(vector_size(operator+()))) d; // { dg-error "expected" } -- 2.30.2