From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 563 invoked by alias); 30 Jul 2007 23:54:52 -0000 Received: (qmail 543 invoked by uid 48); 30 Jul 2007 23:54:41 -0000 Date: Mon, 30 Jul 2007 23:54:00 -0000 Message-ID: <20070730235441.542.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/32940] REG_POINTER attribute on DECL_ARTIFICIAL pointers In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia 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: 2007-07/txt/msg03023.txt.bz2 ------- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-30 23:54 ------- ;; quadrant.0 = quadrant (insn 16 15 17 t.c:8 (set (reg:SI 127) (high:SI (symbol_ref:SI ("quadrant") [flags 0x84] ))) -1 (nil)) (insn 17 16 18 t.c:8 (set (reg/f:SI 126) (lo_sum:SI (reg:SI 127) (symbol_ref:SI ("quadrant") [flags 0x84] ))) -1 (expr_list:REG_EQUAL (symbol_ref:SI ("quadrant") [flags 0x84] ) (nil))) (insn 18 17 0 t.c:8 (set (reg:SI 121 [ quadrant.0 ]) (mem/f/c/i:SI (reg/f:SI 126) [2 quadrant+0 S4 A32])) -1 (nil)) The problem here is that DECL_ARTIFICIAL causes REG_POINTER not to be set. See: http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00020.html Reverting that patch was the next step on my pointer plus work (after fixing up the regressions that still need fixing). -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-07-30 23:54:41 date| | Summary|ivopts fails to set |REG_POINTER attribute on |REG_POINTER attribute on |DECL_ARTIFICIAL pointers |pseudo | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32940