[PATCH] Fix up gcc.dg/torture/pr39678.c
Jakub Jelinek
jakub@redhat.com
Tue Apr 21 07:45:00 GMT 2009
Hi!
In my overnight bootstrap, I've noticed gcc.dg/torture/pr39678.c
fails on powerpc*-linux (and supposedly on all other -funsigned-char
defaulting arches).
Fixed thusly, verified the testcase fails with 4.3/x86_64 and succeeds with
current 4.4 and trunk on x86_64 and ppc64, committed to trunk/4.4.
2009-04-21 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/torture/pr39678.c (struct X): Make c field signed char.
--- gcc/testsuite/gcc.dg/torture/pr39678.c.jj 2009-04-10 10:13:51.000000000 +0200
+++ gcc/testsuite/gcc.dg/torture/pr39678.c 2009-04-21 09:37:29.000000000 +0200
@@ -3,7 +3,7 @@
/* { dg-options "-Wno-psabi" } */
struct X {
- char c;
+ signed char c;
__complex__ float val;
};
Jakub
More information about the Gcc-patches
mailing list