[Bug inline-asm/98847] Miscompilation with c++17, templates, and register keyword
krebbel at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 28 15:29:11 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98847
Andreas Krebbel <krebbel at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |krebbel at gcc dot gnu.org
--- Comment #6 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Thanks for fixing this. When I had a look at it in 2015 I found that template
instantiation explicitly zeroes out the asm name. Solution for me was to
prevent that for hard reg decls. Not sure what approach is preferable here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33661#c13
More information about the Gcc-bugs
mailing list