[Bug c++/84661] [6/7/8 Regression] internal compiler error: Segmentation fault (strip_array_types())
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 2 11:22:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84661
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
ICEs starting with r208426, before that we rejected it with:
pr84661.C:3:36: error: expected primary-expression before ‘auto’
void foo (decltype(((a = 0) || ((auto)))));
^
pr84661.C:3:36: error: expected ‘)’ before ‘auto’
pr84661.C:3:45: error: expected ‘)’ before ‘;’ token
void foo (decltype(((a = 0) || ((auto)))));
^
pr84661.C:3:45: error: expected ‘)’ before ‘;’ token
pr84661.C:3:45: error: expected ‘)’ before ‘;’ token
pr84661.C:3:13: error: expected identifier before ‘decltype’
void foo (decltype(((a = 0) || ((auto)))));
^
pr84661.C:3:36: error: expected primary-expression before ‘auto’
void foo (decltype(((a = 0) || ((auto)))));
^
pr84661.C:3:36: error: expected ‘)’ before ‘auto’
pr84661.C:3:45: error: expected ‘)’ before ‘;’ token
void foo (decltype(((a = 0) || ((auto)))));
^
pr84661.C:3:45: error: expected ‘)’ before ‘;’ token
pr84661.C:3:45: error: expected ‘)’ before ‘;’ token
pr84661.C:3:13: error: expected ‘,’ or ‘...’ before ‘decltype’
void foo (decltype(((a = 0) || ((auto)))));
^
I guess this is a dup of PR84642 and PR84647 though.
More information about the Gcc-bugs
mailing list