PR target/17119.
config/m32r.c (gen_compare): Use reg_or_int16_operand when checking for a
valid constant, regardless of sign.
testsuite/gcc.c-torture/compile/pr17119.c: New test (for this failure)
From-SVN: r86619
+2004-08-26 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ PR target/17119.
+ * config/m32r.c (gen_compare): Use reg_or_int16_operand when
+ checking for a valid constant, regardless of sign.
+
2004-08-25 Richard Henderson <rth@redhat.com>
PR target/16974
y = force_reg (GET_MODE (x), y);
else
{
- int ok_const =
- (code == LTU || code == LEU || code == GTU || code == GEU)
- ? uint16_operand (y, GET_MODE (y))
- : reg_or_cmp_int16_operand (y, GET_MODE (y));
-
+ int ok_const = reg_or_int16_operand (y, GET_MODE (y));
+
if (! ok_const)
y = force_reg (GET_MODE (x), y);
}
+2004-08-26 Nick Clifton <nickc@redhat.com>
+
+ * gcc.c-torture/compile/pr17119.c: New test.
+
2004-08-26 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/c90-typespec-1.c, gcc.dg/c99-typespec-1.c: New tests.
--- /dev/null
+void
+_mesa_DrawPixels (int width, int height, unsigned format,
+ unsigned type, const void * pixels)
+{
+ switch (format)
+ {
+ case 0x1900:
+ func1 ();
+ break;
+ case 0x1907:
+ case 0x80E0:
+ case 0x1908:
+ case 0x80E1:
+ case 0x8000:
+ func2 ();
+ break;
+ }
+}
+