GCC 4.8 and -ftree-loop-distribute-patterns.

Joseph S. Myers joseph@codesourcery.com
Fri Apr 19 19:36:00 GMT 2013


On Fri, 5 Apr 2013, Rich Felker wrote:

> When building "part of the implementation" such a libc, -ffreestanding
> should be passed to the compiler to let it know it cannot assume the
> existence of an underlying hosted implementation. This should disable
> all such optimizations. If it doesn't, it's a bug in the compiler.

-ffreestanding is documented to require memcpy, memmove, memset, memcmp 
and in certain circumstances abort, in addition to libgcc functions, from 
the runtime environment.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list