[Bug c++/17331] New: "Illegal instruction" error in FTensor when compiled with G++ 3.4.2 prerelease 2 (20040902)

njs at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Mon Sep 6 00:41:00 GMT 2004


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=<path to g++> 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  <roger@eyesopen.com>
        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



More information about the Gcc-bugs mailing list