OSDN Git Service

* gcc.c-torture/execute/990208-1.c (main): Don't pass
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 May 2000 16:51:20 +0000 (16:51 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 May 2000 16:51:20 +0000 (16:51 +0000)
        constants through to doit's conditional.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33878 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/990208-1.c

index 735b1f8..216623a 100644 (file)
@@ -1,3 +1,8 @@
+2000-05-12  Richard Henderson  <rth@cygnus.com>
+
+       * 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.
index 37a1147..9d7d714 100644 (file)
@@ -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)