This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Avoid memory wastage in simplify_replace_rtx
- From: Krister Walfridsson <cato at df dot lth dot se>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 7 Nov 2003 21:41:51 +0100 (MET)
- Subject: Re: [PATCH] Avoid memory wastage in simplify_replace_rtx
- References: <Pine.LNX.4.44.0310251149030.27402-100000@www.eyesopen.com>
On Sat, 25 Oct 2003, Roger Sayle wrote:
> 2003-10-25 Roger Sayle <roger@eyesopen.com>
>
> * simplify-rtx.c (simplify_replace_rtx): Avoid allocating duplicate
> RTL nodes. If an operator's operands are unchanged, return the
> original argument unchanged.
This causes the test
gcc.c-torture/compile/930621-1.c
to ICE for i386-unknown-netbsdelf1.6.
/Krister