From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12463 invoked by alias); 20 Nov 2014 10:50:22 -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 12426 invoked by uid 48); 20 Nov 2014 10:50:18 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63966] [5 regression] inconsistent operand constraints compiling build libcpp Date: Thu, 20 Nov 2014 10:50: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-11/txt/msg02174.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63966 --- Comment #9 from Uro=C5=A1 Bizjak --- (In reply to Jakub Jelinek from comment #7) > That assumes there is provided by the system compiler. > The code is guarded with > #if (GCC_VERSION >=3D 4005) && (defined(__i386__) || defined(__x86_64__))= && > !(defined(__sun__) && defined(__svr4__)) > but doesn't clang and icc pretend to be some versions of GCC? > I think better would be to include #include "../gcc/config/i386/cpuid.h" > only if GCC_VERSION >=3D 5000 (or perhaps that or __PIC__ not defined or > __x86_64__ defined), and otherwise not use __get_cpuid at all, just > statically decide based on minimum value. Whops, I didn't see this message. Yes, we can follow the example in driver-i386.h and just disable specialization for gcc < 5.0 >>From gcc-bugs-return-467703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 20 10:59:31 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17958 invoked by alias); 20 Nov 2014 10:59:31 -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 17920 invoked by uid 48); 20 Nov 2014 10:59:28 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/61137] [5 regression] FAIL: gcc.target/ia64/small-addr-1.c (test for excess errors) Date: Thu, 20 Nov 2014 10:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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-11/txt/msg02175.txt.bz2 Content-length: 711 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61137 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Created attachment 34051 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34051&action=edit gcc5-pr61137.patch Untested fix (well, tested just on the testcase). Don't have access to contemporary ia64 nor cycles for an almost dead architecture, so if Andreas or anybody else is willing to bootstrap/regtest it, the patch is here.