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

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


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