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:
parent
f47c263663
commit
0fc4f703e5
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue