This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: CSE bug when narrowing constants
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Gary Funck <gary at intrepid dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 1 Dec 2008 11:50:48 +0100
- Subject: Re: CSE bug when narrowing constants
- References: <20081129000211.GA4373@intrepid.com> <200811291445.50008.ebotcazou@adacore.com> <20081129143616.GB26598@intrepid.com>
> cse_insn() calls lookup_as_function() ultimately through fold_rtx(), IIRC,
> and is the routine that writes the REG_EQUAL note.
OK, thanks. But I'm a little at a loss as to why this problem arises only
now: the problematic code in lookup_as_function is one decade old. Do you
happen to have older compilers around (say GCC 4.1.x based) that correctly
compile the testcase? If so, what happens differently with them?
--
Eric Botcazou