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.zamya...@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.zamya...@intel.com>

        PR sanitizer/63845
        * gcc.dg/asan/pr63845.c: New test.
Ok.
Jeff

Reply via email to