[PATCH] Crash during expression optimization

Samuel Thibault samuel.thibault at ens-lyon.org
Tue Sep 30 02:47:51 PDT 2008


Peter Johnson, le Mon 29 Sep 2008 21:01:14 -0700, a écrit :
> I was able to trace the bug down to a smaller fix,

Ah, right, I actually realised e->numterms in the for statement was
wrong _after_ fixing the case when o < i.  I'm still wondering what
prevents the latter from happening though: is e.g. 1 + (1 + 1) supposed
to never happen thanks to earlier optimizations?  In such a case we
would end up with level_numterms going down to 1 while fold_numterms is
still 2.

Samuel



More information about the yasm-devel mailing list