From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3921 invoked by alias); 6 Sep 2004 00:41:03 -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 3851 invoked by uid 48); 6 Sep 2004 00:41:02 -0000 Date: Mon, 06 Sep 2004 00:41:00 -0000 From: "njs at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20040906004100.17331.njs@codesourcery.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/17331] New: "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902) X-Bugzilla-Reason: CC X-SW-Source: 2004-09/txt/msg00431.txt.bz2 List-Id: To reproduce: 1) download http://www.oonumerics.org/FTensor/FTensor-1.1pre25.tar.gz 2) unpack it to FTensor-1.1pre25 3) cd FTensor-1.1pre25/tests/conformance 4) make CXX= CXXOPTIMIZE="-O -g -Wl,/usr/lib/pa20_64/unix95.o" test_all 5) Run ./test_all; it should print out a number of lines beginning "PASS:" and then exit with an illegal instruction error. The error goes away when compiling with -O2 rather than -O. reghunt narrowed down the responsible check-in to be between 2004-08-25 17:13 UTC and 2004-08-25 17:24 UTC; the only change in this period appears to be 2004-08-25 Roger Sayle PR middle-end/16693 PR tree-optimization/16372 * decl.c (finish_enum): Make the precision of the enumerated type the same width as the underlying integer type. -- Summary: "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902) Product: gcc Version: 3.4.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: njs at codesourcery dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: hppa64-hp-hpux11.11 GCC host triplet: hppa64-hp-hpux11.11 GCC target triplet: hppa64-hp-hpux11.11 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17331