From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7904 invoked by alias); 24 May 2008 16:37:35 -0000 Received: (qmail 7848 invoked by uid 48); 24 May 2008 16:36:58 -0000 Date: Sat, 24 May 2008 16:37:00 -0000 Message-ID: <20080524163658.7847.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/36321] Optimization higher or eqaul to -O2 produce wrong code In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ktietz 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: 2008-05/txt/msg01838.txt.bz2 ------- Comment #2 from ktietz at gcc dot gnu dot org 2008-05-24 16:36 ------- (In reply to comment #1) > Can you try this patch: > > Index: i386.md > =================================================================== > --- i386.md (revision 135849) > +++ i386.md (working copy) > @@ -19707,7 +19707,7 @@ > (set_attr "length" "5")]) > > (define_insn "allocate_stack_worker_64" > - [(set (match_operand:DI 0 "register_operand" "=a") > + [(set (match_operand:DI 0 "register_operand" "+a") > (unspec_volatile:DI [(match_dup 0)] UNSPECV_STACK_PROBE)) > (set (reg:DI SP_REG) (minus:DI (reg:DI SP_REG) (match_dup 0))) > (clobber (reg:DI R10_REG)) > I tried it. There is no difference. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36321