This is the mail archive of the gcc-prs@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]
Other format: [Raw text]

c++/5572: Internal compiler error in `const_hash', at varasm.c:2373



>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:


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