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++/42713] [4.5 Regression] ICE - segfault in tsubst
Date: Thu, 28 Jan 2010 12:30:00 -0000	[thread overview]
Message-ID: <20100128123010.21350.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42713-11764@http.gcc.gnu.org/bugzilla/>



------- Comment #6 from dodji at gcc dot gnu dot org  2010-01-28 12:30 -------
Subject: Bug 42713

Author: dodji
Date: Thu Jan 28 12:29:52 2010
New Revision: 156316

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

gcc/cp/ChangeLog:
        PR c++/42713
        PR c++/42820
        * typeck.c (get_template_parms_of_dependent_type): Factorized
        this out of incompatible_template_type_parms_p
        (incompatible_dependent_types_p): Renamed
        incompatible_template_type_parms_p into this. Make it detect
        two incompatible dependent typedefs too.
        (structural_comptypes): Use incompatible_dependent_types_p.
        * pt.c (get_template_info):
        Handle BOUND_TEMPLATE_TEMPLATE_PARAM.

gcc/testsuite/ChangeLog:
        PR c++/42713
        PR c++/42820
        * g++.dg/template/typedef27.C: New test case.
        * g++.dg/template/typedef28.C: New test case.

Added:
    trunk/gcc/testsuite/g++.dg/template/typedef27.C
    trunk/gcc/testsuite/g++.dg/template/typedef28.C
    trunk/gcc/testsuite/g++.dg/template/typedef29.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=42713


  parent reply	other threads:[~2010-01-28 12:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-12 16:46 [Bug other/42713] New: " doko at ubuntu dot com
2010-01-12 16:47 ` [Bug other/42713] " doko at ubuntu dot com
2010-01-13  5:17 ` hjl dot tools at gmail dot com
2010-01-13  5:19 ` hjl dot tools at gmail dot com
2010-01-13 15:33 ` [Bug c++/42713] " dodji at gcc dot gnu dot org
2010-01-14 14:40 ` dodji at gcc dot gnu dot org
2010-01-14 15:56 ` dodji at gcc dot gnu dot org
2010-01-14 16:40 ` rguenth at gcc dot gnu dot org
2010-01-26 14:13 ` dodji at gcc dot gnu dot org
2010-01-28 12:30 ` dodji at gcc dot gnu dot org [this message]
2010-01-28 12:31 ` dodji at gcc dot gnu dot org
2010-02-07  4:46 ` 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=20100128123010.21350.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).