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++/43206] [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249
Date: Thu, 25 Mar 2010 22:09:00 -0000	[thread overview]
Message-ID: <20100325220849.7179.qmail@sourceware.org> (raw)
In-Reply-To: <bug-43206-682@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from dodji at gcc dot gnu dot org  2010-03-25 22:08 -------
Subject: Bug 43206

Author: dodji
Date: Thu Mar 25 22:08:33 2010
New Revision: 157730

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157730
Log:
Fix candidate for PR c++/43206

gcc/cp/ChangeLog:
        PR c++/43206
        * cp-tree.h (get_template_parms_at_level): Declare ...
        * pt.c (get_template_parms_at_level): ... new function.
        * typeck.c (get_template_parms_of_dependent_type): If a template
        type parm's DECL_CONTEXT isn't yet set, get its siblings from
        current_template_parms. Use get_template_parms_at_level. Remove
        useless test.
        (incompatible_dependent_types_p): If we get empty parms from just one
        of the template type parms we are comparing then the template parms are
        incompatible.

gcc/testsuite/ChangeLog:
        PR c++/43206
        * g++.dg/template/typedef30.C: New test case.

Added:
    trunk/gcc/testsuite/g++.dg/template/typedef30.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


  parent reply	other threads:[~2010-03-25 22:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-28  0:07 [Bug c++/43206] New: " hjl dot tools at gmail dot com
2010-02-28  0:08 ` [Bug c++/43206] " hjl dot tools at gmail dot com
2010-03-01 10:59 ` rguenth at gcc dot gnu dot org
2010-03-01 12:10 ` rguenth at gcc dot gnu dot org
2010-03-03 15:43 ` dodji at gcc dot gnu dot org
2010-03-04 17:44 ` dodji at gcc dot gnu dot org
2010-03-05 20:40 ` dodji at gcc dot gnu dot org
2010-03-25 22:09 ` dodji at gcc dot gnu dot org [this message]
2010-03-26  0:27 ` hjl dot tools at gmail dot com
2010-03-26  9:30 ` dodji 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=20100325220849.7179.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).