[Bug c/126552] const-qualified local register variable used as an asm operand is silently discarded

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126552

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
This happens in the front-end:
"rf" 0B

For both C and C++ front-ends.

For GCC 16+ you should be using hard register constraints instead:
https://gcc.gnu.org/onlinedocs/gcc-16.1.0/gcc/Hard-Register-Constraints.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.