[dragonegg PATCH] Turn off libcall simplification in C and C++ when -fno-builtin is specified

Duncan Sands baldrick at free.fr
Tue Apr 16 23:06:17 PDT 2013


Hi Peter,

>> I agree with your reasoning.  I looked into this some more and it
>> looks like flag_no_builtin is defined as a macro representing a field
>> reference starting from gcc 4.6 onwards, while in previous versions
>> it is an ordinary variable as you describe.  So I'll modify the patch
>> to use the weak reference for gcc <= 4.5.
>
> Attached.  I guess we can add the support for -fno-builtin-FUNCTION separately.

I agree.  The patch LGTM, thanks for doing it.  Applied in commit 179666.

Ciao, Duncan.



More information about the llvm-commits mailing list