pr41919.c: Mark chars explicitely as signed.

2009-11-16  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.c-torture/execute/pr41919.c: Mark chars explicitely as signed.

From-SVN: r154197
This commit is contained in:
Andreas Krebbel 2009-11-16 07:59:25 +00:00 committed by Andreas Krebbel
parent f47c263663
commit 0fc4f703e5
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2009-11-16 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.c-torture/execute/pr41919.c: Mark chars explicitely as signed.
2009-11-15 Janus Weil <janus@gcc.gnu.org>
PR fortran/42048

View File

@ -4,7 +4,7 @@ extern void abort (void);
struct S1
{
char f0;
signed char f0;
};
int g_23 = 0;
@ -25,7 +25,7 @@ foo (void)
return l_128;
}
static char bar(char si1, char si2)
static signed char bar(signed char si1, signed char si2)
{
return (si1 <= 0) ? si1 : (si2 * 2);
}