mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 03:39:29 +08:00
uninit-9.c (func): Use __builtin_alloca instead of alloca to avoid the need for a prototype to...
* gcc.dg/uninit-9.c (func): Use __builtin_alloca instead of alloca to avoid the need for a prototype to supress a warning. From-SVN: r26522
This commit is contained in:
parent
134fddff1b
commit
f5e68e33b2
@ -1,3 +1,8 @@
|
||||
Sat Apr 17 16:56:48 1999 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* gcc.dg/uninit-9.c (func): Use __builtin_alloca instead of alloca
|
||||
to avoid the need for a prototype to supress a warning.
|
||||
|
||||
Sun Apr 4 04:02:53 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* gcc.c-torture/execute/990404-1.c: New test.
|
||||
|
@ -27,7 +27,7 @@ func(struct foo *list, int count)
|
||||
|
||||
if(list[0].type == PARALLEL)
|
||||
{
|
||||
clob_list = alloca(count * sizeof(struct foo *));
|
||||
clob_list = __builtin_alloca(count * sizeof(struct foo *));
|
||||
|
||||
for(i = 1; i < count; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user