forked from wangliu-iscas/gcc-patch
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C99 testsuite readiness: Compile more tests with -std=gnu89
gcc/testsuite/ * gcc.c-torture/compile/386.c: Compile with -std=gnu89. * gcc.c-torture/compile/BUG1.c: Likewise. * gcc.c-torture/compile/BUG11.c: Likewise. * gcc.c-torture/compile/BUG16.c: Likewise. * gcc.c-torture/compile/BUG2.c: Likewise. * gcc.c-torture/compile/BUG24.c: Likewise. * gcc.c-torture/compile/BUG25.c: Likewise. * gcc.c-torture/compile/BUG3.c: Likewise. * gcc.c-torture/compile/DFcmp.c: Likewise. * gcc.c-torture/compile/HIcmp.c: Likewise. * gcc.c-torture/compile/HIset.c: Likewise. * gcc.c-torture/compile/QIcmp.c: Likewise. * gcc.c-torture/compile/QIset.c: Likewise. * gcc.c-torture/compile/SFset.c: Likewise. * gcc.c-torture/compile/SIcmp.c: Likewise. * gcc.c-torture/compile/SIset.c: Likewise. * gcc.c-torture/compile/UHIcmp.c: Likewise. * gcc.c-torture/compile/UQIcmp.c: Likewise. * gcc.c-torture/compile/USIcmp.c: Likewise. * gcc.c-torture/compile/a.c: Likewise. * gcc.c-torture/compile/a1.c: Likewise. * gcc.c-torture/compile/a3.c: Likewise. * gcc.c-torture/compile/aa.c: Likewise. * gcc.c-torture/compile/aaa.c: Likewise. * gcc.c-torture/compile/abs.c: Likewise. * gcc.c-torture/compile/ac.c: Likewise. * gcc.c-torture/compile/acc.c: Likewise. * gcc.c-torture/compile/add.c: Likewise. * gcc.c-torture/compile/add386.c: Likewise. * gcc.c-torture/compile/addcc.c: Likewise. * gcc.c-torture/compile/andm.c: Likewise. * gcc.c-torture/compile/andmem.c: Likewise. * gcc.c-torture/compile/andn.c: Likewise. * gcc.c-torture/compile/andok.c: Likewise. * gcc.c-torture/compile/andsi.c: Likewise. * gcc.c-torture/compile/andsparc.c: Likewise. * gcc.c-torture/compile/aos.c: Likewise. * gcc.c-torture/compile/arr.c: Likewise. * gcc.c-torture/compile/as.c: Likewise. * gcc.c-torture/compile/ase.c: Likewise. * gcc.c-torture/compile/band.c: Likewise. * gcc.c-torture/compile/bb0.c: Likewise. * gcc.c-torture/compile/bb1.c: Likewise. * gcc.c-torture/compile/bc.c: Likewise. * gcc.c-torture/compile/bcopy.c: Likewise. * gcc.c-torture/compile/bfx.c: Likewise. * gcc.c-torture/compile/bge.c: Likewise. * gcc.c-torture/compile/bit.c: Likewise. * gcc.c-torture/compile/bitf.c: Likewise. * gcc.c-torture/compile/bitw.c: Likewise. * gcc.c-torture/compile/blk.c: Likewise. * gcc.c-torture/compile/bt386.c: Likewise. * gcc.c-torture/compile/bug.c: Likewise. * gcc.c-torture/compile/buns.c: Likewise. * gcc.c-torture/compile/c.c: Likewise. * gcc.c-torture/compile/c2.c: Likewise. * gcc.c-torture/compile/call.c: Likewise. * gcc.c-torture/compile/callind.c: Likewise. * gcc.c-torture/compile/calls-void.c: Likewise. * gcc.c-torture/compile/calls.c: Likewise. * gcc.c-torture/compile/cc.c: Likewise. * gcc.c-torture/compile/cmb.c: Likewise. * gcc.c-torture/compile/cmpsi386.c: Likewise. * gcc.c-torture/compile/cmul.c: Likewise. * gcc.c-torture/compile/comb.c: Likewise. * gcc.c-torture/compile/consec.c: Likewise. * gcc.c-torture/compile/const.c: Likewise. * gcc.c-torture/compile/conv_tst.c: Likewise. * gcc.c-torture/compile/cvt.c: Likewise. * gcc.c-torture/compile/dbl_parm.c: Likewise. * gcc.c-torture/compile/dblbug.c: Likewise. * gcc.c-torture/compile/dead.c: Likewise. * gcc.c-torture/compile/delay.c: Likewise. * gcc.c-torture/compile/di.c: Likewise. * gcc.c-torture/compile/div.c: Likewise. * gcc.c-torture/compile/dm.c: Likewise. * gcc.c-torture/compile/dshift.c: Likewise. * gcc.c-torture/compile/e.c: Likewise. * gcc.c-torture/compile/ex.c: Likewise. * gcc.c-torture/compile/ext.c: Likewise. * gcc.c-torture/compile/flo.c: Likewise. * gcc.c-torture/compile/forgetcc.c: Likewise. * gcc.c-torture/compile/g.c: Likewise. * gcc.c-torture/compile/gen_tst.c: Likewise. * gcc.c-torture/compile/gronk.c: Likewise. * gcc.c-torture/compile/hi.c: Likewise. * gcc.c-torture/compile/i.c: Likewise. * gcc.c-torture/compile/icmp.c: Likewise. * gcc.c-torture/compile/ifreg.c: Likewise. * gcc.c-torture/compile/jumptab.c: Likewise. * gcc.c-torture/compile/l.c: Likewise. * gcc.c-torture/compile/layout.c: Likewise. * gcc.c-torture/compile/lll.c: Likewise. * gcc.c-torture/compile/load8.c: Likewise. * gcc.c-torture/compile/loadhicc.c: Likewise. * gcc.c-torture/compile/log2.c: Likewise. * gcc.c-torture/compile/logic.c: Likewise. * gcc.c-torture/compile/loop-1.c: Likewise. * gcc.c-torture/compile/loop386.c: Likewise. * gcc.c-torture/compile/lop.c: Likewise. * gcc.c-torture/compile/m1.c: Likewise. * gcc.c-torture/compile/m5.c: Likewise. * gcc.c-torture/compile/m68.c: Likewise. * gcc.c-torture/compile/mbyte.c: Likewise. * gcc.c-torture/compile/mcmp.c: Likewise. * gcc.c-torture/compile/mm.c: Likewise. * gcc.c-torture/compile/mod.c: Likewise. * gcc.c-torture/compile/modcc.c: Likewise. * gcc.c-torture/compile/move.c: Likewise. * gcc.c-torture/compile/move_qhi.c: Likewise. * gcc.c-torture/compile/mregtst.c: Likewise. * gcc.c-torture/compile/mu.c: Likewise. * gcc.c-torture/compile/mword.c: Likewise. * gcc.c-torture/compile/n.c: Likewise. * gcc.c-torture/compile/n1.c: Likewise. * gcc.c-torture/compile/nand.c: Likewise. * gcc.c-torture/compile/neg.c: Likewise. * gcc.c-torture/compile/o.c: Likewise. * gcc.c-torture/compile/omit.c: Likewise. * gcc.c-torture/compile/opout.c: Likewise. * gcc.c-torture/compile/opt.c: Likewise. * gcc.c-torture/compile/or.c: Likewise. * gcc.c-torture/compile/or386.c: Likewise. * gcc.c-torture/compile/p.c: Likewise. * gcc.c-torture/compile/parms.c: Likewise. * gcc.c-torture/compile/pass.c: Likewise. * gcc.c-torture/compile/pp.c: Likewise. * gcc.c-torture/compile/pret-arg.c: Likewise. * gcc.c-torture/compile/pyr.c: Likewise. * gcc.c-torture/compile/pyr2.c: Likewise. * gcc.c-torture/compile/r.c: Likewise. * gcc.c-torture/compile/r1.c: Likewise. * gcc.c-torture/compile/rmsc.c: Likewise. * gcc.c-torture/compile/round.c: Likewise. * gcc.c-torture/compile/sc.c: Likewise. * gcc.c-torture/compile/scal.c: Likewise. * gcc.c-torture/compile/scc.c: Likewise. * gcc.c-torture/compile/scond.c: Likewise. * gcc.c-torture/compile/seq.c: Likewise. * gcc.c-torture/compile/set386.c: Likewise. * gcc.c-torture/compile/set88.c: Likewise. * gcc.c-torture/compile/sh.c: Likewise. * gcc.c-torture/compile/shand.c: Likewise. * gcc.c-torture/compile/shft.c: Likewise. * gcc.c-torture/compile/shift.c: Likewise. * gcc.c-torture/compile/signext.c: Likewise. * gcc.c-torture/compile/signext2.c: Likewise. * gcc.c-torture/compile/simple.c: Likewise. * gcc.c-torture/compile/sparcbug.c: Likewise. * gcc.c-torture/compile/stor.c: Likewise. * gcc.c-torture/compile/str.c: Likewise. * gcc.c-torture/compile/structret.c: Likewise. * gcc.c-torture/compile/sub32.c: Likewise. * gcc.c-torture/compile/subcc.c: Likewise. * gcc.c-torture/compile/subcse.c: Likewise. * gcc.c-torture/compile/sym.c: Likewise. * gcc.c-torture/compile/symconst.c: Likewise. * gcc.c-torture/compile/t.c: Likewise. * gcc.c-torture/compile/test-flow.c: Likewise. * gcc.c-torture/compile/test-loop.c: Likewise. * gcc.c-torture/compile/test.c: Likewise. * gcc.c-torture/compile/tmp.c: Likewise. * gcc.c-torture/compile/trivial.c: Likewise. * gcc.c-torture/compile/trunc.c: Likewise. * gcc.c-torture/compile/u.c: Likewise. * gcc.c-torture/compile/uns.c: Likewise. * gcc.c-torture/compile/uns_tst.c: Likewise. * gcc.c-torture/compile/uuarg.c: Likewise. * gcc.c-torture/compile/volatile-1.c: Likewise. * gcc.c-torture/compile/ww.c: Likewise. * gcc.c-torture/compile/x.c: Likewise. * gcc.c-torture/compile/xb.c: Likewise. * gcc.c-torture/compile/xc.c: Likewise. * gcc.c-torture/compile/xdi.c: Likewise. * gcc.c-torture/compile/xfoo.c: Likewise. * gcc.c-torture/compile/xi.c: Likewise. * gcc.c-torture/compile/xlop.c: Likewise. * gcc.c-torture/compile/xneg.c: Likewise. * gcc.c-torture/compile/xopt.c: Likewise. * gcc.c-torture/compile/xor.c: Likewise. * gcc.c-torture/compile/xorn.c: Likewise. * gcc.c-torture/compile/xp.c: Likewise. * gcc.c-torture/compile/xpp.c: Likewise. * gcc.c-torture/compile/xs.c: Likewise. * gcc.c-torture/compile/xsh.c: Likewise. * gcc.c-torture/compile/xzz.c: Likewise. * gcc.c-torture/compile/zero-strct-1.c: Likewise. * gcc.c-torture/execute/20000717-3.c: Likewise. * gcc.c-torture/execute/920409-1.c: Likewise. * gcc.c-torture/execute/920411-1.c: Likewise. * gcc.c-torture/execute/920415-1.c: Likewise. * gcc.c-torture/execute/920428-1.c: Likewise. * gcc.c-torture/execute/920428-2.c: Likewise. * gcc.c-torture/execute/920429-1.c: Likewise. * gcc.c-torture/execute/920501-1.c: Likewise. * gcc.c-torture/execute/920501-7.c: Likewise. * gcc.c-torture/execute/920501-9.c: Likewise. * gcc.c-torture/execute/920520-1.c: Likewise. * gcc.c-torture/execute/920603-1.c: Likewise. * gcc.c-torture/execute/920721-2.c: Likewise. * gcc.c-torture/execute/920721-3.c: Likewise. * gcc.c-torture/execute/920728-1.c: Likewise. * gcc.c-torture/execute/920730-1.c: Likewise. * gcc.c-torture/execute/920731-1.c: Likewise. * gcc.c-torture/execute/920812-1.c: Likewise. * gcc.c-torture/execute/920909-1.c: Likewise. * gcc.c-torture/execute/921013-1.c: Likewise. * gcc.c-torture/execute/921017-1.c: Likewise. * gcc.c-torture/execute/921123-1.c: Likewise. * gcc.c-torture/execute/921124-1.c: Likewise. * gcc.c-torture/execute/921202-1.c: Likewise. * gcc.c-torture/execute/921207-1.c: Likewise. * gcc.c-torture/execute/921208-2.c: Likewise. * gcc.c-torture/execute/921215-1.c: Likewise. * gcc.c-torture/execute/921218-1.c: Likewise. * gcc.c-torture/execute/921218-2.c: Likewise. * gcc.c-torture/execute/930106-1.c: Likewise. * gcc.c-torture/execute/930429-2.c: Likewise. * gcc.c-torture/execute/930513-1.c: Likewise. * gcc.c-torture/execute/930513-2.c: Likewise. * gcc.c-torture/execute/930518-1.c: Likewise. * gcc.c-torture/execute/930527-1.c: Likewise. * gcc.c-torture/execute/930603-1.c: Likewise. * gcc.c-torture/execute/930603-3.c: Likewise. * gcc.c-torture/execute/930621-1.c: Likewise. * gcc.c-torture/execute/930622-1.c: Likewise. * gcc.c-torture/execute/930630-1.c: Likewise. * gcc.c-torture/execute/930713-1.c: Likewise. * gcc.c-torture/execute/930718-1.c: Likewise. * gcc.c-torture/execute/930719-1.c: Likewise. * gcc.c-torture/execute/930916-1.c: Likewise. * gcc.c-torture/execute/930921-1.c: Likewise. * gcc.c-torture/execute/930929-1.c: Likewise. * gcc.c-torture/execute/930930-1.c: Likewise. * gcc.c-torture/execute/931009-1.c: Likewise. * gcc.c-torture/execute/931012-1.c: Likewise. * gcc.c-torture/execute/931031-1.c: Likewise. * gcc.c-torture/execute/931102-1.c: Likewise. * gcc.c-torture/execute/931102-2.c: Likewise. * gcc.c-torture/execute/931228-1.c: Likewise. * gcc.c-torture/execute/940115-1.c: Likewise. * gcc.c-torture/execute/940122-1.c: Likewise. * gcc.c-torture/execute/941202-1.c: Likewise. * gcc.c-torture/execute/950605-1.c: Likewise. * gcc.c-torture/execute/960830-1.c: Likewise. * gcc.c-torture/execute/961112-1.c: Likewise. * gcc.c-torture/execute/990106-1.c: Likewise. * gcc.c-torture/execute/cmpdi-1.c: Likewise. * gcc.c-torture/execute/comp-goto-2.c: Likewise. * gcc.c-torture/execute/dbra-1.c: Likewise. * gcc.c-torture/execute/inst-check.c: Likewise. * gcc.c-torture/execute/int-compare.c: Likewise. * gcc.c-torture/execute/loop-2.c: Likewise. * gcc.c-torture/execute/loop-2d.c: Likewise. * gcc.c-torture/execute/loop-3.c: Likewise. * gcc.c-torture/execute/loop-3b.c: Likewise. * gcc.c-torture/execute/loop-3c.c: Likewise. * gcc.c-torture/execute/mod-1.c: Likewise. * gcc.c-torture/execute/strct-pack-3.c: Likewise. * gcc.c-torture/execute/tstdi-1.c: Likewise. * gcc.dg/torture/pr77677-2.c: Likewise.
- Loading branch information
1 parent
c2d62cd
commit 4e142aa
Showing
261 changed files
with
458 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
struct _XtTextSource { | ||
/* ... */ | ||
void (* SetSelection)(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
#define DD 2410065408 | ||
|
||
unsigned | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
setgetlen (a) | ||
int *a; | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
BUG2 (p) int *p; | ||
{ | ||
int a = 0; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
struct ack { | ||
char a, b, c; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a) | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
BUG2 (p) char *p; | ||
{ | ||
int a = 0; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a) | ||
{ | ||
return a & 65535; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
int | ||
foo (a, p) | ||
int *p; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a) | ||
{ | ||
int i; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
#define w 20 | ||
#define c 1 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a, b) | ||
{ | ||
int t; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a) | ||
{ | ||
return __builtin_abs (a); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
barfoo (a) | ||
{ | ||
return (a << 16) & ~0xffff; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a) | ||
{ | ||
int b = a + 1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a, b, p) | ||
int *p; | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
main (a) | ||
{ | ||
return a + 128; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (p, a, b) | ||
int *p; | ||
int a; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (p) | ||
int *p; | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
void p1 (p) int *p; | ||
{ *p &= ~0xff; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a) | ||
{ | ||
int b = 0x1fff; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a, b, p) | ||
int *p; | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo () | ||
{ | ||
return (int)&foo; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
int | ||
foo (int *p) | ||
{ | ||
int a, b; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (p) | ||
int *p; | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a, b, c) | ||
{ | ||
bar (a, b); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
#define S 31 | ||
#define A 17 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
ase (p) | ||
short *p; | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a) | ||
{ | ||
return (a & (1 << 31)) != 0; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a) | ||
{ | ||
return (a & 0xfff000) != 0; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a) | ||
{ | ||
int b = 32; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a, b) | ||
{ | ||
return a % (1 << b); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (x, c) | ||
{ | ||
return x << -c; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a) | ||
double a; | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
bar (a) | ||
{ | ||
return (a == 0); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
#define int unsigned | ||
|
||
struct foo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a) | ||
unsigned a; | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a, b) | ||
{ | ||
return (a & (1 << b)) != 0; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a, b) | ||
{ | ||
return a - 65536; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a) | ||
{ | ||
int bar = 0; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a, b) | ||
long long a, b; | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a) | ||
{ | ||
bar (a); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
cc8 (a, b) | ||
{ | ||
if (a < 0) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (p1, p2) | ||
short p1, *p2; | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a) | ||
{ | ||
return a * 84; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* { dg-additional-options "-std=gnu89" } */ | ||
|
||
foo (a, b) | ||
{ | ||
int c = a & b; | ||
|
Oops, something went wrong.