This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/9785: Internal compiler error 192 when trying to assign local value to a local classes member.
- From: gnuser at coloraura dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 21 Feb 2003 00:45:49 -0000
- Subject: c++/9785: Internal compiler error 192 when trying to assign local value to a local classes member.
- Reply-to: gnuser at coloraura dot com
>Number: 9785
>Category: c++
>Synopsis: Internal compiler error 192 when trying to assign local value to a local classes member.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Fri Feb 21 00:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Daniel Pitts
>Release: 2.95.3 20010315
>Organization:
>Environment:
NetBSD 1.6
>Description:
I get an internal compiler error instead of a proper message. I'm assuming this is incorrect c++, but either way it should report why.
# 1 "test.cc"
void main()
{
int local = 3;
class { public: static const int x = local } b;
}
>How-To-Repeat:
Simply compile the above code.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: