From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26200 invoked by alias); 24 Apr 2002 16:06:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 26171 invoked by uid 71); 24 Apr 2002 16:06:01 -0000 Date: Wed, 24 Apr 2002 09:06:00 -0000 Message-ID: <20020424160601.26170.qmail@sources.redhat.com> To: jason@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Mark Mitchell Subject: Re: c++/6331: g++ 3.1 looses const qualifiers Reply-To: Mark Mitchell X-SW-Source: 2002-04/txt/msg01251.txt.bz2 List-Id: The following reply was made to PR c++/6331; it has been noted by GNATS. From: Mark Mitchell To: "jason@gcc.gnu.org" , "aj@suse.de" , "gcc-bugs@gcc.gnu.org" , "gcc-prs@gcc.gnu.org" , "mmitchel@gcc.gnu.org" , "pmladek@suse.cz" , "pthomas@suse.de" , "schwab@suse.de" , "gcc-gnats@gcc.gnu.org" Cc: Subject: Re: c++/6331: g++ 3.1 looses const qualifiers Date: Wed, 24 Apr 2002 08:55:26 -0700 --On Wednesday, April 24, 2002 09:05:06 AM +0000 "jason@gcc.gnu.org" wrote: > Synopsis: g++ 3.1 looses const qualifiers > > Responsible-Changed-From-To: mmitchel->jason > Responsible-Changed-By: jason > Responsible-Changed-When: Wed Apr 24 02:05:05 2002 > Responsible-Changed-Why: > got the second bug > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gc > c&pr=6331 Shucks, we were duplicating work; I was working on that too. When I tried the change you made to build_modify_expr, I got a failure in this g++.benjamin/14664-1.c, which tests that we cannot assign a string literal to an array of characters (because the array of characters is const). This is probably a goofy test; what shoudl be interesting is whether we can assign the element types and it looks like the logic for creating this test was that EDG issues an error -- but about array assignment in general. Anyhow, did you change the test, or did it still pass for you? -- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com