From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13894 invoked by alias); 6 Aug 2010 12:47:17 -0000 Received: (qmail 13885 invoked by uid 22791); 6 Aug 2010 12:47:16 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from moene.org (HELO moene.org) (82.95.66.103) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 06 Aug 2010 12:47:09 +0000 Received: from [127.0.0.1] by moene.org with esmtp (Exim 4.69) (envelope-from ) id 1OhMKF-0002A8-6O; Fri, 06 Aug 2010 14:47:03 +0200 Message-ID: <4C5C0447.7010405@moene.org> Date: Fri, 06 Aug 2010 13:01:00 -0000 From: Toon Moene User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329) MIME-Version: 1.0 To: Sebastian Pop CC: "H.J. Lu" , gcc mailing list Subject: Re: Segmentation fault for the following Fortran program at -O3 on x86-64. References: <4C5B09DA.9050409@moene.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2010-08/txt/msg00104.txt.bz2 Sebastian Pop wrote: > On Thu, Aug 5, 2010 at 15:17, Sebastian Pop wrote: >> On Thu, Aug 5, 2010 at 15:07, Sebastian Pop wrote: >>> I'm delta reducing this. >> Reduced it looks like this, and it seems like the bug is in the loop >> distribution >> for memset zero changes. >> >> parameter(numlev=3,numoblev=1000) >> integer i_otyp(numoblev,numlev), i_styp(numoblev,numlev) >> logical l_numob(numoblev,numlev) >> do ixe=1,numoblev >> do iye=1,numlev >> i_otyp(ixe,iye)=0 >> i_styp(ixe,iye)=0 >> l_numob(ixe,iye)=.false. >> enddo >> enddo >> do i=1,m >> do j=1,n >> if (l_numob(i,j)) then >> write(20,'(7I4,F12.2,4F16.10)') i_otyp(i,j),i_styp(i,j) >> endif >> enddo >> enddo >> end >> > > This is now http://gcc.gnu.org/PR45199 Thanks for picking up the ball where I dropped it. I was so tired yesterday that I couldn't wrap my head around reducing the example anymore. Cheers, -- Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290 Saturnushof 14, 3738 XG Maartensdijk, The Netherlands At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/ Progress of GNU Fortran: http://gcc.gnu.org/gcc-4.5/changes.html#Fortran