Displaying 2 results from an estimated 2 matches for "fhosted".
Did you mean:
hosted
2016 Sep 21
2
RFC: module flag for hosted mode
...marising IRC)
Rethinking a little, I would be inclined to agree that combined hosted and
freestanding modules should not be compiled in hosted mode. Here's one
scenario where we may break: suppose I LTO-link an implementation of memset
compiled with -ffreestanding with a program compiled with -fhosted. With
the proposed rule, the loop idiom recognizer may transform the body of the
memset function into a self-call.
So that leaves either compile in freestanding or error out. Freestanding
would produce a conservatively correct result, but it may lead to
unintentional pessimisations, so unless we e...
2016 Sep 16
2
RFC: module flag for hosted mode
+Eric and Akira (for thoughts on module flags)
> On 2016-Sep-16, at 12:47, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
>> On Sep 16, 2016, at 12:30 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>>
>> In PR30403 we've been discussing how to encode -ffreestanding when using LTO. This bit is currently dropped during LTO because its only