public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5750: g++ segfaults when using the gcc-extention of typeof() in a template class
@ 2002-05-20 7:04 lerdsuwa
0 siblings, 0 replies; 4+ messages in thread
From: lerdsuwa @ 2002-05-20 7:04 UTC (permalink / raw)
To: bjorn, gcc-bugs, gcc-prs, nobody
Synopsis: g++ segfaults when using the gcc-extention of typeof() in a template class
State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Mon May 20 07:04:36 2002
State-Changed-Why:
Confirmed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5750
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/5750: g++ segfaults when using the gcc-extention of typeof() in a template class
@ 2003-01-22 21:06 bangerth
0 siblings, 0 replies; 4+ messages in thread
From: bangerth @ 2003-01-22 21:06 UTC (permalink / raw)
To: bjorn, gcc-bugs, gcc-prs, nobody
Synopsis: g++ segfaults when using the gcc-extention of typeof() in a template class
State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Wed Jan 22 21:06:17 2003
State-Changed-Why:
Fixed for 3.4
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5750
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/5750: g++ segfaults when using the gcc-extention of typeof() in a template class
@ 2002-11-01 12:06 Wolfgang Bangerth
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Bangerth @ 2002-11-01 12:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/5750; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org, <gcc-bugs@gcc.gnu.org>
Cc:
Subject: Re: c++/5750: g++ segfaults when using the gcc-extention of typeof()
in a template class
Date: Fri, 1 Nov 2002 14:01:33 -0600 (CST)
Reduced testcase is
----------------------------------
template <class T> struct A {
static const int n = T::n;
};
template <class T> struct B {
typedef A<typeof(BOGUS)> X;
static const int m = X::n;
};
----------------------------------
May be related to c++/8007 and is probably a duplicate of 4526.
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth
^ permalink raw reply [flat|nested] 4+ messages in thread
* c++/5750: g++ segfaults when using the gcc-extention of typeof() in a template class
@ 2002-02-22 6:06 bjorn
0 siblings, 0 replies; 4+ messages in thread
From: bjorn @ 2002-02-22 6:06 UTC (permalink / raw)
To: gcc-gnats
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1515 bytes --]
>Number: 5750
>Category: c++
>Synopsis: g++ segfaults when using the gcc-extention of typeof() in a template class
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Fri Feb 22 04:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Björn Samuelsson
>Release: gcc version 3.0.3 gcc version 3.0.3
>Organization:
>Environment:
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/specs
Configured with: ../configure --prefix=/usr/local
Thread model: single
>Description:
fjuff.cc: In instantiation of `atom_chain<__typeof (base<Chain>::chain(>':
fjuff.cc:13: instantiated from here
fjuff.cc:4: Internal error: Segmentation fault
caused by use of typeof() to define a typedef inside
a template class
>How-To-Repeat:
g++ -c fjuff.i
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="fjuff.i"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="fjuff.i"
IyAxICJmanVmZi5jYyIKdGVtcGxhdGUgPGNsYXNzIEE+CnN0cnVjdCBhdG9tX2NoYWluCnsKICBz
dGF0aWMgY29uc3QgaW50IG4gPSBBOjpuOwp9OwoKdGVtcGxhdGUgPGNsYXNzIENoYWluPgpzdHJ1
Y3QgYmFzZQp7CiAgc3RhdGljIGNvbnN0IENoYWluIGNoYWluOwogIHR5cGVkZWYgdHlwZW9mKGNo
YWluKSB1Z2x5OwogIHR5cGVkZWYgYXRvbV9jaGFpbjx1Z2x5PiBmanVwcDsKICBzdGF0aWMgY29u
c3QgaW50IG0gPSBmanVwcDo6bjsKfTsKCmludCBtYWluKCkKewp9Cg==
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-01-22 21:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-20 7:04 c++/5750: g++ segfaults when using the gcc-extention of typeof() in a template class lerdsuwa
-- strict thread matches above, loose matches on Subject: below --
2003-01-22 21:06 bangerth
2002-11-01 12:06 Wolfgang Bangerth
2002-02-22 6:06 bjorn
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).