This commit was manufactured by cvs2svn to create branch

'gcc-3_1-branch'.

From-SVN: r54077
This commit is contained in:
No Author 2002-05-30 23:13:20 +00:00
parent a162bb8eb5
commit 44776a0a45
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
/* PR optimization/6822 */
extern unsigned char foo1 (void);
extern unsigned short foo2 (void);
int bar1 (void)
{
unsigned char q = foo1 ();
return (q < 0x80) ? 64 : 0;
}
int bar2 (void)
{
unsigned short h = foo2 ();
return (h < 0x8000) ? 64 : 0;
}