20001009-2.c (foo): Test only works for signed char, not default char.
authorJeffrey Oldham <oldham@codesourcery.com>
Sat, 30 Dec 2000 16:59:52 +0000 (16:59 +0000)
committerJeffrey D. Oldham <oldham@gcc.gnu.org>
Sat, 30 Dec 2000 16:59:52 +0000 (16:59 +0000)
2000-12-30  Jeffrey Oldham  <oldham@codesourcery.com>

* gcc.c-torture/execute/20001009-2.c (foo): Test only works for
signed char, not default char.

From-SVN: r38564

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20001009-2.c

index 3959691ddd014b6fd5b7a65bc426ff42c5834fe2..e96e5ea2034713c87ac025236eb73765270faa09 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-30  Jeffrey Oldham  <oldham@codesourcery.com>
+
+       * gcc.c-torture/execute/20001009-2.c (foo): Test only works for
+       signed char, not default char.
+
 2000-12-30  Jeffrey Oldham  <oldham@codesourcery.com>
 
        * g++.old-deja/g++.other/crash18.C: Fails on mips*-sgi-irix*.
index d67efdad68aa5f9fa7e4c88cc804db82e732301c..eedc299fbcb9734ebfb736ebda67bbcf28185dce 100644 (file)
@@ -8,7 +8,7 @@ int foo()
   {
     c=1;
     asm(""::"r"(c));
-    c=(char)a;
+    c=(signed char)a;
   }
   if (c!=-1)
     abort();