Sunday, January 22, 2006

Problem with GCC 4.0 and -fschedule-insns

The random compiler tester found another problem, and this time the problem is with GCC! On GCC 4.0, enabling -fschedule-insns (which is implicitly enabled by -O2 and -O3) miscompiles the bits>double, bits>float, float>bits and double>bits primitives.

If you're using GCC 4.0, please do not use anything higher than -O1 to compile the Factor runtime until further notice.

1 comment:

Anonymous said...

I assume this applies to the current latest release in series 4.02?