found 701082 4.9 thanks
It's failing in the same place with optimization set to -O0, -O2 and -O3. It works with -O1!