Red Hat Bugzilla – Bug 56504
Internal error: Segmentation fault. during compile
Last modified: 2007-04-18 12:38:21 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4)
Description of problem:
While compiling my code using gcc 2.96 under either redhat 7.0 or 7.2 I get
Internal error: Segmentation fault. at a certain point. gcc3 or ccc for
alpha works fine.
Sometimes it will compile but will create wrong code and cause the code to
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: Either internal error during compile or runtime produces
nan data and my code fails with nans.
Expected Results: compile should work and code should run fine like on
gcc3 or ccc for alpha.
I'm perfectly willing to provide the code in a tarball for you. I have
never encountered this problem with my older versions of code. Recent
changes involes some pointer issues and macros. No problems with gcc3 or
ccc for alpha.
Is the certain point always the same file and same error message?
If yes, please write here the exact gcc resp. g++ command line used to
compile the failing source file, plus add -save-temps option and attach
here the resulting .i resp. .ii file.
No reply in a year. User reports gcc 3.x is ok in original report