From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18895 invoked by alias); 14 Apr 2009 13:59:15 -0000 Received: (qmail 18853 invoked by uid 48); 14 Apr 2009 13:58:59 -0000 Date: Tue, 14 Apr 2009 13:59:00 -0000 Message-ID: <20090414135859.18852.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/39543] [4.4/4.5 Regression] Reload failure on mplayer from SVN In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "matz at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-04/txt/msg01189.txt.bz2 ------- Comment #12 from matz at gcc dot gnu dot org 2009-04-14 13:58 ------- That's only possible sometimes and hence can't be relied upon. The RHS expression might not be available at the point of the use anymore (some operands might have been clobbered meanwhile, remember we aren't in SSA anymore). That's one of the reasons why TER doesn't forward all expressions even if they're used only once. To really fix this for good it needs a separate pass tracking lifetime (and introducing copies in case the operands aren't available) or working on SSA form (where lifetime isn't a problem and copies would be inserted by out-of-SSA). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39543