re PR lto/42696 (lto1 error with -fsigned-char and char comparison)
2010-07-20 Richard Guenther <rguenther@suse.de> PR lto/42696 * gcc.dg/lto/20100720-4_0.c: New testcase. From-SVN: r162341
This commit is contained in:
parent
cf259b8462
commit
be5fda91fb
|
@ -1,3 +1,8 @@
|
|||
2010-07-20 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/42696
|
||||
* gcc.dg/lto/20100720-4_0.c: New testcase.
|
||||
|
||||
2010-07-20 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/43221
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
/* { dg-lto-do link } */
|
||||
/* { dg-lto-options {{-flto -fsigned-char} {-flto -funsigned-char}} } */
|
||||
|
||||
char *a;
|
||||
int f;
|
||||
|
||||
void
|
||||
foo (void)
|
||||
{
|
||||
f = (*a != '-');
|
||||
}
|
||||
int main()
|
||||
{
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue