From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29370 invoked by alias); 12 Jan 2004 10:13:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 29362 invoked by uid 48); 12 Jan 2004 10:13:51 -0000 Date: Mon, 12 Jan 2004 10:13:00 -0000 From: "rguenth at tat dot physik dot uni-tuebingen dot de" To: gcc-bugs@gcc.gnu.org Message-ID: <20040112101346.13653.rguenth@tat.physik.uni-tuebingen.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/13653] New: [3.3 regression] -O2 -funroll-loop miscompiles POOMA testcase X-Bugzilla-Reason: CC X-SW-Source: 2004-01/txt/msg01203.txt.bz2 List-Id: Current g++-3.3 (g++-3.3 (GCC) 3.3.3 20040107 (prerelease)) miscompiles quite a few POOMA testcases which results in SIGSEGVs. These failures occour with -O2 -funroll-loops, but not with -O2. One example preprocessed testcase can be fetched from http://www.tat.physik.uni-tuebingen.de/~rguenth/gcc/array_test1.ii.gz compile with -fno-exceptions -O2 -funroll-loops to see it segfaulting and with -fno-exceptions -O2 to see it printing a success message. g++ (GCC) 3.3.3 20031114 (prerelease) also did have this problem (this is the oldest binary I have lying around). -- Summary: [3.3 regression] -O2 -funroll-loop miscompiles POOMA testcase Product: gcc Version: 3.3.3 Status: UNCONFIRMED Severity: critical Priority: P2 Component: optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at tat dot physik dot uni-tuebingen dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13653