in/out contract overrides cause "cannot get frame pointer" error
This problem was observed with gdc 4.6.3 on Ubuntu 12.04.
Compilation fails when both an overridden class method and the one overriding it have in/out contracts. The compiler returns the following error for the attached minimal example:
inout.d:16: Error: function inout.B.foo cannot get frame pointer to require
Compilation succeeds only if the -release flag is used, which skips the assertions. DMD compiles the same code without problems.