[Bug middle-end/83653] [6/7/8 Regression] GCC fails to remove a can't-happen call on ia64
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 15 15:14:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83653
--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Actually, there is no need to use the __COUNTER__ stuff, just use
static const int __ia64_asr_p = ...;
in the scope. It is just important __OPTIMIZE__ is on, because at -O0 the
compiler wouldn't optimize those static vars away.
More information about the Gcc-bugs
mailing list