This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/43922] New: internal compiler error: in copy_body_r, at tree-inline.c:748 when compiling with -fopenmp


After some recent changes to our code we observed that g++ fails with ICE when
compiled with -fopenmp. The error occurs only with the 4.3.4 compiler, 4.4.1
works.

g++-4.3 -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.4-5ubuntu1'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--enable-multiarch --enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.3.4 (Ubuntu 4.3.4-5ubuntu1) 


#### Command Line ####

/usr/bin/g++-4.3   -DOpenMS_EXPORTS -DQT_DLL -DQT_OPENGL_LIB -DQT_GUI_LIB
-DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_DLL
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG -fopenmp -O3
-DNDEBUG -fPIC -I/home/aiche/dev/openms-src/include
-I/home/aiche/dev/openms-bin-4.3/include
-I/home/aiche/dev/contrib-bin-4.3/include -I/usr/include/qt4
-I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtTest
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork
-I/usr/include/qt4/QtCore   -Wall -Wextra -Wno-non-virtual-dtor -Wno-long-long
--pedantic -fPIC -o
CMakeFiles/OpenMS.dir/source/TRANSFORMATIONS/FEATUREFINDER/FeatureFinder.C.o -c
/home/aiche/dev/openms-src/source/TRANSFORMATIONS/FEATUREFINDER/FeatureFinder.C

#### Error Message ####

/home/aiche/dev/openms-src/include/OpenMS/TRANSFORMATIONS/FEATUREFINDER/BaseModel.h:
In member function ?void OpenMS::BaseModel<D>::setCutOff(OpenMS::DoubleReal)
[with unsigned int D = 2u]?:
/home/aiche/dev/openms-src/include/OpenMS/TRANSFORMATIONS/FEATUREFINDER/BaseModel.h:128:
internal compiler error: in copy_body_r, at tree-inline.c:748


I attach the preprocessed files.


-- 
           Summary: internal compiler error: in copy_body_r, at tree-
                    inline.c:748 when compiling with -fopenmp
           Product: gcc
           Version: 4.3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: stephan dot aiche at fu-berlin dot de
GCC target triplet: x86_64-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]