This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54844] New: ice tsubst_copy, at cp/pt.c:12352
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 07 Oct 2012 09:45:38 +0000
- Subject: [Bug c++/54844] New: ice tsubst_copy, at cp/pt.c:12352
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54844
Bug #: 54844
Summary: ice tsubst_copy, at cp/pt.c:12352
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dcb314@hotmail.com
Created attachment 28379
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28379
gzipped C++ source code
The original source code I provided for bug #46240 seems to
now cause an ice.
oct-norm.cc: In instantiation of âR vector_norm(const MArray<T>&, R) [with T =
double; R = double]â:
oct-norm.cc:521:75: required from here
oct-norm.cc:309:234: internal compiler error: in tsubst_copy, at cp/pt.c:12352
0x58361a tsubst_copy
../../src/trunk/gcc/cp/pt.c:12352
0x5745c2 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
../../src/trunk/gcc/cp/pt.c:13479
0x57321c tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
../../src/trunk/gcc/cp/pt.c:13504
0x574139 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
../../src/trunk/gcc/cp/pt.c:13459
0x5736c9 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
../../src/trunk/gcc/cp/pt.c:13863
0x57aa9a tsubst_expr
../../src/trunk/gcc/cp/pt.c:13159
0x57b61a tsubst_expr
../../src/trunk/gcc/cp/pt.c:12792
0x57b6ce tsubst_expr
../../src/trunk/gcc/cp/pt.c:12814
0x57c56d tsubst_expr
../../src/trunk/gcc/cp/pt.c:12800
0x57b6ce tsubst_expr
../../src/trunk/gcc/cp/pt.c:12814
0x57c56d tsubst_expr
../../src/trunk/gcc/cp/pt.c:12800
0x57b753 tsubst_expr
../../src/trunk/gcc/cp/pt.c:12630
0x57b6ce tsubst_expr
../../src/trunk/gcc/cp/pt.c:12814
0x579966 instantiate_decl(tree_node*, int, bool)
../../src/trunk/gcc/cp/pt.c:18635
0x5b3e33 instantiate_pending_templates(int)
../../src/trunk/gcc/cp/pt.c:18734
0x5ee1ae cp_write_global_declarations()
../../src/trunk/gcc/cp/decl2.c:3742
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.
No special compiler flags required.
This code used to compile with trunk dated 2012 Oct 03, so
a recent change seems to be causing the problem.
- Follow-Ups:
- [Bug c++/54844] ice tsubst_copy, at cp/pt.c:12352
- From: markus at trippelsdorf dot de
- [Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- From: rguenth at gcc dot gnu.org
- [Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- From: paolo.carlini at oracle dot com
- [Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- From: paolo.carlini at oracle dot com
- [Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- From: paolo.carlini at oracle dot com
- [Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- From: jakub at gcc dot gnu.org
- [Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- From: bangerth at gmail dot com
- [Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- From: jakub at gcc dot gnu.org
- [Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- From: vincenzo.innocente at cern dot ch
- [Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- From: bangerth at gmail dot com
- [Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- From: jakub at gcc dot gnu.org
- [Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- From: bangerth at gmail dot com
- [Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- From: jakub at gcc dot gnu.org
- [Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- From: jakub at gcc dot gnu.org