public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/54844] New: ice tsubst_copy, at cp/pt.c:12352
Date: Sun, 07 Oct 2012 09:45:00 -0000	[thread overview]
Message-ID: <bug-54844-4@http.gcc.gnu.org/bugzilla/> (raw)


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.


             reply	other threads:[~2012-10-07  9:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-07  9:45 dcb314 at hotmail dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-54844-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).