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: Fix for failing gcc.c-torture/execute/stdarg-2.c test



On Oct 20, 2004, at 12:13 AM, Ben Elliston wrote:


The following patch, mimicked from Ulrich Weigand's patch [1], adapts
some backend code to using build_va_arg_indirect_ref().  Tested with a
powerpc-linux bootstrap and make check.  The change corrects the
failing gcc.c-torture/execute/stdarg-2.c test.

When I say that I mimicked Ulrich's patch, I must admit that I don't
completely understand the change, so please scruitinise my patch
heavily!

Ben

[1] http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01043.html


2004-10-20 Ben Elliston <bje@au.ibm.com>


	* config/rs6000/rs6000.c
	(rs6000_va_start): Use build_va_arg_indirect_ref.
	(rs6000_gimplify_va_arg): Likewise.

This looks correct to me (but note I cannot approve it). Please close the related bug to this problem, PR 17716 when you apply the patch after getting approved.

Thanks,
Andrew Pinski


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