public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/61239] New: [4.10 Regression]: ICE in decompose, at rtl.h when compiling vshuf-v16hi.c using -mavx2
@ 2014-05-19 21:27 ubizjak at gmail dot com
  2014-05-20  8:38 ` [Bug rtl-optimization/61239] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ubizjak at gmail dot com @ 2014-05-19 21:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61239
           Summary: [4.10 Regression]: ICE in decompose, at rtl.h when
                    compiling vshuf-v16hi.c using -mavx2
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com

As found in [1]:

FAIL: c-c++-common/torture/vshuf-v16hi.c  -O0  (internal compiler error)
FAIL: c-c++-common/torture/vshuf-v16hi.c  -O0  (test for excess errors)
FAIL: c-c++-common/torture/vshuf-v16hi.c  -O1  (internal compiler error)
FAIL: c-c++-common/torture/vshuf-v16hi.c  -O1  (test for excess errors)
FAIL: c-c++-common/torture/vshuf-v16hi.c  -O2  (internal compiler error)
FAIL: c-c++-common/torture/vshuf-v16hi.c  -O2  (test for excess errors)
FAIL: c-c++-common/torture/vshuf-v16hi.c  -O3 -fomit-frame-pointer  (internal
compiler error)
FAIL: c-c++-common/torture/vshuf-v16hi.c  -O3 -fomit-frame-pointer  (test for
excess errors)
FAIL: c-c++-common/torture/vshuf-v16hi.c  -O3 -g  (internal compiler error)
FAIL: c-c++-common/torture/vshuf-v16hi.c  -O3 -g  (test for excess errors)
FAIL: c-c++-common/torture/vshuf-v16hi.c  -Os  (internal compiler error)
FAIL: c-c++-common/torture/vshuf-v16hi.c  -Os  (test for excess errors)
FAIL: c-c++-common/torture/vshuf-v16hi.c  -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (internal compiler error)
FAIL: c-c++-common/torture/vshuf-v16hi.c  -O2 -flto -fno-use-linker-plugin
-flto-partition=none  (test for excess errors)

$ /ssd/uros/gcc-build/gcc/cc1 -O2 -mavx2 -quiet vshuf-v16hi.c 
In file included from vshuf-v16hi.c:5:0:
vshuf-main.inc: In function ‘main’:
vshuf-main.inc:12:9: internal compiler error: in decompose, at rtl.h:1456
       V r = __builtin_shuffle(tests[i].in, tests[i].mask);
         ^
0x72fe16 wi::int_traits<std::pair<rtx_def*, machine_mode> >::decompose(long*,
unsigned int, std::pair<rtx_def*, machine_mode> const&)
        /home/uros/gcc-svn/trunk/gcc/rtl.h:1454
0x72fe16 wide_int_ref_storage<std::pair<rtx_def*, machine_mode> >
        /home/uros/gcc-svn/trunk/gcc/wide-int.h:950
0x72fe16 generic_wide_int<std::pair<rtx_def*, machine_mode> >
        /home/uros/gcc-svn/trunk/gcc/wide-int.h:727
0x72fe16 make_tree(tree_node*, rtx_def*)
        /home/uros/gcc-svn/trunk/gcc/expmed.c:4970
0x72fa0b make_tree(tree_node*, rtx_def*)
        /home/uros/gcc-svn/trunk/gcc/expmed.c:5001
0xc39055 force_const_mem(machine_mode, rtx_def*)
        /home/uros/gcc-svn/trunk/gcc/varasm.c:3694
0x7430c2 emit_move_insn(rtx_def*, rtx_def*)
        /home/uros/gcc-svn/trunk/gcc/expr.c:3587
0x725dbb force_reg
        /home/uros/gcc-svn/trunk/gcc/explow.c:670
0xc8d717 ix86_expand_vec_perm(rtx_def**)
        /home/uros/gcc-svn/trunk/gcc/config/i386/i386.c:21548
0xd65635 gen_vec_permv16hi(rtx_def*, rtx_def*, rtx_def*, rtx_def*)
        /home/uros/gcc-svn/trunk/gcc/config/i386/sse.md:8934

[1] https://gcc.gnu.org/ml/gcc-testresults/2014-05/msg01644.html
>From gcc-bugs-return-451972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 19 22:26:26 2014
Return-Path: <gcc-bugs-return-451972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4930 invoked by alias); 19 May 2014 22:26:25 -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 4817 invoked by uid 48); 19 May 2014 22:26:20 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/61208] armhf: generated asm code produces "branch out of range" error in gas with -Os
Date: Mon, 19 May 2014 22:26: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: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rearnsha at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rearnsha at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cf_known_to_work assigned_to everconfirmed
Message-ID: <bug-61208-4-6sylj30IAu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61208-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61208-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-05/txt/msg01664.txt.bz2
Content-length: 775

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

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2014-05-19
      Known to work|4.9.0                       |
           Assignee|unassigned at gcc dot gnu.org      |rearnsha at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Confrimed.  This is just latent on 4.9 and trunk.

The problem is the arm_cmpdi_unsigned pattern which fails to account for the
extra Thumb IT instruction.


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

end of thread, other threads:[~2014-06-02 22:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-19 21:27 [Bug rtl-optimization/61239] New: [4.10 Regression]: ICE in decompose, at rtl.h when compiling vshuf-v16hi.c using -mavx2 ubizjak at gmail dot com
2014-05-20  8:38 ` [Bug rtl-optimization/61239] " rguenth at gcc dot gnu.org
2014-05-26 14:27 ` ubizjak at gmail dot com
2014-06-02  8:52 ` ubizjak at gmail dot com
2014-06-02  9:22 ` [Bug target/61239] " ubizjak at gmail dot com
2014-06-02 13:23 ` uros at gcc dot gnu.org
2014-06-02 22:03 ` uros at gcc dot gnu.org
2014-06-02 22:06 ` uros at gcc dot gnu.org
2014-06-02 22:10 ` ubizjak 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).