This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]