C++: -fvtable-gc and -fforce-addr don't go well together

Richard Henderson rth@cygnus.com
Wed Sep 6 01:00:00 GMT 2000


On Fri, Sep 01, 2000 at 03:40:47PM +0200, Hans-Peter Nilsson wrote:
> For example, add -fforce-addr to
> testsuite/g++.old-deja/g++.other/crash18.C, and you'll see
> an error "inconsistent operand constraints in an `asm'",

The only correct fix for this is to not abuse asm in this way.
We should attach some sort of note to the call insn, and have
final do something with it directly.


r~


More information about the Gcc-bugs mailing list