This is the mail archive of the gcc-patches@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: What should we do with gcc.target/i386/pr12329.c?


On Wed, Sep 23, 2009 at 10:35 AM, Richard Henderson <rth@redhat.com> wrote:
> On 09/23/2009 09:17 AM, H.J. Lu wrote:
>>
>> Hi,
>>
>> Since we now allow regparm(3) for nested functions,
>> gcc.target/i386/pr12329.c
>> fails. Should we remove it or change it into run-time test for both
>> ilp32 and lp64?
>
> A runtime test that both direct and indirect invocations of foo succeed.
>

Here is a patch.  OK for trunk?

Thanks.


-- 
H.J.
---
2009-09-24  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.target/i386/pr12329.c (dg-do): Changed to run.
	(test_nested): Renamed to ...
	(test_nested1): This.
	(test_nested2): New.
	(main): Likewise.

Attachment: gcc-bar-1.patch
Description: Text document


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