Commit be5fda91 by Richard Guenther Committed by Richard Biener

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
parent cf259b84
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
* gcc.dg/lto/20100720-2_0.c: New testcase.
* gcc.dg/lto/20100720-2_1.c: Likewise.
......
/* { 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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment