This is the mail archive of the gcc@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]

ICE with GCC 4.1


I have strange ICEs (that come and go as I rearrange the source - like the
sequence of include statements). They appear also to affect different files
on different machines we compile on.
This one here seems to go away if I remove -fprofile-arcs -ftest-coverage
from the commandline.

It would be great if anyone knows what's going on here and if there's a
patch to gcc to fix it.

I tried to reproduce the ICE with a precompiled (-E) source and it doesn't
show (compiles without a problem). I would really like to provide you (GCC
developers) with a sample that reproduces the ICE, but I haven't found a
way to do it. Here's a log of the command line to show you the behaviour:

lothar@janus$ /opt2/linux/ix86/x86_64-pc-linux-gnu/bin/g++ -O0 -pipe -g
-D_REENTRANT -DACE_HAS_AIO_CALLS -DACE_USE_RCSID=0 -DACE_HAS_EXCEPTIONS
-DOTL_STL -DOTL_ORA10G -DOTL_ORA_TIMESTAMP
-DOTL_STREAM_NO_PRIVATE_BOOL_OPERATORS
-DOTL_STREAM_NO_PRIVATE_UNSIGNED_LONG_OPERATORS -W -Wall -Wpointer-arith
-Wno-uninitialized -Woverloaded-virtual -Wcast-align -Wwrite-strings
-Wcomments -DCOVERAGE -fprofile-arcs -ftest-coverage -m64 -fPIC -Isrc
-I/home/lothar/workspace/tradescapeAPI -I/opt2/linux/x86_64/ACE_wrappers
-I/opt2/linux/x86_64/ACE_wrappers/TAO
-I/opt2/linux/x86_64/ACE_wrappers/TAO/orbsvcs -I/opt2/linux/x86_64/include
-I/opt2/linux/x86_64/include/boost-1_33_1
-I/opt2/linux/x86_64/include/python2.4
-I/opt2/linux/x86_64/instantclient10_1/sdk/include -I/opt2/src/otl4/include
-c -o src/utility/.build/linux/x86_64/coverage/PythonException.os
src/utility/PythonException.cpp
/opt2/linux/x86_64/include/boost-1_33_1/boost/python/detail/wrapper_base.hpp:24:
warning: unused parameter âxâ
/opt2/linux/x86_64/include/boost-1_33_1/boost/python/detail/wrapper_base.hpp:82:
warning: unused parameter âselfâ
src/utility/PythonException.cpp: In function â(static initializers for
src/utility/PythonException.cpp)â:
src/utility/PythonException.cpp:275: internal compiler error: Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
<~/workspace/tradescape>
lothar@janus$ /opt2/linux/ix86/x86_64-pc-linux-gnu/bin/g++ -O0 -pipe -g
-D_REENTRANT -DACE_HAS_AIO_CALLS -DACE_USE_RCSID=0 -DACE_HAS_EXCEPTIONS
-DOTL_STL -DOTL_ORA10G -DOTL_ORA_TIMESTAMP
-DOTL_STREAM_NO_PRIVATE_BOOL_OPERATORS
-DOTL_STREAM_NO_PRIVATE_UNSIGNED_LONG_OPERATORS -W -Wall -Wpointer-arith
-Wno-uninitialized -Woverloaded-virtual -Wcast-align -Wwrite-strings
-Wcomments -DCOVERAGE -fprofile-arcs -ftest-coverage -m64 -fPIC -Isrc
-I/home/lothar/workspace/tradescapeAPI -I/opt2/linux/x86_64/ACE_wrappers
-I/opt2/linux/x86_64/ACE_wrappers/TAO
-I/opt2/linux/x86_64/ACE_wrappers/TAO/orbsvcs -I/opt2/linux/x86_64/include
-I/opt2/linux/x86_64/include/boost-1_33_1
-I/opt2/linux/x86_64/include/python2.4
-I/opt2/linux/x86_64/instantclient10_1/sdk/include -I/opt2/src/otl4/include
-E -o src/utility/PythonException.cpp.cpp  src/utility/PythonException.cpp
<~/workspace/tradescape>
lothar@janus$ /opt2/linux/ix86/x86_64-pc-linux-gnu/bin/g++ -O0 -pipe -g
-D_REENTRANT -DACE_HAS_AIO_CALLS -DACE_USE_RCSID=0 -DACE_HAS_EXCEPTIONS
-DOTL_STL -DOTL_ORA10G -DOTL_ORA_TIMESTAMP
-DOTL_STREAM_NO_PRIVATE_BOOL_OPERATORS
-DOTL_STREAM_NO_PRIVATE_UNSIGNED_LONG_OPERATORS -W -Wall -Wpointer-arith
-Wno-uninitialized -Woverloaded-virtual -Wcast-align -Wwrite-strings
-Wcomments -DCOVERAGE -fprofile-arcs -ftest-coverage -m64 -fPIC -c -o
src/utility/.build/linux/x86_64/coverage/PythonException.os
src/utility/PythonException.cpp.cpp
/opt2/linux/x86_64/include/boost-1_33_1/boost/python/detail/wrapper_base.hpp:24:
warning: unused parameter âxâ
/opt2/linux/x86_64/include/boost-1_33_1/boost/python/detail/wrapper_base.hpp:82:
warning: unused parameter âselfâ
<~/workspace/tradescape>

Lothar


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