https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126882
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Josef Melcr <[email protected]>: https://gcc.gnu.org/g:25a56748f2b58270f4f6addecda004d5dea8e4a3 commit r17-3624-g25a56748f2b58270f4f6addecda004d5dea8e4a3 Author: Josef Melcr <[email protected]> Date: Mon Aug 24 12:28:04 2026 +0200 Fix callback_info ODR violation [PR126882] I accidentallly introduced an ODR violation in r17-3257-g6481867ae01355 with the callback_info struct. I wasn't aware that there is a struct of the same name in plugin.cc. This patch puts the struct in an anonymous namespace to fix the ODR issues when compiling with LTO, as suggested by Drea Pinski. PR plugins/126882 gcc/ChangeLog: * plugin.cc (struct callback_info): Put the struct into an anonymous namespace. Signed-off-by: Josef Melcr <[email protected]>
