[patch] Reuse non-gimple_reg variable for inlining
Eric Botcazou
botcazou@adacore.com
Wed Jun 9 21:37:24 GMT 2021
> I'm afraid the inliner would need to prove the to be inlined callee doesn't
> modify its own copy of the variable too, because if it modifies it (at least
> in C/C++ const can be cast away), then this introduces wrong-code, see
> PR100994 for details.
Then please remove the TREE_READONLY marker in C/C++ if this is a lie.
--
Eric Botcazou
More information about the Gcc-patches
mailing list