This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Does zero_extend (const_int) *ever* have a valid meaning
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Richard dot Earnshaw at arm dot com, gcc at gcc dot gnu dot org
- Date: Fri, 20 Sep 2002 17:52:11 +0100
- Subject: Re: Does zero_extend (const_int) *ever* have a valid meaning
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> On Fri, Sep 20, 2002 at 05:37:57PM +0100, Richard Earnshaw wrote:
> > So, is cse correct in trying to make this substitution?
>
> No, not without other simplifications. Zero_extend requires
> an inner mode, which const_int doesn't have.
That was my understanding. So are there already places in the compiler
that know how to deal with this that I can use as the basis to fix this
case?
R.