This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Q: C++ FE emitting assignments to global read-only symbols?
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: mark at codesourcery dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 9 Apr 05 08:00:03 EDT
- Subject: Re: Q: C++ FE emitting assignments to global read-only symbols?
I agree, in principle. The C++ FE should not set TREE_READONLY on
variables that require dynanmic initialization. Until now, that's not
been a problem, and it does result in better code. But, it's now
becoming a problem, and we have others way to get good code coming down
the pipe.
Note that we had the same problem with the Ada FE a while ago.