[Bug tree-optimization/18487] Warnings for pure and const functions that are not actually pure or const

sjames at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 22 00:56:46 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18487

--- Comment #33 from Sam James <sjames at gcc dot gnu.org> ---
Another option might be for -fsanitize=undefined to instrument reads and stores
in these functions and trap if they're reached.


More information about the Gcc-bugs mailing list