public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dodji at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/42634] ICE with -g -O2 -std=c++0x   in copy_fn_p, at cp/decl.c:9973
Date: Mon, 18 Jan 2010 21:19:00 -0000	[thread overview]
Message-ID: <20100118211903.21682.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42634-8535@http.gcc.gnu.org/bugzilla/>



------- Comment #12 from dodji at gcc dot gnu dot org  2010-01-18 21:19 -------
Subject: Bug 42634

Author: dodji
Date: Mon Jan 18 21:18:49 2010
New Revision: 156022

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156022
Log:
Fix PR c++/42634

gcc/cp/ChangeLog:
    PR c++/42634
    * error.c (dump_template_parms): Use innermost template
    arguments before calling count_non_default_template_args.
    (count_non_default_template_args): We are being called with
    template innermost arguments now. There is no need to ensure
    that again.

gcc/testsuite/ChangeLog:
    PR c++/42634
    * g++.dg/template/error45.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/template/error45.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/error.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42634


  parent reply	other threads:[~2010-01-18 21:19 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-06 14:13 [Bug c++/42634] New: " wouter dot vermaelen at scarlet dot be
2010-01-06 16:30 ` [Bug c++/42634] " rguenth at gcc dot gnu dot org
2010-01-06 22:50 ` bkoz at gcc dot gnu dot org
2010-01-06 22:51 ` bkoz at gcc dot gnu dot org
2010-01-07 20:07 ` dodji at gcc dot gnu dot org
2010-01-09 19:59 ` dodji at gcc dot gnu dot org
2010-01-12 13:40 ` doko at ubuntu dot com
2010-01-13 20:07 ` dodji at gcc dot gnu dot org
2010-01-13 20:08 ` dodji at gcc dot gnu dot org
2010-01-15 11:24 ` dodji at gcc dot gnu dot org
2010-01-15 11:29 ` dodji at gcc dot gnu dot org
2010-01-18 10:08 ` rguenth at gcc dot gnu dot org
2010-01-18 11:24 ` dodji at gcc dot gnu dot org
2010-01-18 21:19 ` dodji at gcc dot gnu dot org [this message]
2010-01-18 23:14 ` dodji at gcc dot gnu dot org
2010-01-19 15:39 ` dodji at gcc dot gnu dot org
2010-01-29 14:31 ` dodji at gcc dot gnu dot org
2010-01-29 16:07 ` dodji at gcc dot gnu dot org
2010-02-07  3:56 ` hjl dot tools at gmail dot com
2010-02-07  4:47 ` hjl at gcc dot gnu dot 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=20100118211903.21682.qmail@sourceware.org \
    --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).