From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7084 invoked by alias); 12 Feb 2014 09:20:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 7037 invoked by uid 55); 12 Feb 2014 09:20:48 -0000 From: "paul.richard.thomas at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/49636] [F03] ASSOCIATE construct confused with slightly complicated case Date: Wed, 12 Feb 2014 09:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paul.richard.thomas at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-02/txt/msg01124.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49636 --- Comment #6 from paul.richard.thomas at gmail dot com --- Dear Dominique, Thanks for the heads-up about -m32 - I thought that the code would be immune to word length changes ***sigh*** Cheers Paul On 12 February 2014 00:40, dominiq at lps dot ens.fr wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49636 > > --- Comment #5 from Dominique d'Humieres --- >> Created attachment 32098 [details] >> A fix for this problem > > AFAICT it fixes the problem for 64 bit mode only. In 32 bit mode the ICE is > gone, but I get at run time > > i_good= 1 3 5 > i_bad= 1********** 3 > >> I am sure that this trick will fix pr57019 too. This latter is claimed >> to be a regression but I am sure that it never worked :-) Nonetheless, >> I will take advantage of the regression label! >> >> I will work on it tomorrow night. >> >> By the way, this patch regtests OK on trunk. I have to make sure >> that substrings of character arrays work OK with ASSOCIATE. > > Did you regtest with -m32? I see gfortran.dg/associated_target_5.f03 failing at > execution time with -m32, as well as the first test in pr57522 > > 0 1 2 3 > 0 4 1 5 > > -- > You are receiving this mail because: > You are on the CC list for the bug. > You are the assignee for the bug.