From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephane Carrez To: Mark Mitchell , jakub@redhat.com Cc: gcc@gcc.gnu.org Subject: Re: GCC 3.0.3 Date: Fri, 30 Nov 2001 11:27:00 -0000 Message-ID: <3C07DD82.B9C6E112@worldnet.fr> References: <13880000.1007057994@warlock.codesourcery.com> X-SW-Source: 2001-11/msg01638.html Message-ID: <20011130112700.Li8dsT90bxqvRZoTIuTFQDeaxDa18o3LWR8TWw3xUbI@z> Hi Mark and Jakub, Can we backport the following patch on 3.0 branch: http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00591.html 2001-11-09 Jakub Jelinek * config/sparc/sparc.md (movdf): Avoid calling validize_mem during or after reload. It fixes PR/4410 (verified on 3.0.2/Solaris 8). It is a regression from 2.95.3. Thanks, Stephane (cut&paste from web below) --- gcc/config/sparc/sparc.md.jj Wed Oct 24 21:25:07 2001 +++ gcc/config/sparc/sparc.md Fri Nov 9 15:28:04 2001 @@ -3255,6 +3255,11 @@ && fp_zero_operand (operands[1], DFmode)) goto movdf_is_ok; + /* We are able to build any DF constant in integer registers. */ + if (REGNO (operands[0]) < 32 + && (reload_completed || reload_in_progress)) + goto movdf_is_ok; + operands[1] = validize_mem (force_const_mem (GET_MODE (operands[0]), operands[1])); }