davidgiven / ack

The Amsterdam Compiler Kit
http://tack.sf.net
Other
420 stars 59 forks source link

Fix #203: ack -O3 crash from strength reduction #213

Closed kernigh closed 4 years ago

kernigh commented 4 years ago

I propose this fix for bug #203. The 1st commit enables assertions in ego, so #203 becomes an assertion fail. The 2nd commit fixes the bug in util/ego/sr (strength reduction). The 3rd commit adds a test case, and way to build the test with ack -O3.

davidgiven commented 4 years ago

A 32-year old bug --- nice.