On Wed, Oct 31, 2012 at 10:59 AM, Edwin Vane <[email protected]> wrote:
> Hi chandlerc,
>
> LLVM Bugzilla: http://llvm.org/bugs/show_bug.cgi?id=13221
>
> This patch makes the behavior of clang consistent with the behavior of gcc 
> 4.6 in cases where both -fPIC and -fPIE is used.
>   - Separately check if -fPIE was specified in the command line and define 
> both __PIC__ and __PIE__ when -fPIE is used. We need to check this separately 
> because -fPIE will infer -fPIC even if its not explicitly used.
>   - Fixed existing tests.
>   - Added new tests for cases where both -fPIC and -fPIE is used.

LGTM.

-Eli
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to