https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112724
--- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- I found that PR108698 "decltype ((T() + ‘excess_precision_expr’ not supported by dump_expr<expression error>)) median(ndarray<T>) [with T = double]’: since r13-3290-g98e341130f87984a" discussed a similar issue, but I don't know if it's actually related.