Re: [PR 84947] Bits propagation only for int and ptr types

2018-04-03 Thread Richard Biener
On Tue, Apr 3, 2018 at 11:39 AM, Martin Jambor wrote: > Hi, > > PR 84947 shows that when we LTO calls with type-mismatches, we can end > up doing undefined shifts because we try to work with precision of types > which do not have any. > > Fixed basically in the same way as Martin proposed in Bugzi

[PR 84947] Bits propagation only for int and ptr types

2018-04-03 Thread Martin Jambor
Hi, PR 84947 shows that when we LTO calls with type-mismatches, we can end up doing undefined shifts because we try to work with precision of types which do not have any. Fixed basically in the same way as Martin proposed in Bugzilla, the patch below also updates the comment and dump message to r