This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/6025: linux m68k-elf-gcc cross compiler segfault
- From: Anders Blomdell <anders dot blomdell at control dot lth dot se>
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, anders dot blomdell at control dot lth dot se, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Fri, 22 Mar 2002 13:39:49 +0100
- Subject: Re: optimization/6025: linux m68k-elf-gcc cross compiler segfault
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6025
OK, I have looked a little furter into this. The problem seems to be
in bb-reorder.c:415:
next = (taken ? e_taken : e_fall)->dest;
the segfault occurs when we get here with:
taken = 0, e_taken = 842a0b0, e_fall = 0
(since (0 ? 842a0b0 : 0)->dest == (0)->dest, which is clearly illegal).
Now, how do I do to find out why there is a block without a valid
fall-through path (mapping *.ce2 dump to basic block layout is beyond
my capacity).
--
------------------------------------------------------------------------------
Anders Blomdell
Department of Automatic Control Email: anders.blomdell@control.lth.se
Lund Institute of Technology Phone: +46 46 222 4625
Box 118, S-221 00 Lund, Sweden Fax: +46 46 138118