public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/43922]  New: internal compiler error: in copy_body_r, at tree-inline.c:748 when compiling with -fopenmp
@ 2010-04-28 11:19 stephan dot aiche at fu-berlin dot de
  2010-04-28 11:24 ` [Bug c++/43922] " stephan dot aiche at fu-berlin dot de
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: stephan dot aiche at fu-berlin dot de @ 2010-04-28 11:19 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2701 bytes --]

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/43922] internal compiler error: in copy_body_r, at tree-inline.c:748 when compiling with -fopenmp
  2010-04-28 11:19 [Bug c++/43922] New: internal compiler error: in copy_body_r, at tree-inline.c:748 when compiling with -fopenmp stephan dot aiche at fu-berlin dot de
@ 2010-04-28 11:24 ` stephan dot aiche at fu-berlin dot de
  2010-08-13 14:43 ` stephan dot aiche at fu-berlin dot de
  2010-08-13 14:58 ` stephan dot aiche at fu-berlin dot de
  2 siblings, 0 replies; 4+ messages in thread
From: stephan dot aiche at fu-berlin dot de @ 2010-04-28 11:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from stephan dot aiche at fu-berlin dot de  2010-04-28 11:23 -------
The preprocessed file is to big for bugzille but it can be downloaded here

http://page.mi.fu-berlin.de/aiche/FeatureFinder.ii


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/43922] internal compiler error: in copy_body_r, at tree-inline.c:748 when compiling with -fopenmp
  2010-04-28 11:19 [Bug c++/43922] New: internal compiler error: in copy_body_r, at tree-inline.c:748 when compiling with -fopenmp stephan dot aiche at fu-berlin dot de
  2010-04-28 11:24 ` [Bug c++/43922] " stephan dot aiche at fu-berlin dot de
@ 2010-08-13 14:43 ` stephan dot aiche at fu-berlin dot de
  2010-08-13 14:58 ` stephan dot aiche at fu-berlin dot de
  2 siblings, 0 replies; 4+ messages in thread
From: stephan dot aiche at fu-berlin dot de @ 2010-08-13 14:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from stephan dot aiche at fu-berlin dot de  2010-08-13 14:42 -------
Just forgot to add the command line to reproduce the error 

c++   -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 -Wall -Wextra -Wno-non-virtual-dtor -Wno-long-long --pedantic
-fPIC -o FeatureFinder.C.o -c FeatureFinder.ii

Any help would be appreciated since this problem is a blocker for our upcoming
release

Thanks
Stephan


-- 

stephan dot aiche at fu-berlin dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stephan dot aiche at fu-
                   |                            |berlin dot de


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/43922] internal compiler error: in copy_body_r, at tree-inline.c:748 when compiling with -fopenmp
  2010-04-28 11:19 [Bug c++/43922] New: internal compiler error: in copy_body_r, at tree-inline.c:748 when compiling with -fopenmp stephan dot aiche at fu-berlin dot de
  2010-04-28 11:24 ` [Bug c++/43922] " stephan dot aiche at fu-berlin dot de
  2010-08-13 14:43 ` stephan dot aiche at fu-berlin dot de
@ 2010-08-13 14:58 ` stephan dot aiche at fu-berlin dot de
  2 siblings, 0 replies; 4+ messages in thread
From: stephan dot aiche at fu-berlin dot de @ 2010-08-13 14:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from stephan dot aiche at fu-berlin dot de  2010-08-13 14:58 -------
I just did some more tests and stumbled on sth interesting .. when compiling
the same source on a Debian GNU/Linux 5.0.5 (lenny) I get the same error
message 

"internal compiler error: in copy_body_r, at tree-inline.c:748"

but from a different part of the code

/home/takifugu/aiche/RAID/open-ms-dev/release1.7/include/OpenMS/TRANSFORMATIONS/FEATUREFINDER/ProductModel.h:
In member function 'virtual OpenMS::ProductModel<2u>&
OpenMS::ProductModel<2u>::operator=(const OpenMS::ProductModel<2u>&)':
/home/takifugu/aiche/RAID/open-ms-dev/release1.7/include/OpenMS/TRANSFORMATIONS/FEATUREFINDER/ProductModel.h:127:
internal compiler error: in copy_body_r, at tree-inline.c:748

maybe this helps you guys 

compiler on Debian Lenny is 

g++ -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--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 --enable-cld --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.2 (Debian 4.3.2-1.1) 


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-13 14:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-28 11:19 [Bug c++/43922] New: internal compiler error: in copy_body_r, at tree-inline.c:748 when compiling with -fopenmp stephan dot aiche at fu-berlin dot de
2010-04-28 11:24 ` [Bug c++/43922] " stephan dot aiche at fu-berlin dot de
2010-08-13 14:43 ` stephan dot aiche at fu-berlin dot de
2010-08-13 14:58 ` stephan dot aiche at fu-berlin dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).