https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123503
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also:
const auto& ref = (C auto&)(ptr_void);
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 21 Jan 2026 23:00:11 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123503
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also:
const auto& ref = (C auto&)(ptr_void);