* gcc.c-torture/compile/20021230-1.c: New test.

From-SVN: r60645
This commit is contained in:
Daniel Jacobowitz 2002-12-30 20:33:42 +00:00 committed by Daniel Jacobowitz
parent c838d82f7b
commit b0e0b1f375
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-12-30 Daniel Jacobowitz <drow@mvista.com>
* gcc.c-torture/compile/20021230-1.c: New test.
2002-12-30 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/inherit/covariant5.C: New test.

View File

@ -0,0 +1,8 @@
/* SH has special handling for combined and/shift sequences. Make
sure that it behaves properly when one input is in the MACL register. */
int r, t;
static void initRGB()
{
t = ((r*255/3) & 0xff) << 16;
}