[Bug middle-end/50902] New: intVar/dinternal.cc ICEs at -O2 -ftree-vectorize

howarth at nitro dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Fri Oct 28 15:59:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50902

             Bug #: 50902
           Summary: intVar/dinternal.cc ICEs at -O2 -ftree-vectorize
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: howarth@nitro.med.uc.edu


Created attachment 25644
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25644
preprocessed source file for intVar/dinternal.cc

The g++ compiler in current gcc trunk ICEs when compiling intVar/dinternal.cc
from xplor-nih 2.27 with -O2 -ftree-vectorize or -O3.


g++-fsf-4.7 -c dinternal.cc -O2 -ftree-vectorize -fpermissive -DX_MMAP_FLAGS=0
-DFORTRAN_INIT -fno-common -DDARWIN -D_REENTRANT -DNDEBUG
-I/Users/howarth/xplor-nih-2.27/intVar/
-I/Users/howarth/xplor-nih-2.27/arch/Darwin_11_x86_64/include -DCPLUSPLUS
-DUSE_CDS_NAMESPACE -I/Users/howarth/xplor-nih-2.27/intVar/
-I/Users/howarth/xplor-nih-2.27/arch/Darwin_11_x86_64/include
-I/Users/howarth/xplor-nih-2.27/CDSlib -I/Users/howarth/xplor-nih-2.27/common
In file included from dinternal.cc:1251:0:
/Users/howarth/xplor-nih-2.27/CDSlib/matrixTools.cc: In instantiation of
'MATRIX MatrixTools::callInverse(const MATRIX&,
MatrixTools::InverseResults<FullMatrix<typename MATRIX::ElementType> >) [with
MATRIX = InertiaTensor; typename MATRIX::ElementType = double]':
/Users/howarth/xplor-nih-2.27/CDSlib/matrixTools.cc:237:35:   required from
'MATRIX MatrixTools::inverse(const MATRIX&,
MatrixTools::InverseResults<typename MATRIX::MatrixType>) [with MATRIX =
InertiaTensor; typename MATRIX::MatrixType = FullMatrix<double>]'
dinternal.cc:945:29:   required from here
/Users/howarth/xplor-nih-2.27/CDSlib/matrixTools.cc:170:2: warning: 'callTRF'
was not declared in this scope, and no declarations were found by
argument-dependent lookup at the point of instantiation [-fpermissive]
/Users/howarth/xplor-nih-2.27/CDSlib/matrixTools.cc:293:1: note:
'template<class Number> void callTRF(const int&, const int&, Number*, const
int&, int*, int&)' declared here, later in the translation unit
/Users/howarth/xplor-nih-2.27/CDSlib/matrixTools.cc:180:2: warning: 'callTRI'
was not declared in this scope, and no declarations were found by
argument-dependent lookup at the point of instantiation [-fpermissive]
/Users/howarth/xplor-nih-2.27/CDSlib/matrixTools.cc:274:1: note:
'template<class Number> void callTRI(const int&, Number*, const int&, const
int*, Number*, const int&, int&)' declared here, later in the translation unit
In file included from dinternal.cc:1238:0:
/Users/howarth/xplor-nih-2.27/CDSlib/cdsVector.cc: In constructor
'CDSVectorBase<T, ALLOC>::CDSVectorBase(int, const T&, ALLOC) [with T = bool;
ALLOC = CDS::DefaultAlloc]':
/Users/howarth/xplor-nih-2.27/CDSlib/cdsVector.cc:25:1: internal compiler
error: in build_vector_from_val, at tree.c:1382



More information about the Gcc-bugs mailing list