public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8572: [3.3 regression] ICE with external definition of conversion operator to internal class within template class
@ 2002-12-23 5:45 nathan
0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2002-12-23 5:45 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, llib, nathan
Synopsis: [3.3 regression] ICE with external definition of conversion operator to internal class within template class
State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Mon Dec 23 05:44:57 2002
State-Changed-Why:
2002-12-22 Nathan Sidwell <nathan@codesourcery.com>
PR c++/8572
* cp-tree.h (grokoptypename): Add SCOPE parameter.
* decl2.c (grokoptypename): Add SCOPE parameter. tsubst the type
if in a template scope.
* parse.y (unoperator): Return the scope.
(operator_name): Adjust grokoptypename call.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8572
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/8572: [3.3 regression] ICE with external definition of conversion operator to internal class within template class
@ 2002-12-12 2:54 nathan
0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2002-12-12 2:54 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, llib, nathan, nobody
Synopsis: [3.3 regression] ICE with external definition of conversion operator to internal class within template class
Responsible-Changed-From-To: unassigned->nathan
Responsible-Changed-By: nathan
Responsible-Changed-When: Thu Dec 12 02:54:08 2002
Responsible-Changed-Why:
this is a dup of 8702, but has another test case at least
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8572
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/8572: [3.3 regression] ICE with external definition of conversion operator to internal class within template class
@ 2002-12-11 16:56 Janis Johnson
0 siblings, 0 replies; 3+ messages in thread
From: Janis Johnson @ 2002-12-11 16:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/8572; it has been noted by GNATS.
From: Janis Johnson <janis187@us.ibm.com>
To: llib@computer.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:
Subject: Re: c++/8572: [3.3 regression] ICE with external definition of
conversion operator to internal class within template class
Date: Wed, 11 Dec 2002 16:50:34 -0800
The regression reported in PR c++/8572 showed up starting with this
patch, which might merely uncover an existing problem:
2002-03-20 Nathan Sidwell <nathan@codesourcery.com>
PR c++/4361
* mangle.c (struct globals) Add internal_mangling_p member.
(write_template_param): Do internal mangling, if needed.
(mangle_conv_op_name_for_type): Request internal mangling.
Here's a small test case that causes the ICE, which occurs in the
mainline but not in the 3.2 branch:
---------------
template <typename T> struct A
{
struct B { B() {} };
operator B* () const;
};
template <typename T> A<T>::operator typename A<T>::B*() const { return
0;
}
---------------
Compiler output from the mainline with this test:
8572.C:7: internal compiler error: in mangle_conv_op_name_for_type, at
cp/mangle.c:2612
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8572
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-23 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-23 5:45 c++/8572: [3.3 regression] ICE with external definition of conversion operator to internal class within template class nathan
-- strict thread matches above, loose matches on Subject: below --
2002-12-12 2:54 nathan
2002-12-11 16:56 Janis Johnson
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).