public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/95930] New: ICE: Segmentation fault signal terminated program cc1plus
@ 2020-06-27 3:11 haoxintu at gmail dot com
2020-07-08 22:39 ` [Bug c++/95930] " mpolacek at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: haoxintu at gmail dot com @ 2020-06-27 3:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95930
Bug ID: 95930
Summary: ICE: Segmentation fault signal terminated program
cc1plus
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: haoxintu at gmail dot com
Target Milestone: ---
This code, bug.cc, reduced by C-Reduce, makes GCC-trunk ICE with Segmentation
fault signal terminated program cc1plus.
$cat bug.cc
long a = [] ( class {
$g++ bug.cc
bug.cc:1:24: error: types may not be defined in parameter types
1 | long a = [] ( class {
| ^
bug.cc:2: error: expected ‘}’ at end of input
bug.cc:1:24: note: to match this ‘{’
1 | long a = [] ( class {
| ^
bug.cc:2: error: expected ‘,’ or ‘...’ at end of input
bug.cc:1:25: error: expected ‘)’ at end of input
1 | long a = [] ( class {
| ~ ^
| )
g++: internal compiler error: Segmentation fault signal terminated program
cc1plus
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
$g++ --version
g++ (GCC) 11.0.0 20200626 (experimental)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-08 22:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-27 3:11 [Bug c++/95930] New: ICE: Segmentation fault signal terminated program cc1plus haoxintu at gmail dot com
2020-07-08 22:39 ` [Bug c++/95930] " mpolacek at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).