public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7718: 'complex' template instantiation causes internal compiler error (gcc 3.1, gcc 3.2)
@ 2002-09-13 14:30 nathan
  0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2002-09-13 14:30 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, hg211, nathan, nobody

Synopsis: 'complex' template instantiation causes internal compiler error (gcc 3.1, gcc 3.2)

Responsible-Changed-From-To: unassigned->nathan
Responsible-Changed-By: nathan
Responsible-Changed-When: Fri Sep 13 14:30:53 2002
Responsible-Changed-Why:
    my tf_error patch broke it
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Fri Sep 13 14:30:53 2002
State-Changed-Why:
    confirmed as a regression

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7718


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

* Re: c++/7718: 'complex' template instantiation causes internal compiler error (gcc 3.1, gcc 3.2)
@ 2002-09-16 12:56 nathan
  0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2002-09-16 12:56 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, hg211, nathan

Synopsis: 'complex' template instantiation causes internal compiler error (gcc 3.1, gcc 3.2)

State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Mon Sep 16 12:56:42 2002
State-Changed-Why:
    2002-09-16  Nathan Sidwell  <nathan@codesourcery.com>
    
    	PR c++/7718
    	* pt.c (tsubst_decl): Remove assert.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7718


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

* c++/7718: 'complex' template instantiation causes internal compiler error (gcc 3.1, gcc 3.2)
@ 2002-08-25 17:36 hg211
  0 siblings, 0 replies; 3+ messages in thread
From: hg211 @ 2002-08-25 17:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7718
>Category:       c++
>Synopsis:       'complex' template instantiation causes internal compiler error (gcc 3.1, gcc 3.2)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 25 15:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Herman Geza
>Release:        gcc version 3.2 20020809 (Debian prerelease)
>Organization:
>Environment:
i386/Linux, AMD Athlon
>Description:
If you give a template function as a parameter to a template class, and call this template function in a template class-function (it's hard to describe)
gcc 3.1.1 and gcc 3.2 stops with
't.cpp:19: Internal compiler error in tsubst_decl, at cp/pt.c:5648'

Try the attached simple cpp file.

If the default_initializer template function is a simple non-template function, then the sample compiles.
>How-To-Repeat:
compile the sample with 'g++ t.cpp -c'
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="t.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="t.cpp"

dGVtcGxhdGUgPHR5cGVuYW1lIE9CSkVDVD4Kdm9pZCBkZWZhdWx0X2luaXRpYWxpemVyKGNvbnN0
IE9CSkVDVCAmKSB7IH0KCi8vdm9pZCBkZWZhdWx0X2luaXRpYWxpemVyKGNvbnN0IGludCAmKSB7
IH0KCnRlbXBsYXRlIDx0eXBlbmFtZSBPQkpFQ1QsIHZvaWQgaW5pdF9mdW5jdGlvbihjb25zdCBP
QkpFQ1QgJik+CmNsYXNzIGNDb250YWluZXIgewoJcHVibGljOgoJCXRlbXBsYXRlIDx0eXBlbmFt
ZSBJTklUSUFMSVpFUj4KCQl2b2lkIEFkZChjb25zdCBJTklUSUFMSVpFUiAmaW5pdGlhbGl6ZXIp
IHsKCQkJaW5pdF9mdW5jdGlvbihpbml0aWFsaXplcik7CgkJfQp9OwoKaW50IG1haW4oKSB7Cglj
Q29udGFpbmVyPGludCwgZGVmYXVsdF9pbml0aWFsaXplcjxpbnQ+ID4gYzsKCS8vY0NvbnRhaW5l
cjxpbnQsIGRlZmF1bHRfaW5pdGlhbGl6ZXIgPiBjOwoKCWMuQWRkPGludD4oNDIpOwoKCXJldHVy
biAwOwp9Cg==


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

end of thread, other threads:[~2002-09-16 19:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-13 14:30 c++/7718: 'complex' template instantiation causes internal compiler error (gcc 3.1, gcc 3.2) nathan
  -- strict thread matches above, loose matches on Subject: below --
2002-09-16 12:56 nathan
2002-08-25 17:36 hg211

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).