------- Comment #30 from burnus at gcc dot gnu dot org 2009-07-24 08:19 ------- Regarding the just committed inline version: It would be interesting to know whether it is vectorizable (with/without -ffinite-math-only [i.e. -ffast-math]).
Additionally, for size-1 result arrays, the function should be inlined except for -O0 and -Os. That affects especially {min,max}loc as for {min,max}val this looks like a very special case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31067