Re: [PATCH] Fix thinko in estimate_local_effects in IPA-CP

2018-08-31 Thread Richard Biener
On Fri, Aug 31, 2018 at 1:31 PM Martin Jambor wrote: > > Hi, > > I have discovered the following thinko in IPA-CP's > estimate_local_effects added during conversion to use nonspecialized > time. The intent clearly was to add an upper bound to the time > difference, not a lower one. > > The patch

[PATCH] Fix thinko in estimate_local_effects in IPA-CP

2018-08-31 Thread Martin Jambor
Hi, I have discovered the following thinko in IPA-CP's estimate_local_effects added during conversion to use nonspecialized time. The intent clearly was to add an upper bound to the time difference, not a lower one. The patch introduces a guality failure: gcc.dg/guality/pr41616-1.c -O3 -g