Fix for ppc-stackalign-1.c test

Ben Elliston bje@au1.ibm.com
Thu Oct 14 01:28:00 GMT 2004


Richard Henderson <rth@redhat.com> writes:

> No, the proper solution is
>   { dg-options "" }

How about this patch, then?  I preserved -ansi.

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

	* gcc.dg/ppc-stackalign-1.c: Set dg-options to { -ansi }.

*** ppc-stackalign-1.c.~1.1.~	Wed Oct 29 08:13:39 2003
--- ppc-stackalign-1.c	Thu Oct 14 11:22:22 2004
***************
*** 1,4 ****
--- 1,5 ----
  /* { dg-do run { target powerpc-*-linux* powerpc-*-sysv* } } */
+ /* { dg-options { -ansi } } */
  
  /* Test stack pointer alignment against variable alloca.  */
  /* Inspired by PR libgcj/10610.  */



More information about the Gcc-patches mailing list