From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19432 invoked by alias); 7 Apr 2011 12:35:08 -0000 Received: (qmail 19382 invoked by uid 22791); 7 Apr 2011 12:35:07 -0000 X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from cantor.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 Apr 2011 12:35:00 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 2475294109; Thu, 7 Apr 2011 14:34:59 +0200 (CEST) Date: Thu, 07 Apr 2011 12:35:00 -0000 From: Michael Matz To: Richard Guenther Cc: "H.J. Lu" , Paolo Bonzini , gcc-patches@gcc.gnu.org Subject: Re: PATCH: PR middle-end/48440: [4.7 Regression] FAIL: gcc.c-torture/compile/labels-3.c In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="168427776-1012261272-1302179698=:1989" X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg00547.txt.bz2 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --168427776-1012261272-1302179698=:1989 Content-Type: TEXT/PLAIN; charset=utf-8 Content-Transfer-Encoding: 8BIT Content-length: 1529 Hi, On Thu, 7 Apr 2011, Richard Guenther wrote: > > 5600      newx = simplify_subreg (outermode, op, innermode, byte); > > (gdb) f 1 > > #1  0x0000000000708494 in expand_expr_real_2 (ops=0x7fffffffb0c0, target=0x0, > >    tmode=VOIDmode, modifier=EXPAND_INITIALIZER) > >    at /export/gnu/import/git/gcc-x32/gcc/expr.c:7366 > > 7366                op0 = simplify_gen_subreg (mode, op0, inner_mode, > > (gdb) call debug_tree (treeop0) > >   >    type >        type >            align 8 symtab 0 alias set -1 canonical type 0x7ffff0b83e70 > >            pointer_to_this > > >        sizes-gimplified public unsigned SI > >    arg 0 > > (gdb) call debug_rtx (op0) > > (label_ref/v:DI 22) > > (gdb) > > > > First I wonder what CONSTANT_P object we arrive with here (it looks like > something unfolded, given that we likely came here with a NOP_EXPR). The CONSTANT_P object is the '(label_ref/v:DI 22)'. Not only CONST_INT are CONSTANT_P, also some others (symbol_ref too). Those might have a mode. Here the label_ref has DImode, but the pointer type in trees points to an SImode. The latter makes sense, because that's what ptr_mode is for HJs target. HJ: you'll need to tell us what you mean with 'breaks gcc.c-torture/compile/labels-3.c' . What breaks, in which way? Ciao, Michael. --168427776-1012261272-1302179698=:1989--