public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/54844] New: ice tsubst_copy, at cp/pt.c:12352
@ 2012-10-07  9:45 dcb314 at hotmail dot com
  2012-10-07 11:32 ` [Bug c++/54844] " markus at trippelsdorf dot de
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: dcb314 at hotmail dot com @ 2012-10-07  9:45 UTC (permalink / raw)
  To: gcc-bugs


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.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-10-24  9:51 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-07  9:45 [Bug c++/54844] New: ice tsubst_copy, at cp/pt.c:12352 dcb314 at hotmail dot com
2012-10-07 11:32 ` [Bug c++/54844] " markus at trippelsdorf dot de
2012-10-08 12:04 ` [Bug c++/54844] [4.8 Regression] " rguenth at gcc dot gnu.org
2012-10-08 12:10 ` paolo.carlini at oracle dot com
2012-10-14 22:50 ` paolo.carlini at oracle dot com
2012-10-14 23:23 ` paolo.carlini at oracle dot com
2012-10-15 10:15 ` jakub at gcc dot gnu.org
2012-10-20  2:23 ` bangerth at gmail dot com
2012-10-20  6:56 ` jakub at gcc dot gnu.org
2012-10-20 15:26 ` vincenzo.innocente at cern dot ch
2012-10-22 11:59 ` bangerth at gmail dot com
2012-10-22 12:04 ` jakub at gcc dot gnu.org
2012-10-22 13:05 ` bangerth at gmail dot com
2012-10-23 18:05 ` jakub at gcc dot gnu.org
2012-10-24  9:51 ` jakub 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).