public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "thiago at kde dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/66746] New: Failure to compile #include <x86intrin.h> with -miamcu
Date: Thu, 02 Jul 2015 23:36:00 -0000	[thread overview]
Message-ID: <bug-66746-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66746

            Bug ID: 66746
           Summary: Failure to compile #include <x86intrin.h> with -miamcu
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thiago at kde dot org
  Target Milestone: ---

Source code:
#include <x86intrin.h>

Compiling with:
  gcc -m32 -miamcu -c test.c

Produces a couple thousand errors, starting with:

/home/thiago/obj/gcc/gcc/include/ia32intrin.h:54:28: sorry, unimplemented: SSE
isn’t supported in Intel MCU psABI
 #pragma GCC target("sse4.2")
                            ^
/home/thiago/obj/gcc/gcc/include/ia32intrin.h:61:46: sorry, unimplemented: SSE
isn’t supported in Intel MCU psABI
 __crc32b (unsigned int __C, unsigned char __V)
                                              ^

I don't want to use SSE, but x86intrin.h has useful intrinsics for instructions
from as early as the 8086 (like __ror[bwd]). This header should compile.
>From gcc-bugs-return-491314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jul 03 00:46:11 2015
Return-Path: <gcc-bugs-return-491314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82712 invoked by alias); 3 Jul 2015 00:46:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 82670 invoked by uid 55); 3 Jul 2015 00:46:07 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/66743] [5/6 regression] ICE: tree check: expected record_type or union_type or qual_union_type, have underlying_type in for_each_template_parm_r, at cp/pt.c:8234
Date: Fri, 03 Jul 2015 00:46: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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: <bug-66743-4-rkSkwFnQmc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66743-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66743-4@http.gcc.gnu.org/bugzilla/>
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: 2015-07/txt/msg00204.txt.bz2
Content-length: 507

https://gcc.gnu.org/bugzilla/show_bug.cgi?idf743

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jul  3 00:45:34 2015
New Revision: 225365

URL: https://gcc.gnu.org/viewcvs?rev"5365&root=gcc&view=rev
Log:
        PR c++/66743
        * pt.c (for_each_template_parm_r) [UNDERLYING_TYPE]: Use
        TYPE_VALUES_RAW rather than TYPE_FIELDS.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-51.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c


             reply	other threads:[~2015-07-02 23:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-02 23:36 thiago at kde dot org [this message]
2015-07-03  3:13 ` [Bug target/66746] " hjl.tools at gmail dot com
2015-07-03  3:54 ` hjl.tools at gmail dot com
2015-07-03  7:43 ` thiago at kde dot org
2015-07-03 12:25 ` hjl at gcc dot gnu.org
2015-07-03 12:26 ` hjl.tools at gmail dot com
2015-07-08 20:02 ` hjl at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-66746-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).