From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3663 invoked by alias); 13 Apr 2010 21:16:35 -0000 Received: (qmail 3654 invoked by uid 22791); 13 Apr 2010 21:16:35 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Apr 2010 21:16:31 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 3738CCB02BE; Tue, 13 Apr 2010 23:16:29 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kC57qxR8Ku51; Tue, 13 Apr 2010 23:16:29 +0200 (CEST) Received: from [192.168.1.2] (91-163-128-24.rev.libertysurf.net [91.163.128.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id DC0CACB01D5; Tue, 13 Apr 2010 23:16:28 +0200 (CEST) From: Eric Botcazou To: DJ Delorie Subject: Re: may_be_unaligned_p bug? Date: Tue, 13 Apr 2010 22:15:00 -0000 User-Agent: KMail/1.9.9 Cc: gcc@gcc.gnu.org References: <201004100247.o3A2lulg031852@greed.delorie.com> <201004122311.45942.ebotcazou@adacore.com> <201004122216.o3CMGsVw018928@greed.delorie.com> In-Reply-To: <201004122216.o3CMGsVw018928@greed.delorie.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201004132315.15019.ebotcazou@adacore.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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-04/txt/msg00308.txt.bz2 > I tested trunk and an old 4.2.1 internal branch, and found the bug on > both, so anything in between would be affected too. It goes back at > least to this patch, which mostly fixed the bug: > > 2008-02-19 Christian Bruel > Zdenek Dvorak > > * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check step alignment. OK, I tested it (a little) with trunk on SPARC/Solaris and SPARC64/Solaris and things look good as well. I won't be able to do a formal submission before at least one week so if you feel like beating me to it, go ahead. -- Eric Botcazou