From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28804 invoked by alias); 1 Aug 2012 16:25:36 -0000 Received: (qmail 28780 invoked by uid 22791); 1 Aug 2012 16:25:31 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Aug 2012 16:25:16 +0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/54157] [x32] -maddress-mode=long failures Date: Wed, 01 Aug 2012 16:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 X-SW-Source: 2012-08/txt/msg00063.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54157 --- Comment #1 from H.J. Lu 2012-08-01 16:25:1= 5 UTC --- [hjl@gnu-32 gcc]$ cat /tmp/x.i struct s2{ int n[24 -1][24 -1][24 -1]; }; struct test2{ struct s2 e; }; struct test2 tmp2[4]; void main1 () { int i,j; for (i =3D 0; i < 24 -4; i++) for (j =3D 0; j < 24 -4; j++) tmp2[2].e.n[1][i][j] =3D 8; } [hjl@gnu-32 gcc]$ ./xgcc -B./ -O2 -mx32 -maddress-mode=3Dlong -S /tmp/x.i -ftree-vectorize /tmp/x.i: In function =E2=80=98main1=E2=80=99: /tmp/x.i:18:1: internal compiler error: in plus_constant, at explow.c:88 } ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. [hjl@gnu-32 gcc]$