From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6815 invoked by alias); 28 Jan 2014 16:18:08 -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 6775 invoked by uid 48); 28 Jan 2014 16:18:04 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59968] Unused BT patterns Date: Tue, 28 Jan 2014 16:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW 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: cc 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-01/txt/msg02904.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59968 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |areg.melikadamyan at gmail dot com | |, kirill.yukhin at intel dot com --- Comment #2 from H.J. Lu --- For int bar1; void __attribute__((noinline)) foo1 (int y) { bar1 |= 1 << y; } we generate: movl $1, %eax movl %edi, %ecx sall %cl, %eax orl %eax, bar1(%rip) ret I am expecting: bts %edi, bar1(%rip) ret