Change __builtin_alloca declaration to use an unsigned long long parameter.

This commit is contained in:
Ziemowit Laski
2019-03-19 13:12:29 -07:00
parent ff3430d8d0
commit 11ed4f3312
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ extern int w1, w2;
#define restrict __restrict__
#endif
void *__builtin_alloca(int sz);
void *__builtin_alloca(unsigned long long sz);
#define alloca __builtin_alloca
typedef unsigned long size_t;

View File

@@ -9,7 +9,7 @@ void free(void *ptr);
struct vtype { int i1, i2; };
extern int w1, w2;
void *_builtin_alloca(int sz);
void *_builtin_alloca(unsigned long long sz);
#define alloca __builtin_alloca
// We forward-declare the Microsoft routines

View File

@@ -9,7 +9,7 @@
int sprintf(char *restrict buf, const char *restrict format, ...);
char * strdup(const char *restrict str1);
void *__builtin_alloca(int sz);
void *__builtin_alloca(unsigned long long sz);
#define alloca __builtin_alloca
// case 1: a GNU c/c++ lambda with an alloca in it