This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g++.dg/tree-ssa/inline-3.C
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Paolo Bonzini <bonzini at gnu dot org>, Richard Guenther <rguenther at suse dot de>, GCC <gcc at gcc dot gnu dot org>
- Date: Thu, 10 Feb 2011 00:27:41 +0100
- Subject: Re: g++.dg/tree-ssa/inline-3.C
- References: <4D5317BE.1090801@redhat.com>
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
>