public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/61794] New: internal error: unrecognizable insn, from avx512 extract instruction
@ 2014-07-13 14:29 agner at agner dot org
  2014-07-18 10:19 ` [Bug target/61794] " ubizjak at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: agner at agner dot org @ 2014-07-13 14:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61794
           Summary: internal error: unrecognizable insn, from avx512
                    extract instruction
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: agner at agner dot org

Created attachment 33117
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33117&action=edit
c++ file producing error

The attached file bug1.cpp generates internal error when compiling:
g++ -mavx512f bug1.cpp

g++ version: 4.9 and 4.10.0 20140706
binutils version: 2.24
Ubuntu version: 12.04.2 LTS


Error message:
==============
a@a-desktop:~/avx512$ g++ -mavx512f bug1.cpp
bug1.cpp: In member function ‘int32_t Vec16i::extract(uint32_t) const’:
bug1.cpp:59:5: error: unrecognizable insn:
     }
     ^
(insn 29 28 30 8 (set (reg:V4SI 89 [ D.12727 ])
        (vec_merge:V4SI (vec_select:V4SI (reg:V16SI 88 [ D.12726 ])
                (parallel [
                        (const_int 0 [0])
                        (const_int 1 [0x1])
                        (const_int 2 [0x2])
                        (const_int 3 [0x3])
                    ]))
            (reg:V4SI 86 [ D.12724 ])
            (reg:QI 113))) bug1.cpp:38 -1
     (nil))
bug1.cpp:59:5: internal compiler error: in extract_insn, at recog.c:2204
0xb25c68 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
    ../.././gcc/rtl-error.c:109
0xb25c99 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
    ../.././gcc/rtl-error.c:117
0xaf609e extract_insn(rtx_def*)
    ../.././gcc/recog.c:2204
0x980803 instantiate_virtual_regs_in_insn
    ../.././gcc/function.c:1561
0x980803 instantiate_virtual_regs
    ../.././gcc/function.c:1932
0x980803 execute
    ../.././gcc/function.c:1983
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-456220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jul 13 14:46:23 2014
Return-Path: <gcc-bugs-return-456220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15902 invoked by alias); 13 Jul 2014 14:46:23 -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 15649 invoked by uid 48); 13 Jul 2014 14:46:17 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/61615] Failure to resolve correct generic with TYPE(C_PTR) arguments
Date: Sun, 13 Jul 2014 14:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.10.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
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: cc
Message-ID: <bug-61615-4-D4hPgi03dn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61615-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61615-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: 2014-07/txt/msg00811.txt.bz2
Content-length: 689

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

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #3 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Dominique d'Humieres from comment #2)
> I don't understand how the code in comment 0 can distinguish bar_s from
> bar_a1d based on the variable locations in memory,

TKR, i.e. rank in the present case?

> nor why it chooses bar_a1d.

Intel 14.2, NAG 5.3.2(951) and PGI 14.4-0 succeed with the original
testcase.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-07-24 18:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-13 14:29 [Bug c++/61794] New: internal error: unrecognizable insn, from avx512 extract instruction agner at agner dot org
2014-07-18 10:19 ` [Bug target/61794] " ubizjak at gmail dot com
2014-07-18 16:14 ` uros at gcc dot gnu.org
2014-07-18 16:18 ` uros at gcc dot gnu.org
2014-07-24 18:44 ` LpSolit at netscape dot net

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).