[Bug middle-end/85740] Non-optimal determining maximum in a loop
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 10 21:25:00 GMT 2018
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.
More information about the Gcc-bugs
mailing list