Using -O1 instead of -O2 does not reproduce this bug, but using -O1 -foptimize-sibling-calls instead of -O2 does.
Using -O1 instead of -O2 does not reproduce this bug, but using -O1 -foptimize- sibling- calls instead of -O2 does.