This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: g++.dg/tree-ssa/inline-3.C


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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]