Jakub Jelinek writes:
> Fixed thusly, ok for trunk?
>
> 2012-11-27 Jakub Jelinek
>
> * asan.c (instrument_assignment): Instrument lhs only
> for gimple_store_p and rhs1 only for gimple_assign_load_p.
This is OK, thanks.
And sorry for the delay.
--
Dodji
Hi!
E.g. on c_char_tests.f03 we have a stmt like
_2 = VIEW_CONVERT_EXPR(121)[1]{lb: 1 sz: 1};
after inlining (wonder why we never fold that to 121), which asan
incorrectly considered to be a load and thus attempted to instrument it,
by taking address of the rhs.
Fixed thusly, ok for trunk?
201