This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58706] ICE with lambda in OpenMP for-loop
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 07 Aug 2016 18:02:31 +0000
- Subject: [Bug c++/58706] ICE with lambda in OpenMP for-loop
- Auto-submitted: auto-generated
- References: <bug-58706-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58706
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-08-07
Ever confirmed|0 |1
Known to fail| |6.1.0
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed:
t88.cc: In instantiation of 'void foo() [with T = int]':
t88.cc:10:12: required from here
t88.cc:3:9: internal compiler error: in tsubst_copy, at cp/pt.c:14042
#pragma omp for
^~~
0x5d0f73 tsubst_copy
../../gcc/gcc/cp/pt.c:14040
0x5d16b3 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
../../gcc/gcc/cp/pt.c:16992
0x5cbcd3 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/gcc/cp/pt.c:15801
0x5ccc6f tsubst_omp_for_iterator
../../gcc/gcc/cp/pt.c:14880
0x5ccc6f tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/gcc/cp/pt.c:15524
0x5cc44f tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/gcc/cp/pt.c:15289
0x5e6987 instantiate_decl(tree_node*, int, bool)
../../gcc/gcc/cp/pt.c:22013
0x5e875f instantiate_pending_templates(int)
../../gcc/gcc/cp/pt.c:22130
0x607d1b c_parse_final_cleanups()
../../gcc/gcc/cp/decl2.c:4599
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.