------- Comment #3 from bergner at gcc dot gnu dot org 2008-09-10 01:33 ------- With a mainline from today, it fails for me at -O2. Looking into it, it's foo() that is miscompiled (I broke the 3 functions into their own files and recompiled them), It's also the last element of results (ie, results[19] that miscompares (141 versus expected value of 190).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37449