This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11211] trivial static initializers of const objects should be done at compile time
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2003 02:44:20 -0000
- Subject: [Bug c++/11211] trivial static initializers of const objects should be done at compile time
- References: <20030616164300.11211.pinskia@physics.uc.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11211
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-19 02:44 -------
One more interseting thing this would prevent is PR 10060 which is an ICE because of
there are a large number of static initializers. Right now the code in
__static_initialization_and_destruction_0 is hugh which causes this ICE in
copy_rtx_if_shared.