[Bug ipa/80728] IPA-reference suppresses compiler memory barrier
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 15 14:59:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80728
--- Comment #6 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
I think a possible approach is to add a new cgraph_node flag (or a multi-bit
field, if we want to track presence of acquire/release/seq-cst compiler
barriers separately), handle asms and atomics specially in cgraphbuild.c to set
that flag, and finally use the new flag in ipa-reference.c?
More information about the Gcc-bugs
mailing list