From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5768 invoked by alias); 12 Oct 2005 14:55:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 5741 invoked by alias); 12 Oct 2005 14:55:44 -0000 Date: Wed, 12 Oct 2005 14:55:00 -0000 Message-ID: <20051012145544.5740.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/20912] C++ FE emitting assignments to read-only global symbols In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mark at codesourcery dot com" X-SW-Source: 2005-10/txt/msg01545.txt.bz2 List-Id: ------- Comment #9 from mark at codesourcery dot com 2005-10-12 14:55 ------- Subject: Re: C++ FE emitting assignments to read-only global symbols dnovillo at redhat dot com wrote: > Thanks Mark. The underlying code has shifted in the interim. There was > another bug that would cause us to ICE with code that specifically casted > away constness. We now should get this micro-optimization on the cases we > cared for (call-clobbering situations, mostly). OK, so my patch is no longer directly useful then? (It still seems like it would be an improvement in the abstract, in that assigning to TREE_READONLY variables is evil, but if it won't have any immediate tangible benefit, I'll leave this for 4.2.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20912