------- Comment #4 from hp at gcc dot gnu dot org 2009-08-11 09:26 ------- (In reply to comment #3) > The same happens when bootstrapping on s390x while building libdecnumber. Here > is a reduced testcase:
At -O1, the simplified test-case exposes the bug for cris-elf too. FWIW, I guess you must compile with *at most* -O1. (With -O0 and -O2, the code compiles for cris-elf; with -O2 to an empty function which seems correct, but with -O0 to something...that's probably correct too, just can't follow it easily enough to be sure without executing it. :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41031