This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Patch for target/17119
Hi Kazuhiro,
gcc/ChangeLog
2004-08-26 Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
* config/m32r.c (gen_compare): fixed PR target/17119.
Approved and applied to mainline and the 3_4 branch.
Note - I fixed the ChangeLog entry to actually describe what has
changed, ie:
PR target/17119.
* config/m32r.c (gen_compare): Use reg_or_int16_operand when
checking for a valid constant, regardless of sign.
Also - for the mainline sources, I have added the test case from this PR
to the gcc testsuite:
gcc/testsuite/ChangeLog
2004-08-26 Nick Clifton <nickc@redhat.com>
* gcc.c-torture/compile/pr17119.c: New test. Used to trigger a
bug in the M32R port's comparison generation code.
Cheers
Nick