This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/5572: Internal compiler error in `const_hash', at varasm.c:2373
- From: sergeyk at typhoon dot spb dot ru
- To: gcc-gnats at gcc dot gnu dot org
- Date: 1 Feb 2002 16:18:15 -0000
- Subject: c++/5572: Internal compiler error in `const_hash', at varasm.c:2373
- Reply-to: sergeyk at typhoon dot spb dot ru
>Number: 5572
>Category: c++
>Synopsis: Internal compiler error in `const_hash', at varasm.c:2373
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 01 08:26:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Sergey Kuznetsov
>Release: gcc version 2.95.3 20010315 (release) [FreeBSD]
>Organization:
>Environment:
FreeBSD 4.4-RELEASE (GENERIC) #0: Tue Sep 18 11:57:08 PDT 2001
>Description:
When trying to compile the attached file the following error occurs:
$ gcc main.cpp
main.cpp: In function `int main()':
main.cpp:28: Internal compiler error in `const_hash', at varasm.c:2373
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
gcc main.cpp
>Fix:
If you initialize only two first array elements with pointers and others with NULLs the problem disappears.
>Release-Note:
>Audit-Trail:
>Unformatted: