On Mon, 10 Aug 2015, Nathan Sidwell wrote: > Richard, > > This patch fixes the problem I described earlier about min/max generation > propagating incorrect range information > (https://gcc.gnu.org/ml/gcc/2015-08/msg00024.html). > > I went with creating a new name, if the PHI being modified has more than 2 > edges. I also modified the testcase that my min/max vrp patch tickled -- it > wasn't calling an init function and hence copying zeroes rather than the small > values it thought it was copying. Also added a new test to convert zeroes, > which was the failure mode I observed in the DFP lib. > > This patch was tested in combination with the new min max optimization I'll > post momentarily. > > ok?
Ok. Thanks, Richard.