[PATCH, i686] Fix for asan test failures with -m32 happened after EBX enabling in PIC mode

Jeff Law law@redhat.com
Tue Nov 18 00:15:00 GMT 2014


On 11/14/14 10:29, Zamyatin, Igor wrote:
>
>> On Fri, Nov 14, 2014 at 05:05:57PM +0000, Zamyatin, Igor wrote:
>>
>> It is not that easy, -fsanitize=address is not supported everywhere.
>> Better if you stick it into testsuite/gcc.dg/asan/ No point adding effective-
>> target ia32/fpic, there is nothing i?86 specific, not even ix86/x86_64 specific,
>> nor pic specific in the test, just use
>> /* { dg-additional-options "-fPIC" { target fpic } } */
>
> Thanks, updated.
>
>
> gcc/Changelog
>
> 2014-11-14  Igor Zamyatin  <igor.zamyatin@intel.com>
>
> 	PR sanitizer/63845
> 	* function.c (assign_parms): Move init of pic_offset_table_rtx
> 	from here to...
> 	* cfgexpand.c (expand_used_vars): ...here.
>
> gcc/testsuite/Changelog
>
> 2014-11-14  Igor Zamyatin  <igor.zamyatin@intel.com>
>
> 	PR sanitizer/63845
> 	* gcc.dg/asan/pr63845.c: New test.
Ok.
Jeff



More information about the Gcc-patches mailing list