This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR middle-end/19874: Tweak STRIP_USELESS_TYPE_CONVERSION
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 28 Feb 2005 12:18:53 -0500
- Subject: Re: [PATCH] PR middle-end/19874: Tweak STRIP_USELESS_TYPE_CONVERSION
- References: <Pine.LNX.4.44.0502242101190.13208-100000@www.eyesopen.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Feb 24, 2005 at 09:30:36PM -0700, Roger Sayle wrote:
> The following patch has been tested on i686-pc-linux-gnu with a full "make
> bootstrap", all default languages, and regression tested with a top-level
> "make -k check" with no new failures. Jakub's testcase passes with this
> patch but fails without it.
Thanks.
> Ok for mainline?
I hope mainline will be 4.0 and mainline, as this was written before
branching and is a regression.
FYI, I have bootstrapped/regtested it on gcc-4_0-branch today
on {i386,x86_64,ia64,ppc,ppc64,s390,s390x}-redhat-linux.
> 2005-02-24 Roger Sayle <roger@eyesopen.com>
>
> PR middle-end/19874
> * tree-ssa.c (tree_ssa_useless_type_conversion_1): A conversion
> between different machine modes is never a "useless" conversion.
>
> 2005-02-24 Jakub Jelinek <jakub@redhat.com>
>
> * gcc.c-torture/execute/20050119-2.c: New test case.
Jakub