https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90302
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- I'm not sure a function call is the proper way to handle this. It would maybe be better to use a DEBUG-stmt like thing (maybe even actually a debug stmt!). In theory it would be possible to emit those into DWARF and trigger the warnings at runtime (under inspection of an appropriate tool like valgrind).