Opensuse 10.2

---------------------

gcc -v:
ma...@pc-31c:~> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/marco/local/gcc-4.5.0/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --enable-threads=posix
--prefix=/home/marco/local/gcc-4.5.0 --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --with-cpu=opteron
--enable-languages=c,c++,fortran --with-mpfr=/home/marco/local/mpfr-2.4.2
--with-mpc=/home/marco/local/mpc-0.8.1 --enable-gold --enable-lto
Thread model: posix
gcc version 4.5.0 (GCC) 

---------------------

command line:
g++ -c -O2 -funroll-loops -pthread -fstack-check -fPIC -DPIC beam.ii

---------------------

error message:

beam.cc: In member function ‘virtual void
ViscoElasticBeam::AssStiffnessMat(FullSubMatrixHandler&, FullSubMatrixHandler&,
doublereal, const VectorHandler&, const VectorHandler&)’:
beam.cc:2019:1: internal compiler error: in ei_container, at basic-block.h:687

--------------------

Note that omitting -O2 , i.e.

g++ -c -funroll-loops -pthread -fstack-check -fPIC -DPIC beam.ii

leads to

beam.cc: In member function ‘virtual void
Beam::AssStiffnessMat(FullSubMatrixHandler&, FullSubMatrixHandler&, doublereal,
const VectorHandler&, const VectorHandler&)’:
beam.cc:694:1: warning: frame size too large for reliable stack checking
beam.cc:694:1: warning: try reducing the number of local variables
beam.cc: In member function ‘virtual void
ViscoElasticBeam::AssStiffnessMat(FullSubMatrixHandler&, FullSubMatrixHandler&,
doublereal, const VectorHandler&, const VectorHandler&)’:
beam.cc:2019:1: warning: frame size too large for reliable stack checking


-- 
           Summary: internal compiler error: in ei_container, at basic-
                    block.h:687
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: morandini at aero dot polimi dot it


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

Reply via email to