On Wed, Nov 14, 2018 at 10:47:57AM +0100, Jakub Jelinek wrote: > This makes no sense to me. There is nothing unsupported in passing > a local hard register variable to a function, that is well defined, > and as your testcase changes show, you broke quite some completely valid > testcases with that.
What could perhaps be useful is a warning for a local register var that is not used in any asm? > What doesn't work as the reporter expect is assumption that local hard > register variables that live across function calls must have their values > preserved; they can be modified by the callees. It would be really nice if we could fix that :-) Segher