This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++/2353: template frient specification causes an internal compiler error



>Number:         2353
>Category:       c++
>Synopsis:       template frient specification causes an internal compiler error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 22 20:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     John Rusnak
>Release:        gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/specs  
>Description:
Under specific cases, a template friend class declarations 
can cause an internal compiler error
>How-To-Repeat:
Compile the attached file wit g++:

g++ -c test2.cpp

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test2.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test2.cpp"

Cm5hbWVzcGFjZSB0ZXN0CnsKCnRlbXBsYXRlCjxjbGFzcyBUPgpjbGFzcyBUZXN0CnsKcHVibGlj
OgoKICB0ZW1wbGF0ZSA8Y2xhc3MgUGFyZW50PgogIGZyaWVuZCBjbGFzcyBUZXN0OwogIAoKfSA7
CgoKfQo=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]