[Bug inline-asm/87984] [7/8/9 Regression] wrong code for local reg var input to asm
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 8 17:18:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87984
--- Comment #21 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #18)
> We could cache a bool in struct function whether the function has any local
> hard register vars and just propagate that info during inlining etc. and
> just add virtual operand if there are any clobbers and any local register
> vars (or with that condition check them).
This seems to dismiss comment #17. The clobber may be invisible on GIMPLE due
to function calls or just plain arithmetic that is turned to libcalls.
More information about the Gcc-bugs
mailing list