re PR sanitizer/63845 (c-c++-common/asan/bitfield-[12345].c fails on i?86 -with ...
authorIgor Zamyatin <igor.zamyatin@intel.com>
Thu, 20 Nov 2014 08:15:21 +0000 (08:15 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Thu, 20 Nov 2014 08:15:21 +0000 (08:15 +0000)
commit8f51aa6b267606e25e9b46e9e67ae9c08616ed28
treecba2845509200d5b5845092a0e0cc9a17a90cab6
parent1be0e58d3003aa8a780d229bf38b0e4a61928b9e
re PR sanitizer/63845 (c-c++-common/asan/bitfield-[12345].c fails on i?86 -with -fpic)

gcc/

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/

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

From-SVN: r217825
gcc/ChangeLog
gcc/cfgexpand.c
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asan/pr63845.c [new file with mode: 0644]