From 67384dfba3f4dec04aea2ca1195786c1f1575320 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 12 May 2000 09:51:20 -0700 Subject: [PATCH] 990208-1.c (main): Don't pass constants through to doit's conditional. * gcc.c-torture/execute/990208-1.c (main): Don't pass constants through to doit's conditional. From-SVN: r33878 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.c-torture/execute/990208-1.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 735b1f8..216623a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2000-05-12 Richard Henderson + + * gcc.c-torture/execute/990208-1.c (main): Don't pass + constants through to doit's conditional. + Thu May 11 19:02:43 2000 Jeffrey A Law (law@cygnus.com) * gcc.c-torture/compile/20000511-1.c: New test. diff --git a/gcc/testsuite/gcc.c-torture/execute/990208-1.c b/gcc/testsuite/gcc.c-torture/execute/990208-1.c index 37a1147..9d7d714 100644 --- a/gcc/testsuite/gcc.c-torture/execute/990208-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/990208-1.c @@ -4,6 +4,7 @@ #ifndef NO_LABEL_VALUES static void *ptr1, *ptr2; +static int i = 1; static __inline__ void doit(void **pptr, int cond) { @@ -27,9 +28,9 @@ static void bar(void); int main() { - f (1); + f (i); bar(); - g (1); + g (i); #ifdef __OPTIMIZE__ if (ptr1 == ptr2) -- 2.7.4