public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/66473] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f
@ 2015-06-09 13:46 andrew.n.senkevich at gmail dot com
  2015-06-09 15:58 ` [Bug target/66473] " ubizjak at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: andrew.n.senkevich at gmail dot com @ 2015-06-09 13:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66473
           Summary: ICE: in extract_insn, at recog.c:2343 (unrecognizable
                    insn) with -mavx512f
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andrew.n.senkevich at gmail dot com
  Target Milestone: ---

-bash-4.2$ cat ./test_vlen8.c
#include <immintrin.h>

extern __m512d _ZGVeN8v_func (__m512d);

double func_vlen8 (double x) {
    __m512d mx;
    mx[0] = mx[1] = mx[2] = mx[3] = mx[4] = mx[5] = mx[6] = mx[7] = x;
    __m512d mr = _ZGVeN8v_func (mx);

    return ((double) mr[0]);
}

gcc-5.1.0_install/bin/gcc -c ./test_vlen8.c -mavx512f -O2
./test_vlen8.c: In function ‘func_vlen8’:
./test_vlen8.c:11:1: error: unrecognizable insn:
 }
 ^
(insn 7 6 8 2 (set (reg:QI 94)
        (const_int 128 [0x80])) ./test_vlen8.c:7 -1
     (nil))
./test_vlen8.c:11:1: internal compiler error: in extract_insn, at recog.c:2343
0x965018 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc-5.1.0_src/gcc/rtl-error.c:110
0x965049 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc-5.1.0_src/gcc/rtl-error.c:118
0x935129 extract_insn(rtx_insn*)
        ../../gcc-5.1.0_src/gcc/recog.c:2343
0x7a1c43 instantiate_virtual_regs_in_insn
        ../../gcc-5.1.0_src/gcc/function.c:1598
0x7a1c43 instantiate_virtual_regs
        ../../gcc-5.1.0_src/gcc/function.c:1966
0x7a1c43 execute
        ../../gcc-5.1.0_src/gcc/function.c:2015
>From gcc-bugs-return-488487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 09 14:13:58 2015
Return-Path: <gcc-bugs-return-488487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8858 invoked by alias); 9 Jun 2015 14:13:58 -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 8819 invoked by uid 55); 9 Jun 2015 14:13:54 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/66383] [5/6 Regression] ICE in gimplify_expr on this passed in inline initialization
Date: Tue, 09 Jun 2015 14:13: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: 5.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66383-4-Z96cZgcvYi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66383-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66383-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-06/txt/msg00819.txt.bz2
Content-length: 613

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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun  9 14:13:22 2015
New Revision: 224282

URL: https://gcc.gnu.org/viewcvs?rev"4282&root=gcc&view=rev
Log:
        PR c++/66383
        * tree.c (replace_placeholders_r): Handle placeholders for an
        outer object.
        * typeck2.c (store_init_value): Only replace_placeholders for
        objects of class type.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/nsdmi-aggr3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
    trunk/gcc/cp/typeck2.c


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

* [Bug target/66473] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f
  2015-06-09 13:46 [Bug target/66473] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f andrew.n.senkevich at gmail dot com
@ 2015-06-09 15:58 ` ubizjak at gmail dot com
  2015-06-09 17:20 ` kyukhin at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2015-06-09 15:58 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 9692 bytes --]

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-06-09
   Target Milestone|---                         |5.2
     Ever confirmed|0                           |1

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Confirmed. I have a patch.
>From gcc-bugs-return-488503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 09 16:01:08 2015
Return-Path: <gcc-bugs-return-488503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72983 invoked by alias); 9 Jun 2015 16:01:08 -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 72915 invoked by uid 48); 9 Jun 2015 16:01:03 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/66473] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f
Date: Tue, 09 Jun 2015 16:01: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kyukhin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-66473-4-zxsavwMhO5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66473-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66473-4@http.gcc.gnu.org/bugzilla/>
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: 2015-06/txt/msg00835.txt.bz2
Content-length: 268

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

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 35729
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35729&action=edit
Proposed patch

Patch that fixes the failure.
>From gcc-bugs-return-488504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 09 16:02:53 2015
Return-Path: <gcc-bugs-return-488504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75281 invoked by alias); 9 Jun 2015 16:02:52 -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 75246 invoked by uid 48); 9 Jun 2015 16:02:48 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/66473] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f
Date: Tue, 09 Jun 2015 16:02: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kyukhin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66473-4-vCaqsPJMWn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66473-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66473-4@http.gcc.gnu.org/bugzilla/>
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: 2015-06/txt/msg00836.txt.bz2
Content-length: 266

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

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Ops, Kirill is already looking at this.

Kirill, you have much better facilities for testing, do you want to take the
proposed patch from here?
>From gcc-bugs-return-488505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 09 16:04:21 2015
Return-Path: <gcc-bugs-return-488505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76755 invoked by alias); 9 Jun 2015 16:04:21 -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 76703 invoked by uid 48); 9 Jun 2015 16:04:18 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/66473] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f
Date: Tue, 09 Jun 2015 16:04: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kyukhin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cc
Message-ID: <bug-66473-4-3ixguK7hrr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66473-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66473-4@http.gcc.gnu.org/bugzilla/>
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: 2015-06/txt/msg00837.txt.bz2
Content-length: 425

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86
             Status|NEW                         |ASSIGNED
                 CC|                            |ubizjak at gmail dot com
>From gcc-bugs-return-488506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 09 16:14:41 2015
Return-Path: <gcc-bugs-return-488506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94966 invoked by alias); 9 Jun 2015 16:14:40 -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 94922 invoked by uid 48); 9 Jun 2015 16:14:37 -0000
From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/66306] ICE in reload
Date: Tue, 09 Jun 2015 16:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 4.8.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: krebbel at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: krebbel at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created
Message-ID: <bug-66306-4-YaPBenRW3A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66306-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66306-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-06/txt/msg00838.txt.bz2
Content-length: 820

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

Andreas Krebbel <krebbel at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-06-09
           Assignee|unassigned at gcc dot gnu.org      |krebbel at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Created attachment 35730
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id5730&actioníit
Experimental fix

When preparing the operands for using an alternative with swapped operands
reload does not swap the information about match_dups in recog_data.


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

* [Bug target/66473] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f
  2015-06-09 13:46 [Bug target/66473] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f andrew.n.senkevich at gmail dot com
  2015-06-09 15:58 ` [Bug target/66473] " ubizjak at gmail dot com
@ 2015-06-09 17:20 ` kyukhin at gcc dot gnu.org
  2015-06-10 18:24 ` uros at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: kyukhin at gcc dot gnu.org @ 2015-06-09 17:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Kirill Yukhin <kyukhin at gcc dot gnu.org> ---
Sure, I'll report tomorrow.


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

* [Bug target/66473] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f
  2015-06-09 13:46 [Bug target/66473] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f andrew.n.senkevich at gmail dot com
  2015-06-09 15:58 ` [Bug target/66473] " ubizjak at gmail dot com
  2015-06-09 17:20 ` kyukhin at gcc dot gnu.org
@ 2015-06-10 18:24 ` uros at gcc dot gnu.org
  2015-06-10 18:38 ` uros at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: uros at gcc dot gnu.org @ 2015-06-10 18:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed Jun 10 18:23:31 2015
New Revision: 224340

URL: https://gcc.gnu.org/viewcvs?rev=224340&root=gcc&view=rev
Log:
        PR target/66473
        * config/i386/i386.c (ix86_expand_vector_set): Use gen_int_mode
        to prepare mask operand for AVX512 modes.

testsuite/ChangeLog:

        PR target/66473
        * gcc.target/i386/pr66473.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr66473.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug target/66473] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f
  2015-06-09 13:46 [Bug target/66473] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f andrew.n.senkevich at gmail dot com
                   ` (2 preceding siblings ...)
  2015-06-10 18:24 ` uros at gcc dot gnu.org
@ 2015-06-10 18:38 ` uros at gcc dot gnu.org
  2015-06-10 18:39 ` ubizjak at gmail dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: uros at gcc dot gnu.org @ 2015-06-10 18:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed Jun 10 18:37:34 2015
New Revision: 224342

URL: https://gcc.gnu.org/viewcvs?rev=224342&root=gcc&view=rev
Log:
        PR target/66473
        * config/i386/i386.c (ix86_expand_vector_set): Use gen_int_mode
        to prepare mask operand for AVX512 modes.

testsuite/ChangeLog:

        PR target/66473
        * gcc.target/i386/pr66473.c: New test.


Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr66473.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/i386/i386.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


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

* [Bug target/66473] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f
  2015-06-09 13:46 [Bug target/66473] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f andrew.n.senkevich at gmail dot com
                   ` (3 preceding siblings ...)
  2015-06-10 18:38 ` uros at gcc dot gnu.org
@ 2015-06-10 18:39 ` ubizjak at gmail dot com
  2015-06-15  9:24 ` ubizjak at gmail dot com
  2015-06-15 13:10 ` andrew.n.senkevich at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2015-06-10 18:39 UTC (permalink / raw)
  To: gcc-bugs

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
           Assignee|kyukhin at gcc dot gnu.org         |ubizjak at gmail dot com

--- Comment #9 from Uroš Bizjak <ubizjak at gmail dot com> ---
Fixed.
>From gcc-bugs-return-488660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 10 18:50:59 2015
Return-Path: <gcc-bugs-return-488660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1038 invoked by alias); 10 Jun 2015 18:50:59 -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 1000 invoked by uid 48); 10 Jun 2015 18:50:55 -0000
From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/66484] Exception specification can declare a pointer to incomplete type, which is against C++ standard section 15.1
Date: Wed, 10 Jun 2015 18:50: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: 5.1.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: daniel.kruegler at googlemail dot com
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: cc
Message-ID: <bug-66484-4-rUNHu4o5yw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66484-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66484-4@http.gcc.gnu.org/bugzilla/>
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: 2015-06/txt/msg00992.txt.bz2
Content-length: 644

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

Daniel Krügler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler@googlemail.
                   |                            |com

--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
This could be a possible compiler extension and you get a warning when using
it. What I consider as a defect is that it's not an error even when -pedantic
is activated.
>From gcc-bugs-return-488661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 10 19:17:07 2015
Return-Path: <gcc-bugs-return-488661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108764 invoked by alias); 10 Jun 2015 19:17:07 -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 108725 invoked by uid 48); 10 Jun 2015 19:17:03 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/66489] combine fails to merge insns if some are reused later on
Date: Wed, 10 Jun 2015 19:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
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: cc
Message-ID: <bug-66489-4-nTqyAw7aFd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66489-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66489-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-06/txt/msg00993.txt.bz2
Content-length: 1493

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

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |segher at gcc dot gnu.org

--- Comment #4 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Combine does not do this because it would need to combine 2 insns into 2.
This *can* be safely done (carefully).  As a result combine can do more
work (which is good), but lifetime of registers can get longer too (but
also shorter in some cases).  I don't yet know if it is a win on average.

diff --git a/gcc/combine.c b/gcc/combine.c
index 9861291..599d383 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -3992,8 +3992,8 @@ try_combine (rtx_insn *i3, rtx_insn *i2, rtx_insn *i1,
rtx_insn *i0,
           && XVECLEN (newpat, 0) == 2
           && GET_CODE (XVECEXP (newpat, 0, 0)) == SET
           && GET_CODE (XVECEXP (newpat, 0, 1)) == SET
-          && (i1 || set_noop_p (XVECEXP (newpat, 0, 0))
-                 || set_noop_p (XVECEXP (newpat, 0, 1)))
+//        && (i1 || set_noop_p (XVECEXP (newpat, 0, 0))
+//               || set_noop_p (XVECEXP (newpat, 0, 1)))
           && GET_CODE (SET_DEST (XVECEXP (newpat, 0, 0))) != ZERO_EXTRACT
           && GET_CODE (SET_DEST (XVECEXP (newpat, 0, 0))) != STRICT_LOW_PART
           && GET_CODE (SET_DEST (XVECEXP (newpat, 0, 1))) != ZERO_EXTRACT


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

* [Bug target/66473] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f
  2015-06-09 13:46 [Bug target/66473] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f andrew.n.senkevich at gmail dot com
                   ` (4 preceding siblings ...)
  2015-06-10 18:39 ` ubizjak at gmail dot com
@ 2015-06-15  9:24 ` ubizjak at gmail dot com
  2015-06-15 13:10 ` andrew.n.senkevich at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2015-06-15  9:24 UTC (permalink / raw)
  To: gcc-bugs

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trippels at gcc dot gnu.org

--- Comment #10 from Uroš Bizjak <ubizjak at gmail dot com> ---
*** Bug 66540 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-488980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 15 09:24:37 2015
Return-Path: <gcc-bugs-return-488980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7019 invoked by alias); 15 Jun 2015 09:24:37 -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 123978 invoked by uid 48); 15 Jun 2015 09:24:33 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/66540] [5/6 Regression] glibc testsuite:  error: unrecognizable insn with -mavx512f
Date: Mon, 15 Jun 2015 09:24: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-66540-4-iLu9YkGgqi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66540-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66540-4@http.gcc.gnu.org/bugzilla/>
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: 2015-06/txt/msg01312.txt.bz2
Content-length: 493

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Dup.

*** This bug has been marked as a duplicate of bug 66473 ***
>From gcc-bugs-return-488982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 15 09:55:26 2015
Return-Path: <gcc-bugs-return-488982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124190 invoked by alias); 15 Jun 2015 09:55:26 -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 124154 invoked by uid 48); 15 Jun 2015 09:55:22 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/66432] libgomp.c/appendix-a/a.29.1.c -O2 -g: type mismatch between an SSA_NAME and its symbol
Date: Mon, 15 Jun 2015 09:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords: openmp
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vries 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-66432-4-4hcTx8DNDG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66432-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66432-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-06/txt/msg01314.txt.bz2
Content-length: 900

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

--- Comment #2 from vries at gcc dot gnu.org ---
At fnsplit, we split off f.part.0 from f.

That introduces a debug_insn and ssa-name that references param B in f:
...
  # DEBUG D#4ptD.0 => B_3(D)
..

And a debug_insn that references param B in f.part.0:
...
  # DEBUG D#7ptD.0 s=> BD.1846
...

At this point, the type of the ssa name and the param are the same.

Then at inline, we decide to inline f.part.0 back into the f.

For inlining, we rewrite the body of inlined function f.part.0. While rewriting
the debug insn mentioned above, we hit this code for param B:
...
      if (TREE_CODE (*tp) != OMP_CLAUSE)
        TREE_TYPE (*tp) = remap_type (TREE_TYPE (*tp), id);
...

And since it's a variable-sized type, the type of param is changed.

Now the type of the ssa name and the param are no longer the same, and a bit
later we hit the ICE.


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

* [Bug target/66473] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f
  2015-06-09 13:46 [Bug target/66473] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f andrew.n.senkevich at gmail dot com
                   ` (5 preceding siblings ...)
  2015-06-15  9:24 ` ubizjak at gmail dot com
@ 2015-06-15 13:10 ` andrew.n.senkevich at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: andrew.n.senkevich at gmail dot com @ 2015-06-15 13:10 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Senkevich <andrew.n.senkevich at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

--- Comment #11 from Andrew Senkevich <andrew.n.senkevich at gmail dot com> ---
Thank you!


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

end of thread, other threads:[~2015-06-15 13:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-09 13:46 [Bug target/66473] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f andrew.n.senkevich at gmail dot com
2015-06-09 15:58 ` [Bug target/66473] " ubizjak at gmail dot com
2015-06-09 17:20 ` kyukhin at gcc dot gnu.org
2015-06-10 18:24 ` uros at gcc dot gnu.org
2015-06-10 18:38 ` uros at gcc dot gnu.org
2015-06-10 18:39 ` ubizjak at gmail dot com
2015-06-15  9:24 ` ubizjak at gmail dot com
2015-06-15 13:10 ` andrew.n.senkevich at gmail dot com

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