g++.dg/tree-ssa/inline-3.C
Richard Guenther
richard.guenther@gmail.com
Wed Feb 9 23:27:00 GMT 2011
On Wed, Feb 9, 2011 at 11:39 PM, Jason Merrill <jason@redhat.com> wrote:
> This testcase is ill-formed (and breaks in C++0x mode), because it declares
> puts to have the wrong return type. I note that changing it to have the
> right return type causes it to no longer be inlined. What do you suggest we
> do about this?
I think this is PR47663 - something I stumbled over today by accident ;)
I suggest to either XFAIL the testcase or change it to use std::free
(or some other function with void return type).
Richard.
> Jason
>
More information about the Gcc
mailing list