r274558 - in /trunk/gcc/testsuite: ChangeLog gc...

aoliva@gcc.gnu.org aoliva@gcc.gnu.org
Fri Aug 16 03:38:00 GMT 2019


Author: aoliva
Date: Fri Aug 16 03:38:36 2019
New Revision: 274558

URL: https://gcc.gnu.org/viewcvs?rev=274558&root=gcc&view=rev
Log:
use __builtin_alloca, drop non-standard alloca.h

Since alloca.h is not ISO C, most of our alloca-using tests seem to
rely on __builtin_alloca instead of including the header and calling
alloca.  This patch extends this practice to some of the exceptions I
found in gcc.target, marking them as requiring a functional alloca
while at that.


for  gcc/testsuite/ChangeLog

	* gcc.target/arc/interrupt-6.c: Use __builtin_alloca, require
	effective target support for alloca, drop include of alloca.h.
	* gcc.target/i386/pr80969-3.c: Likewise.
	* gcc.target/sparc/setjmp-1.c: Likewise.
	* gcc.target/x86_64/abi/ms-sysv/gen.cc: Likewise.
	* gcc.target/x86_64/abi/ms-sysv/ms-sysv.c: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/arc/interrupt-6.c
    trunk/gcc/testsuite/gcc.target/i386/pr80969-3.c
    trunk/gcc/testsuite/gcc.target/sparc/setjmp-1.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/gen.cc
    trunk/gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/ms-sysv.c



More information about the Gcc-cvs mailing list