This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/984: GCC cannot efficently initialize a big array
- From: jason at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, wscott at ichips dot intel dot com
- Date: 20 Mar 2002 10:54:41 -0000
- Subject: Re: c++/984: GCC cannot efficently initialize a big array
- Reply-to: jason at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, wscott at ichips dot intel dot com, gcc-gnats at gcc dot gnu dot org
Synopsis: GCC cannot efficently initialize a big array
State-Changed-From-To: open->analyzed
State-Changed-By: jason
State-Changed-When: Wed Mar 20 02:54:39 2002
State-Changed-Why:
The C frontend was modified several years ago to handle large initializers like this efficiently, but nobody has ported the changes to the C++ frontend. Until that happens, you could compile your array in a separate C source file.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=984