920501-7.c: Check for NO_TRAMPOLINES.

* gcc.c-torture/execute/920501-7.c: Check for NO_TRAMPOLINES.
        * gcc.c-torture/execute/920612-2.c: Likewise.
        * gcc.c-torture/execute/920428-2.c: Likewise.
        * gcc-c-torture/execute/va-arg-11.c: Call exit.
        * gcc.c-torture/execute/va-arg-21.c: Likewise.

From-SVN: r38251
This commit is contained in:
Catherine Moore 2000-12-14 10:31:26 -05:00
parent 0c3a231d2f
commit eb9461fb98
6 changed files with 18 additions and 6 deletions

View File

@ -1,3 +1,11 @@
2000-12-14 Catherine Moore <clm@redhat.com>
* gcc.c-torture/execute/920501-7.c: Check for NO_TRAMPOLINES.
* gcc.c-torture/execute/920612-2.c: Likewise.
* gcc.c-torture/execute/920428-2.c: Likewise.
* gcc-c-torture/execute/va-arg-11.c: Call exit.
* gcc.c-torture/execute/va-arg-21.c: Likewise.
2000-12-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.dg/pack-test-1.c: Compile on powerpc*-*-eabi* too.
@ -33,6 +41,7 @@
* gcc.dg/cpp/redef2.c: Update.
* gcc.dg/cpp/skipping.c: New test.
>>>>>>> 1.929
2000-12-07 Geoffrey Keating <geoffk@redhat.com>
* g++.old-deja/g++.other/eh3.C: New testcase.

View File

@ -1,4 +1,4 @@
#ifndef NO_LABEL_VALUES
#if !defined (NO_LABEL_VALUES) && !defined (NO_TRAMPOLINES)
s(i){if(i>0){__label__ l1;int f(int i){if(i==2)goto l1;return 0;}return f(i);l1:;}return 1;}
x(){return s(0)==1&&s(1)==0&&s(2)==1;}
main(){if(x()!=1)abort();exit(0);}

View File

@ -4,7 +4,7 @@
#define DEPTH 1000
#endif
#ifndef NO_LABEL_VALUES
#if ! defined (NO_LABEL_VALUES) && !defined (NO_TRAMPOLINES)
x(a)
{
__label__ xlab;
@ -22,7 +22,7 @@ x(a)
main ()
{
#ifndef NO_LABEL_VALUES
#if ! defined (NO_LABEL_VALUES) && !defined (NO_TRAMPOLINES)
if (x (DEPTH) != DEPTH)
abort ();
#endif

View File

@ -7,6 +7,9 @@ main ()
i++, x--;
return x;
}
a (2);
#ifndef NO_TRAMPOLINES
if (a (2) != 0)
abort ();
#endif
exit (0);
}

View File

@ -25,5 +25,5 @@ main (void)
{
if (foo (5, 4, 3, 2, 1, 0))
abort ();
return 0;
exit (0);
}

View File

@ -44,5 +44,5 @@ doit (const char *s, ...)
int main()
{
doit ("%s", "hello world\n");
return 0;
exit (0);
}