https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109556
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Fixed for GCC 13.1, thanks for the bug report.
FWIW a potential workaround for this bug, which seems to work for me at least,
is to remove the Magnitude constraint from to_prefix_base and
to_base_scaled_unit.