c++/4188: ICE on simple namespace usage

cap@informatik.uni-rostock.de cap@informatik.uni-rostock.de
Fri Aug 31 14:46:00 GMT 2001


>Number:         4188
>Category:       c++
>Synopsis:       ICE on simple namespace usage
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 31 14:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     cap@informatik.uni-rostock.de
>Release:        egcs-2.91.66
>Organization:
>Environment:
Solaris 2.6
>Description:
Produces  internal compiler error on the following code
(removing line Y::c() clears the problem)

namespace Y { }

class X {
 public:
   int a;
   int Y::b;
   int Y::c();


};


main () {}
>How-To-Repeat:

>Fix:

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



More information about the Gcc-bugs mailing list