This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Ping: Re: Test for SH gen_shl_and bug
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 22 Nov 2002 10:35:59 -0500
- Subject: Ping: Re: Test for SH gen_shl_and bug
- References: <20021118144009.GA26378@nevyn.them.org>
On Mon, Nov 18, 2002 at 09:40:10AM -0500, Daniel Jacobowitz wrote:
> (Do I need approval to add tests to the testsuite?)
?
> Here's a testcase for the gen_shl_and bug I found last week. OK to commit?
Ping.
> 2002-11-18 Daniel Jacobowitz <drow@mvista.com>
>
> * gcc.c-torture/compile/20021118.c: New test.
>
> /* 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;
> }
>
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer