http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51218
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #4 from kargl at gcc dot gnu.org 2011-11-19 00:40:49 UTC --- (In reply to comment #3) > The miscompilation is triggered by -ffrontend-optimize, work-around: use > -fno-frontend-optimize. > Revision 171653 is dealing with the frontend optimization. If I am not > mistaken, it is the only change dealing with frontend optimization after > r171100, although I don't understand how this revision could cause a > miscompilation. > > The crash occurs in __mo_dec_matrix_MOD_sum_vector. Looks like a bug in the application, but the interesting coding style makes it hard for me to read. If one removes call delete_storage (x) in sum_vector the problem goes away. That is, it looks like over-active memory management hidden beneath a layer of obfusication.