[Bug ada/123060] [13 regression] ICE in fld_incomplete_type_of when building GtkAda with LTO
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 22 19:52:17 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123060
--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eric Botcazou <ebotcazou@gcc.gnu.org>:
https://gcc.gnu.org/g:f5b2f72eb0e17345ba4c8203e80fce5baa5f3574
commit r16-6339-gf5b2f72eb0e17345ba4c8203e80fce5baa5f3574
Author: Eric Botcazou <ebotcazou@adacore.com>
Date: Mon Dec 22 20:50:09 2025 +0100
Ada: Fix ICE in fld_incomplete_type_of when building GtkAda with LTO (2)
The change incorrectly resets the alias set of the old pointer/reference,
which leads to the miscompilation of a few ACATS tests on some platforms.
gcc/ada/
PR ada/123060
* gcc-interface/utils.cc (update_pointer_to): Preserve the alias
sets present on the old pointer and old reference, if any.
More information about the Gcc-bugs
mailing list