https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63344 --- Comment #4 from Martin LiÅ¡ka --- (In reply to Andi Kleen from comment #3) > Yes it's a kernel bug. I hit it earlier too. > > const always needs to go into separate sections. > const __read_mostly is also meaningless. Is there any existing bug in Linux Kernel that can be linked to this thread? >From gcc-bugs-return-462415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Sep 24 10:10:00 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8822 invoked by alias); 24 Sep 2014 10:10:00 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8790 invoked by uid 48); 24 Sep 2014 10:09:56 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/63356] Compilation failure where clang does not have problems Date: Wed, 24 Sep 2014 10:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: attachments.created 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-09/txt/msg02249.txt.bz2 Content-length: 373 https://gcc.gnu.org/bugzilla/show_bug.cgi?idc356 --- Comment #5 from Markus Trippelsdorf --- Created attachment 33545 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id3545&actioníit preprocessed testcase Here's the unreduced testcase. I cannot reduce it, because clang doesn't handle all the __builtin_ia32_bsrsi, etc. intrinsics.