public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99717] New: ICE in finish_expr_stmt, at cp/semantics.c:681
@ 2021-03-22 15:49 jmullee at yahoo dot com
2023-07-10 5:18 ` [Bug c++/99717] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: jmullee at yahoo dot com @ 2021-03-22 15:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99717
Bug ID: 99717
Summary: ICE in finish_expr_stmt, at cp/semantics.c:681
Product: gcc
Version: 9.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jmullee at yahoo dot com
Target Milestone: ---
Created attachment 50448
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50448&action=edit
g++ -v, specs, src files, etc
I wasn't able to make it happen again, but the circumstances were:
- using g++ precompiled headers
- incrementally editing an include file, replacing ints with enums (which get
used in a #def macro)
- using CGAL, a header-only library with many templates etc
error:
-----------------------
$ make -f tryMakefile && ./try_hilbersort
g++ -I/opt/CGAL/cgal-5.2.1/include -c -o try_hilbersort.o
try_hilbersort.cpp
In file included from /opt/CGAL/cgal-5.2.1/include/CGAL/basic.h:31,
from
/opt/CGAL/cgal-5.2.1/include/CGAL/HalfedgeDS_vector.h:23,
from try_hilbersort.h:2:
/opt/CGAL/cgal-5.2.1/include/CGAL/Polyhedron_incremental_builder_3.h: In
instantiation of
‘CGAL::Polyhedron_incremental_builder_3<HalfedgeDS_>::Polyhedron_incremental_builder_3(CGAL::Polyhedron_incremental_builder_3<HalfedgeDS_>::HDS&,
bool) [with HalfedgeDS_ = CGAL::HalfedgeDS_default<Traits>;
CGAL::Polyhedron_incremental_builder_3<HalfedgeDS_>::HDS =
CGAL::HalfedgeDS_default<Traits>]’:
/opt/CGAL/cgal-5.2.1/include/CGAL/IO/Polyhedron_builder_from_STL.h:42:49:
required from ‘void CGAL::Polyhedron_builder_from_STL<HDS>::operator()(HDS&)
[with HDS = CGAL::HalfedgeDS_default<Traits>]’
try_hilbersort.cpp:44:14: required from here
/opt/CGAL/cgal-5.2.1/include/CGAL/Polyhedron_incremental_builder_3.h:193:29:
internal compiler error: in finish_expr_stmt, at cp/semantics.c:681
193 | CGAL_assertion_code(check_protocoll = protocoll::created;)
// Polyhedron_incremental_builder_3::CTOR
| ^~~~~~~~~~~~~~~
/opt/CGAL/cgal-5.2.1/include/CGAL/assertions.h:103:37: note: in definition
of macro ‘CGAL_assertion_code’
103 | # define CGAL_assertion_code(CODE) CODE
| ^~~~
Please submit a full bug report,
-----------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-10 5:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-22 15:49 [Bug c++/99717] New: ICE in finish_expr_stmt, at cp/semantics.c:681 jmullee at yahoo dot com
2023-07-10 5:18 ` [Bug c++/99717] " pinskia 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).