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++/1010: g++ 2.97: problems w/ static const members as rhs in assignment



>Number:         1010
>Category:       c++
>Synopsis:       g++ 2.97: problems w/ static const members as rhs in assignment
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 07 10:26:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     lsh@cs.brown.edu
>Release:        2.95.2 (Red Hat Linux 7.0),  2.97 20001207 (RH 7.0)
>Organization:
>Environment:
RedHat 7.0
>Description:
ICE on legal usage of static const member (see attached file)
>How-To-Repeat:
g++ -o /tmp/test.o -c file.C

Where file.C is the attached file
>Fix:

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

Y2xhc3MgQ09MT1IgewogICBwdWJsaWM6CiAgICAgIENPTE9SKCkge30KICAgICAgc3RhdGljIGNv
bnN0IENPTE9SICAgIG9yYW5nZTsKfTsKCnZvaWQgZm9vKCkgeyBDT0xPUiBjb2wgPSBDT0xPUjo6
b3JhbmdlOyB9CgovLyBJZiB0aGlzIGlzIHB1dCBhYm92ZSBmb28gdGhlcmUgaXMgbm8gcHJvYmxl
bQpjb25zdCBDT0xPUiBDT0xPUjo6b3JhbmdlOwo=

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