http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53779
--- Comment #1 from Andreas Schwab <sch...@linux-m68k.org> 2012-06-26 14:55:34 UTC --- Try running it under valgrind. Your patch is apparently causing a memory corruption, and the SIGABRT handler tries to call back into malloc/free, which cannot work. Most likely target_cost_data is freed twice.