[tree-ssa mudflap] another segfault
Eyal Lebedinsky
eyal@eyal.emu.id.au
Fri Jun 13 00:59:00 GMT 2003
I am still having a crash (off cvs). So far it proved hard to
track. It needs '-fmudflapth' to happen.
The program in question is 12,000 lines long. It is a large collection
of small functions, and fails at about line 10,500. If I remove the
bottom end then it still crashes, and I could also remove a few
functions
before, but right now I still have 10,430 lines, 208 functions (140
exported and 68 static) and If I remove any one the crash goes
away.
The segfault happens at the point where a good run reports on
unused global static variables.
The good run ends with
======================
apic.c:10341: warning: unused variable `ssa_trace__dummy'
apic.c: In function `smatop':
apic.c:10372: warning: unused variable `ssa_trace__dummy'
apic.c: In function `smalgd':
apic.c:10415: warning: unused variable `ssa_trace__dummy'
apic.c: At top level:
apic.c:12: warning: `copyright' defined but not used
apic.c:682: warning: `NoRecId' defined but not used
apic.c:698: warning: `narrowTxt' defined but not used
apic.c:699: warning: `exhaustiveTxt' defined but not used
apic.c:700: warning: `extremeTxt' defined but not used
apic.c:702: warning: `ssaezKeylogicTxt' defined but not used
-fmudflapth ends with
=====================
apic.c:10341: warning: unused variable `ssa_trace__dummy'
apic.c: In function `smatop':
apic.c:10372: warning: unused variable `ssa_trace__dummy'
apic.c: In function `smalgd':
apic.c:10415: warning: unused variable `ssa_trace__dummy'
apic.c: In function `_GLOBAL__I_sm0v03_mudflap':
apic.c:0: 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.
-fmudflap endsw with
====================
apic.c:10341: warning: unused variable `ssa_trace__dummy'
apic.c: In function `smalgd':
apic.c:10366: 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.
make: *** [apic.o] Error 1
Earlier messages are identical warnings belonging to individual
functions. Note that the function in the first line of the
failure report is not the original name (which is 'sm0v03')
and this function is the first one in this module.
What compiler tracing can I enable in order to produce more
details to assist (someone in the know) in debugging this
issue? Last time I fiddled with gcc internals it was v1 10
years a go, so assume I know very little of how to debug it
today.
--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
More information about the Gcc
mailing list