OSDN Git Service

2000-12-30 Jeffrey Oldham <oldham@codesourcery.com>
authoroldham <oldham@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 30 Dec 2000 16:59:52 +0000 (16:59 +0000)
committeroldham <oldham@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 30 Dec 2000 16:59:52 +0000 (16:59 +0000)
* gcc.c-torture/execute/20001009-2.c (foo): Test only works for
signed char, not default char.

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

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

index 3959691..e96e5ea 100644 (file)
@@ -1,5 +1,10 @@
 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*.
 
 2000-12-30  David Billinghurst <David.Billinghurst@riotinto.com>
index d67efda..eedc299 100644 (file)
@@ -8,7 +8,7 @@ int foo()
   {
     c=1;
     asm(""::"r"(c));
-    c=(char)a;
+    c=(signed char)a;
   }
   if (c!=-1)
     abort();