gcc/testsuite/
* gcc.c-torture/compile/
20000412-2.c (f): Call
__builtin_strlen instead of strlen.
* gcc.c-torture/compile/
20000427-1.c (FindNearestPowerOf2):
Declare.
* gcc.c-torture/compile/
20000802-1.c (bar): Call
__builtin_memcpy instead of memcpy.
* gcc.c-torture/compile/
20010525-1.c (kind_varread): Likewise.
* gcc.c-torture/compile/
20010706-1.c (foo): Add missing int
return type.
* gcc.c-torture/compile/
20020314-1.c (add_output_space_event)
(del_tux_atom, add_req_to_workqueue): Declare.
* gcc.c-torture/compile/
20020701-1.c (f): Call
__builtin_memcpy instead of memcpy.
* gcc.c-torture/compile/
20021015-2.c (f): Call __builtin_bcmp
instead of bcmo.
* gcc.c-torture/compile/
20030110-1.c (inb): Declare.
* gcc.c-torture/compile/
20030314-1.c (bar): Add missing
void return type.
* gcc.c-torture/compile/
20030405-1.c (bar): Add missing int
return type.
* gcc.c-torture/compile/
20030416-1.c (bar): Declare.
(main): Add missing int return type.
* gcc.c-torture/compile/
20030503-1.c (bar): Declare.
* gcc.c-torture/compile/
20030530-1.c: (bar): Declare.
* gcc.c-torture/compile/
20031031-2.c (foo, bar, baz): Declare.
* gcc.c-torture/compile/
20040101-1.c (test16): Call
__builtin_printf instead of printf.
* gcc.c-torture/compile/
20040124-1.c (f2, f3): Declare.
* gcc.c-torture/compile/
20040304-1.c (macarg): Declare.
* gcc.c-torture/compile/
20040705-1.c (f): Call
__builtin_memcpy instead of memcpy.
* gcc.c-torture/compile/
20040908-1.c (bar): Declare.
* gcc.c-torture/compile/
20050510-1.c (dont_remove): Declare.
* gcc.c-torture/compile/
20051228-1.c (bar): Declare.
* gcc.c-torture/compile/
20060109-1.c (cpp_interpret_string):
Declare.
(int_c_lex, cb_ident): Add missing void return type.
(cb_ident): Define as static.
* gcc.c-torture/compile/
20060202-1.c (sarray_get): Declare.
* gcc.c-torture/compile/
20070129.c (regcurly)
(reguni): Declare.
* gcc.c-torture/compile/
20070529-1.c (__fswab16): Declare.
* gcc.c-torture/compile/
20070529-2.c (kmem_free): Declare.
* gcc.c-torture/compile/
20070605-1.c (quantize_fs_dither):
Add missing void return type.
* gcc.c-torture/compile/
20071107-1.c
(settings_install_property_parser): Declare.
* gcc.c-torture/compile/
20090907-1.c (load_waveform): Call
__builtin_abort instead of abort.
* gcc.c-torture/compile/
20100907.c (t): Add missing void
types.
* gcc.c-torture/compile/
20120524-1.c (build_packet): Call
__builtin_memcpy instead of memcpy.
* gcc.c-torture/compile/
20120830-2.c
(ubidi_writeReordered_49): Add missing void return type.
* gcc.c-torture/compile/
20121010-1.c (read_long): Add missing
int return type.
* gcc.c-torture/compile/920301-1.c (f, g): Add missing void
types.
* gcc.c-torture/compile/920409-1.c (x): Likewise.
* gcc.c-torture/compile/920410-1.c (main): Add missing int
return type. Call __builtin_printf instead of printf.
* gcc.c-torture/compile/920410-2.c (joe): Add missing void
types.
* gcc.c-torture/compile/920411-2.c (x): Likewise.
* gcc.c-torture/compile/920413-1.c (f): Add missing int return
type.
* gcc.c-torture/compile/920428-3.c (x): Add missing int types.
* gcc.c-torture/compile/920428-4.c (x): Add missing void
return type and int parameter type.
* gcc.c-torture/compile/920501-10.c (x): Add missing int
types.
* gcc.c-torture/compile/920501-12.c (x, a, b, A, B): Likewise.
* gcc.c-torture/compile/920501-17.c (x): Add missing void
types.
* gcc.c-torture/compile/920501-19.c (y): Likewise.
* gcc.c-torture/compile/920501-22.c (x): Likewise.
* gcc.c-torture/compile/920501-3.c (x): Likewise.
* gcc.c-torture/compile/920501-4.c (foo): Likewise.
* gcc.c-torture/compile/920529-1.c (f): Call __builtin_abort
instead of abort.
* gcc.c-torture/compile/920615-1.c (f): Add missing void
types.
* gcc.c-torture/compile/920623-1.c (g): Likewise.
* gcc.c-torture/compile/920624-1.c (f): Likewise.
* gcc.c-torture/compile/920711-1.c (f): Add missing int types.
* gcc.c-torture/compile/920729-1.c (f): Add missing void
types.
* gcc.c-torture/compile/920806-1.c (f): Likewise.
* gcc.c-torture/compile/920821-2.c (f): Likewise.
* gcc.c-torture/compile/920825-1.c (f): Likewise.
* gcc.c-torture/compile/920825-2.c (f, g): Add missing void
return type.
* gcc.c-torture/compile/920826-1.c (f): Likewise.
* gcc.c-torture/compile/920828-1.c (f): Add missing int types.
* gcc.c-torture/compile/920829-1.c (f): Add missing void
return type.
* gcc.c-torture/compile/920928-3.c (f): Likewise.
* gcc.c-torture/compile/921012-2.c (f): Likewise.
* gcc.c-torture/compile/921013-1.c (f): Likewise.
* gcc.c-torture/compile/921019-1.c (f): Add missing void
types.
* gcc.c-torture/compile/921026-1.c (f): Add missing void
return type.
* gcc.c-torture/compile/921126-1.c (f): Add missing int
return type and missing void.
* gcc.c-torture/compile/921227-1.c (f): Add missing void
types.
* gcc.c-torture/compile/930109-2.c (f): Add missing int types.
* gcc.c-torture/compile/930210-1.c (f): Add missing void
types.
* gcc.c-torture/compile/930222-1.c (g): Declare.
(f): Add missing int return type.
* gcc.c-torture/compile/930421-1.c (f): Add missing void
return type.
* gcc.c-torture/compile/930503-1.c (f): Likewise.
* gcc.c-torture/compile/930513-1.c (f): Add missing int return
type.
* gcc.c-torture/compile/930513-3.c (test): Add missing void
types.
* gcc.c-torture/compile/930523-1.c (f): Likewise.
* gcc.c-torture/compile/930527-1.c (f): Likewise.
* gcc.c-torture/compile/930603-1.c (f): Likewise.
* gcc.c-torture/compile/930607-1.c (g): Likewise.
* gcc.c-torture/compile/930702-1.c (f): Add missing int
return type and missing void.
* gcc.c-torture/compile/931018-1.c (f): Add missing void
return type.
* gcc.c-torture/compile/931031-1.c (f): Likewise.
* gcc.c-torture/compile/931102-1.c (xxx): Add missing void
types.
* gcc.c-torture/compile/940611-1.c (f): Likewise.
* gcc.c-torture/compile/940712-1.c (f): Add missing int
return type and missing void.
* gcc.c-torture/compile/950512-1.c (g): Declare.
(f): Add missing void return type.
* gcc.c-torture/compile/950530-1.c (f): Add missing int
return type.
* gcc.c-torture/compile/950610-1.c (f): Add missing void
return type.
* gcc.c-torture/compile/950613-1.c (f): Add missing void
types.
* gcc.c-torture/compile/950816-1.c (f): Add missing int return
type and missing void.
* gcc.c-torture/compile/950816-2.c (func): Declare.
(f): Add missing void types.
* gcc.c-torture/compile/950816-3.c (f): Add missing int
return type and missing void.
* gcc.c-torture/compile/950919-1.c (f): Add missing void
types.
* gcc.c-torture/compile/950921-1.c (f): Add missing int
return type and missing void.
* gcc.c-torture/compile/951004-1.c (f): Add missing void
return type.
* gcc.c-torture/compile/951116-1.c (f): Add missing int
return type and missing void.
* gcc.c-torture/compile/951128-1.c (f): Add missing void
return type.
* gcc.c-torture/compile/951220-1.c (f): Add missing int return
type.
* gcc.c-torture/compile/960220-1.c (f): Add missing void
types.
* gcc.c-torture/compile/960221-1.c (foo): Add missing void
return type.
* gcc.c-torture/compile/960704-1.c (main): Add missing int
return type and missing void.
* gcc.c-torture/compile/961031-1.c (f): Add missing void
types.
* gcc.c-torture/compile/961126-1.c (sub, sub2): Declare.
(main): Add missing int return type and missing void.
* gcc.c-torture/compile/961203-1.c (main): Call __builtin_exit
instead of exit.
* gcc.c-torture/compile/981001-1.c (main): Likewise.
* gcc.c-torture/compile/981107-1.c (call): Declare.
* gcc.c-torture/compile/990517-1.c (sdbm__splpage): Call
__builtin_memcpy instead of memcpy.
* gcc.c-torture/compile/990617-1.c (main): Call
__builtin_printf instead of printf.
* gcc.c-torture/compile/991026-2.c (detach): Add missing void
types.
* gcc.c-torture/compile/991229-1.c (ejEval): Likewise.
* gcc.c-torture/compile/991229-3.c (rand): Declare.
char list[250][64];
-int f(int idx) { return (strlen(list[idx])); }
+int f(int idx) { return (__builtin_strlen(list[idx])); }
int lwidth;
int lheight;
+int FindNearestPowerOf2 (int);
void ConvertFor3dDriver (int requirePO2, int maxAspect)
{
int oldw = lwidth, oldh = lheight;
void bar(void)
{
- memcpy(bs.a, y, 3);
+ __builtin_memcpy(bs.a, y, 3);
bs.a[1] = ((x ? &bs.b : &bs.c) - (char *)&bs) - 2;
}
/* { dg-require-effective-target untyped_assembly } */
static int kind_varread(char *str)
{
- if (0 == memcmp("%_#", str, 3)) return 2;
+ if (0 == __builtin_memcmp("%_#", str, 3)) return 2;
/* NOTREACHED */
}
-
+int
foo(unsigned int x)
{
return (x << 1) | (x >> 31);
char error;
void *private;
};
+int add_output_space_event(tux_req_t *req, struct socket *);
+void del_tux_atom(tux_req_t *req);
+void add_req_to_workqueue(tux_req_t *req);
void user_send_buffer (tux_req_t *req, int cachemiss)
{
int ret;
a = v2 = v1;
e = v5 = v4;
- memcpy (&e, &e, sizeof (e));
+ __builtin_memcpy (&e, &e, sizeof (e));
v3 = strchr (v2, ',');
v6 = strchr (v5, ',');
int f (char *p, char *q, int i)
{
- return bcmp (p, q, i);
+ return __builtin_bcmp (p, q, i);
}
extern char bpp;
+int inb(int);
void foo()
{
/* Verify that the tree inliner doesn't mess up the types
when passing the value of read-only constant arguments. */
-static inline bar(const short int xs, const short int xe)
+static inline void bar(const short int xs, const short int xe)
{
if (xe && (xs < xe))
;
static const char * const str = "mingo";
-bar()
+int
+bar(void)
{
size_t c;
char *x;
+void bar (void);
+
void foo(int x)
{
if (x > 3)
x = 9;
}
-main()
+int
+main(void)
{
int j;
+void bar (void);
+
void foo ()
{
if (1)
{
struct tree_common common;
};
+void bar (tree);
static void
java_check_regular_methods (tree class_decl)
{
/* PR/10239 */
+void foo ();
+void bar ();
+void baz ();
+
enum node_type
{
INITIAL = 0, FREE,
__asm volatile(""
: "=&r" (bsf_result), "=&r" (bsf_eflags)
: "r" (x), "i" (~EFLAGS_BITS), "r" (eflags));
- printf("%08x %04x bsrw %02x %08x bsfw %02x %08x\n",
- x, eflags, bsr_result, bsr_eflags, bsf_result, bsf_eflags);
+ __builtin_printf("%08x %04x bsrw %02x %08x bsfw %02x %08x\n",
+ x, eflags, bsr_result, bsr_eflags, bsf_result,
+ bsf_eflags);
}
+int f2 (int, int);
+int f3 (int);
int
f1 (int a, int b)
{
+int macarg (char *, int);
void
cpplib_macroExpand (char * pfile)
{
extern char foo[], bar[];
-void f (void) { memcpy (foo, bar, 7); }
+void f (void) { __builtin_memcpy (foo, bar, 7); }
/* PR 17186 */
+void bar(void);
+
double foo()
{
int i;
/* { dg-require-effective-target indirect_jumps } */
/* { dg-require-effective-target label_values } */
+void dont_remove (void);
+
void bar (int k)
{
void *label = (k) ? &&x : &&y;
/* Bitwise shift with negative shift count has undefined behavior,
but we shouldn't ICE on it. */
+void bar (void);
+
void
foo (long x)
{
void (*ident) (cpp_reader *, unsigned int, const cpp_string *);
};
static void cb_ident (cpp_reader *, unsigned int, const cpp_string *);
+int cpp_interpret_string (cpp_reader *, const cpp_string *, int,
+ cpp_string *, int);
+void
init_c_lex (void)
{
struct cpp_callbacks *cb;
cb->ident = cb_ident;
}
+static void
cb_ident (cpp_reader * pfile __attribute__ ((__unused__)), unsigned int
line
__attribute__ ((__unused__)), const cpp_string * str
x.idx = indx;
return x.off.eoffset + (x.off.boffset * (1 << 5));
}
+void *sarray_get (struct sarray *array, sidx indx);
static __inline__ void *
sarray_get_safe (struct sarray *array, sidx indx)
{
char string[1];
};
+int regcurly (char *);
+void reguni (RExC_state_t *, unsigned, unsigned char *, unsigned long *);
+
static void *regatom (RExC_state_t * pRExC_state, int *flagp);
static void *
struct hfs_extent {
__be16 count;
};
+__u16 __fswab16 (__u16);
int hfs_free_fork( int type)
{
u32 total_blocks, blocks, start;
+void kmem_free (void *);
void xfs_dir2_grow_inode(void)
{
int map;
+void
quantize_fs_dither (unsigned width, short *errorptr, int dir)
{
short bpreverr;
enum { PROP_0, PROP_DOUBLE_CLICK_TIME, PROP_DOUBLE_CLICK_DISTANCE, PROP_CURSOR_BLINK, PROP_CURSOR_BLINK_TIME, PROP_CURSOR_BLINK_TIMEOUT, PROP_SPLIT_CURSOR, PROP_THEME_NAME, PROP_ICON_THEME_NAME, PROP_FALLBACK_ICON_THEME, PROP_KEY_THEME_NAME, PROP_MENU_BAR_ACCEL, PROP_DND_DRAG_THRESHOLD, PROP_FONT_NAME, PROP_ICON_SIZES, PROP_MODULES, PROP_XFT_ANTIALIAS, PROP_XFT_HINTING, PROP_XFT_HINTSTYLE, PROP_XFT_RGBA, PROP_XFT_DPI, PROP_CURSOR_THEME_NAME, PROP_CURSOR_THEME_SIZE, PROP_ALTERNATIVE_BUTTON_ORDER, PROP_ALTERNATIVE_SORT_ARROWS, PROP_SHOW_INPUT_METHOD_MENU, PROP_SHOW_UNICODE_MENU, PROP_TIMEOUT_INITIAL, PROP_TIMEOUT_REPEAT, PROP_TIMEOUT_EXPAND, PROP_COLOR_SCHEME, PROP_ENABLE_ANIMATIONS, PROP_TOUCHSCREEN_MODE, PROP_TOOLTIP_TIMEOUT, PROP_TOOLTIP_BROWSE_TIMEOUT, PROP_TOOLTIP_BROWSE_MODE_TIMEOUT, PROP_KEYNAV_CURSOR_ONLY, PROP_KEYNAV_WRAP_AROUND, PROP_ERROR_BELL, PROP_COLOR_HASH, PROP_FILE_CHOOSER_BACKEND, PROP_PRINT_BACKENDS, PROP_PRINT_PREVIEW_COMMAND, PROP_ENABLE_MNEMONICS, PROP_ENABLE_ACCELS, PROP_RECENT_FILES_LIMIT };
void g_assert_warning (void) __attribute__((__noreturn__));
+unsigned int settings_install_property_parser (void);
void gtk_settings_class_init (void)
{
unsigned int result;
cksum_idx = tta + trn * 4 + 3;
cksum = calc_cksum (cksum_idx - 3, cksum_idx, mem);
if (cksum != mem[cksum_idx]) {
- abort();
+ __builtin_abort();
}
}
extern struct firmware *fw_entry;
struct a {int a,b;};
const static struct a a[1]={{1,2}};
struct a b,c;
-t()
+void t(void)
{
int idx = 0;
b=a[idx];
char CJPAT_Packet[1508] = {};
void build_packet(int port, char *packet) {
- memcpy(packet, CJPAT_Packet, sizeof(CJPAT_Packet));
+ __builtin_memcpy(packet, CJPAT_Packet, sizeof(CJPAT_Packet));
}
+void
ubidi_writeReordered_49( int *dest, const unsigned char *dirProps)
{
if (!(1&(1UL<<*dirProps)))
int _IO_getc(int*);
-read_long(int *fp)
+int read_long(int *fp)
{
unsigned char b0, b1, b2, b3;
b0 = _IO_getc (fp);
/* { dg-require-effective-target label_values } */
-f(){static void*t[]={&&x};x:;}
-g(){static unsigned p[5];}
+void f(void){static void*t[]={&&x};x:;}
+void g(void){static unsigned p[5];}
-x(){int y;y>0.0?y:y-1;}
+void x(void){int y;y>0.0?y:y-1;}
return u.f;
}
-main()
+int
+main(void)
{ int x=alloc_float(1.2);
int y=alloc_float(5.7);
int z=alloc_float(c_float(x)*c_float(y));
- printf("%g\n",(double)c_float(z));
+ __builtin_printf("%g\n",(double)c_float(z));
}
-joe()
+void
+joe(void)
{
int j;
-x(){int n;double x;n=x<1?n:n+1;}
+void x(void){int n;double x;n=x<1?n:n+1;}
union u {double d;long long ll;};
-f(double x, int n){union u v;v.d=x;if(n>=0){v.ll<<=63;}else{v.ll+=1<<-n;v.ll>>=-n;}return v.ll;}
+int f(double x, int n){union u v;v.d=x;if(n>=0){v.ll<<=63;}else{v.ll+=1<<-n;v.ll>>=-n;}return v.ll;}
/* { dg-require-effective-target label_values } */
/* { dg-require-effective-target indirect_jumps } */
-x(a){static void*j[]={&&l1,&&l2};goto*j[a];l1:return 0;l2:return 1;}
+int x(int a){static void*j[]={&&l1,&&l2};goto*j[a];l1:return 0;l2:return 1;}
/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
-x(a){struct{int p[a],i;}l;l.i;}
+void x(int a){struct{int p[a],i;}l;l.i;}
-x(y){return 8193*y;}
+int x(int y){return 8193*y;}
/* { dg-skip-if "Array too big" { "pdp11-*-*" } { "-mint32" } } */
/* { dg-require-stack-size "9999*4" } */
-x(x){ return 3 + x;}
-a(x){int y[994]; return 3 + x;}
-b(x){int y[999]; return 2*(x + 3);}
-A(x){int y[9999];return 2*(x + 3);}
-B(x){int y[9949];return 3 + x;}
+int x(int x){ return 3 + x;}
+int a(int x){int y[994]; return 3 + x;}
+int b(int x){int y[999]; return 2*(x + 3);}
+int A(int x){int y[9999];return 2*(x + 3);}
+int B(int x){int y[9949];return 3 + x;}
-x(){static const char x[]="x";char y[2];y[0]=x[1];}
+void x(void){static const char x[]="x";char y[2];y[0]=x[1];}
-long long x=0;y(){x=0;}
+long long x=0;void y(void){x=0;}
-x(){int y[]={};}
+void x(void){int y[]={};}
struct{long long x:24,y:40;}v;
-x(){v.y=0;}
+void x(void){v.y=0;}
/* { dg-skip-if "Array too big" { "pdp11-*-*" } { "-mint32" } } */
/* { dg-require-stack-size "8196*4" } */
-foo ()
+void foo (void)
{
int r0[8186 ];
int r1[2 ];
int qn;
int j;
- abort ();
+ __builtin_abort ();
acc = a[m - 1];
a += 0;
-f()
+void
+f(void)
{
int x[20] = {[0] = 5, [10] = 12};
}
int f(int c){return f(c--);}
-g(){}
+void g(void){}
int B[],Q[];
-f(){int s;for(s=0;s<=1;s++)switch(s){case 2:case 3:++B[s];case 4:case 5:++Q[s];}}
+void f(void){int s;for(s=0;s<=1;s++)switch(s){case 2:case 3:++B[s];case 4:case 5:++Q[s];}}
-f(a){a=(1,1)/2;}
+int f(int a){a=(1,1)/2;}
extern volatile int i;
-f(){int j;for(;;)j = i;}
+void f(void){int j;for(;;)j = i;}
-f(){short x=32000;}
+void f(void){short x=32000;}
typedef struct{int p[25];}t1;
struct{t1 x,y;}y;
t1 x[1];
-f(){y.x=*x;y.y=*x;}
+void f(void){y.x=*x;y.y=*x;}
#pragma pack(1)
struct{unsigned short f1:5;unsigned short f2:6;}x;
-f(){x.f2=1;}
+void f(void){x.f2=1;}
-f(double*a,int m){int j;for(j=0;j<m;j++)a[j]=1;}
-g(double*a){int j;for(j=0;j<4;j++)a[j]=1;}
+void f(double*a,int m){int j;for(j=0;j<m;j++)a[j]=1;}
+void g(double*a){int j;for(j=0;j<4;j++)a[j]=1;}
/* { dg-require-effective-target indirect_jumps } */
-f(int*x){goto*(void*)(__INTPTR_TYPE__)(char)*x;}
+void f(int*x){goto*(void*)(__INTPTR_TYPE__)(char)*x;}
-char a[]={4,5};f(n){return a[n<2?n:0];}
+char a[]={4,5};int f(int n){return a[n<2?n:0];}
-f(double x){double y;y=x/0.5;if(y<0.1)y=1.0;}
+void f(double x){double y;y=x/0.5;if(y<0.1)y=1.0;}
+void
f (int phaseone)
{
typedef struct
struct foo {
int a,b,c;
};
+void
f(struct foo*a,struct foo*b)
{
*a=*b;
+void
f(int x,short y)
{
long z=y<0?x>0?x:0:y;
int n:1,c:1;
}p;
-f()
+void
+f(void)
{
p.c=p.n=0;
}
+void
f(unsigned short*a)
{
a[0]=65535;
-f()
+int
+f(void)
{
long long a0, a1, a0s, val;
int width;
char *s = k(k(1,2));
char *t = k(#) k(#undef k) k(x);
-f(){}
+void f(void){}
-f(r)
+int
+f(int r)
{
int i;
for (i = 0; i < 2; i++)
-f()
+void
+f(void)
{
char c1, c2;
char *p1, *p2;
double f;
} T;
+extern int g(T *);
+
+int
f (T *n1, T *n2)
{
if (g (n2))
double q(double);
+void
f (int **x, int *r, int *s, int a, int b, int c, int d)
{
int i, j, k, m, e, f, g, z[1024], y[2];
+void
f (const char *s, char *d, unsigned l)
{
if (0)
int f2 : 8;
};
+int
f (struct s *x)
{
return x->f2++ == 0;
-test ()
+void
+test (void)
{
short *p, q[3];
int x;
int v;
-f ()
+void
+f (void)
{
unsigned long *a1, *a2;
int vertex2;
[e0] = 0
};
-f ()
+void
+f (void)
{
switch (1)
{
union u { union u *a; double d; };
union u *s, g();
-f()
+void
+f(void)
{
union u x = g();
typedef f *pf;
long long i;
-g ()
+void
+g (void)
{
long long p = i;
((pf) (long) p) ();
-f ()
+int
+f (void)
{
{({});}
return 1;
int a, b;
} T;
+void
f (T *bs)
{
long long x;
int pad:1, no:1;
};
+void
f (struct s *b, int c)
{
char d = b->no && c;
if (d > *b++) d |= a; \
if (b) b = e(b);
-xxx()
+void
+xxx(void)
{
int a, d;
char *b, *c;
-f ()
+void
+f (void)
{
do
L:;
-f ()
+int
+f (void)
{
return (*(volatile unsigned int *)8000) / 3;
}
typedef unsigned short uint16;
+int g (int);
+void
f (unsigned char *w)
{
w[2] = (uint16) ((((g (0) % 10000 + 42) & 0xFF) << 8) | (((g (0) % 10000 + 42) >> 8) & 0xFF)) & 0xFF,
+int
f (int *s, int *t)
{
return (t - s) / 2;
-f (int n, int a[2][n]) {}
+void f (int n, int a[2][n]) {}
/* { dg-require-effective-target label_values } */
/* { dg-require-effective-target indirect_jumps } */
-f ()
+void
+f (void)
{
long *sp;
long *pc;
-f ()
+int
+f (void)
{
unsigned char b[2];
float f;
-f ()
+int func (char *);
+void
+f (void)
{
int i;
float a,b,c;
-f ()
+int
+f (void)
{
int i;
short x, z;
#if empty#cpu(m68k)
#endif
-f (){}
+void f (void){}
-f ()
+int
+f (void)
{
union
{
S a;
+void
f (S pnt)
{
S mpnt, mtp;
-f ()
+int
+f (void)
{
long long i;
int j;
char a[];
+void
f (const int i)
{
a[i] = 0;
+int
f (char *x)
{
return (*x & 2) || (*x & 3);
-f ()
+void
+f (void)
{
unsigned long long int a = 0, b;
while (b > a)
int f2;
};
+void
foo (struct s2 *ptr)
{
*ptr = (struct s2) {{}, 0};
struct A f ();
-main ()
+int
+main (void)
{
struct A a = f();
}
return sd;
}
-f ()
+void
+f (void)
{
g ();
}
int *p;
+int sub(void);
+int sub2(int);
-main()
+int
+main(void)
{
int i = sub ();
p = (struct s*) 0;
if (p->x == p->y)
- exit (1);
+ __builtin_exit (1);
}
#else
int g;
low |= 0x4000;
}
- exit (0);
+ __builtin_exit (0);
}
+void call(void);
unsigned long seed(void)
{
unsigned long u;
register int off = 1024 ;
char cur[1024 ];
register short *ino = (short *) cur;
- (void) memcpy(cur, pag, 1024 );
+ (void) __builtin_memcpy(cur, pag, 1024 );
(void) ({ void *__s = ( pag ); __builtin_memset ( __s , '\0', 1024 ) ; __s; });
(void) ({ void *__s = ( New ); __builtin_memset ( __s , '\0', 1024 ) ; __s; });
n = ino[0];
p += 2;
{
unsigned int *addr = (unsigned int *)0x70000000;
- printf("%d, %d\n", addr[1], addr[0]);
+ __builtin_printf("%d, %d\n", addr[1], addr[0]);
}
} while (1);
char myname[]="foo";
-detach()
+void
+detach(void)
{
switch(fork()) {
case -1:
static int parse (int, int);
static int parseStmt (int, int);
-ejEval()
+void
+ejEval(void)
{
int state;
state = parse(8 , 0x1 );
int m[8],b[8];
+int rand(void);
int main(){
int i;