public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9159: g++ faults when compiling "memberspace" declarations
@ 2003-05-05 11:51 giovannibajo
  0 siblings, 0 replies; 3+ messages in thread
From: giovannibajo @ 2003-05-05 11:51 UTC (permalink / raw)
  To: bala, gcc-bugs, gcc-prs, nobody

Synopsis: g++ faults when compiling "memberspace" declarations

State-Changed-From-To: analyzed->closed
State-Changed-By: bajo
State-Changed-When: Mon May  5 11:51:15 2003
State-Changed-Why:
    Fixed in 3.4 CVS 20030503

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


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

* Re: c++/9159: g++ faults when compiling "memberspace" declarations
@ 2003-01-06 13:44 reichelt
  0 siblings, 0 replies; 3+ messages in thread
From: reichelt @ 2003-01-06 13:44 UTC (permalink / raw)
  To: bala, gcc-bugs, gcc-prs, nobody

Synopsis: g++ faults when compiling "memberspace" declarations

State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Mon Jan  6 05:44:19 2003
State-Changed-Why:
    Confirmed.
    The bug is present since at least gcc 2.95.x and
    affects the 3.2 and 3.3 branch, and mainline
    (with the new parser).

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


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

* c++/9159: g++ faults when compiling "memberspace" declarations
@ 2003-01-03 18:16 bala
  0 siblings, 0 replies; 3+ messages in thread
From: bala @ 2003-01-03 18:16 UTC (permalink / raw)
  To: gcc-gnats

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1814 bytes --]


>Number:         9159
>Category:       c++
>Synopsis:       g++ faults when compiling "memberspace" declarations
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 03 10:16:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bala Swaminathan/Joaquín M Lopez
>Release:        unknown-1.0
>Organization:
>Environment:
UNIX/LINUX
>Description:
Please see bug report 9133.
Joaquín M Lopez has closed in on the problem from my original submission. Here is the gist of the problem:

// membspace.C
template <typename T>
class A {
  class A1{} A1;
};

template <typename T>
class B: public A<T> {};

int main(void)
{
  return 0;
}
//
booby:~/c++/bimap> alias g3
alias g3='/usr/local/products/gcc/3.2.1/bin/g++'
booby:~/c++/bimap> g3 -v      
Reading specs from /usr/local/products/gcc/3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/specs
Configured with: ../gcc-3.2.1/configure --with-gnu-as --with-as=/usr/local/products/binutils/2.11.2/bin/gnu-as --with-gnu-ld --with-ld=/usr/local/products/binutils/2.11.2/bin/gnu-ld --disable-nls --enable-languages=c,c++ --disable-libgcj --disable-shared --prefix=/usr/local/products/gcc/3.2.1
Thread model: posix
gcc version 3.2.1
booby:~/c++/bimap> g3 membspace.C 
membspace.C:7: internal error: Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

>How-To-Repeat:
Compile the sampple code provided above (repeated here):
// membspace.C
template <typename T>
class A {
  class A1{} A1;
};

template <typename T>
class B: public A<T> {};

int main(void)
{
  return 0;
}
//
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2003-05-05 11:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-05 11:51 c++/9159: g++ faults when compiling "memberspace" declarations giovannibajo
  -- strict thread matches above, loose matches on Subject: below --
2003-01-06 13:44 reichelt
2003-01-03 18:16 bala

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