https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85740
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- These functions are not functional equivalent. In the b.c, it records the max location but it is the last element which contains that value. While in c.c, the first element which contains the value is recorded.