https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122009
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
See Also| |https://bugs.gentoo.org/sho
| |w_bug.cgi?id=963206
--- Comment #6 from Sam James <sjames at gcc dot gnu.org> ---
Thanks! We had another report of this with last night's snapshot:
https://bugs.gentoo.org/963206
```
/var/tmp/portage/sys-devel/gcc-16.0.0_p20250921/work/gcc-16-20250921/gcc/m2/pge-boot/Gldtoa.h:69:15:
error: type of ‘ldtoa_ldtoa’ does not match original declaration
[-Werror=lto-type-mismatch]
69 | EXTERN void * ldtoa_ldtoa (long double d, int mode, int ndigits, int
*decpt, bool *sign);
| ^
/var/tmp/portage/sys-devel/gcc-16.0.0_p20250921/work/gcc-16-20250921/gcc/m2/pge-boot/Gldtoa.cc:66:1:
note: ‘ldtoa_ldtoa’ was previously declared here
66 | ldtoa_ldtoa (long double d, int mode, int ndigits, int *decpt, int
*sign)
| ^
/var/tmp/portage/sys-devel/gcc-16.0.0_p20250921/work/gcc-16-20250921/gcc/m2/pge-boot/Gldtoa.cc:66:1:
note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
lto1: some warnings being treated as errors
lto-wrapper: fatal error:
/var/tmp/portage/sys-devel/gcc-16.0.0_p20250921/work/build/./prev-gcc/xg++
returned 1 exit status
compilation terminated.
```