From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29280 invoked by alias); 20 Nov 2014 18:54:57 -0000 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 Received: (qmail 29051 invoked by uid 48); 20 Nov 2014 18:54:53 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/64003] valgrind complains about get_attr_length_nobnd in insn-attrtab.c from i386.md Date: Thu, 20 Nov 2014 18:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-11/txt/msg02311.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64003 --- Comment #2 from dmalcolm at gcc dot gnu.org --- FWIW, line 6236 of i386.md is here: 6229 (define_insn "*subv4_1" 6230 [(set (reg:CCO FLAGS_REG) 6231 (eq:CCO (minus: 6232 (sign_extend: 6233 (match_operand:SWI 1 "nonimmediate_operand" "0")) 6234 (match_operand: 3 "const_int_operand" "i")) 6235 (sign_extend: >>6236 (minus:SWI (match_dup 1) 6237 (match_operand:SWI 2 "x86_64_immediate_operand" 6238 ""))))) 6239 (set (match_operand:SWI 0 "nonimmediate_operand" "=m") 6240 (minus:SWI (match_dup 1) (match_dup 2)))] 6241 "ix86_binary_operator_ok (MINUS, mode, operands) 6242 && CONST_INT_P (operands[2]) 6243 && INTVAL (operands[2]) == INTVAL (operands[3])" 6244 "sub{}\t{%2, %0|%0, %2}" 6245 [(set_attr "type" "alu") 6246 (set_attr "mode" "") 6247 (set (attr "length_immediate") 6248 (cond [(match_test "IN_RANGE (INTVAL (operands[2]), -128, 127)") 6249 (const_string "1") 6250 (match_test " == 8") 6251 (const_string "4")] 6252 (const_string "")))])