public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/68145] New: [6 Regression] ICE: in vectorizable_store, at tree-vect-stmts.c:5684
@ 2015-10-29 14:02 jtaylor.debian at googlemail dot com
  2015-10-29 15:02 ` [Bug tree-optimization/68145] " rguenth at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: jtaylor.debian at googlemail dot com @ 2015-10-29 14:02 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 68145
           Summary: [6 Regression] ICE: in vectorizable_store, at
                    tree-vect-stmts.c:5684
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jtaylor.debian at googlemail dot com
  Target Milestone: ---

Created attachment 36612
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36612&action=edit
reduced testcase

New ICE in current trunk, rev 229522. 5.x is fine.
Reduced preprocessed testcase attached.

$ g++-6.0 -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/scratch/jtaylor/gcc/local-trunk/libexec/gcc/x86_64-pc-linux-gnu/6.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /scratch/jtaylor/progs/gcc-trunk/configure --disable-werror
--enable-languages=c,c++,fortran --enable-tls
--prefix=/scratch/jtaylor/gcc/local-trunk --with-gmp=/usr --with-mpfr=/usr
--with-mpc=/usr --with-cloog=/usr --with-ppl=/usr --with-isl=/usr
--disable-bootstrap --enable-checking=release
Thread model: posix
gcc version 6.0.0 20151029 (experimental) (GCC) 

$ g++-6.0  ExprLogicNodeArray.ii -c -ftree-vectorize -O1
ExprLogicNodeArray.ii: In member function ‘B D::getArrayBool(const int&)’:
ExprLogicNodeArray.ii:37:3: internal compiler error: in vectorizable_store, at
tree-vect-stmts.c:5684
 B D::getArrayBool(const int &) { lnode_p.getArrayBool() && c; }
   ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-500910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 29 14:11:08 2015
Return-Path: <gcc-bugs-return-500910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72999 invoked by alias); 29 Oct 2015 14:11: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 72967 invoked by uid 55); 29 Oct 2015 14:11:03 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/68142] unsafe association of multiplication
Date: Thu, 29 Oct 2015 14:11: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-68142-4-AKIoy5p2Hq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68142-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68142-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-10/txt/msg02465.txt.bz2
Content-length: 634

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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Oct 29 14:10:31 2015
New Revision: 229528

URL: https://gcc.gnu.org/viewcvs?rev"9528&root=gcc&view=rev
Log:
2015-10-29  Richard Biener  <rguenther@suse.de>

        PR middle-end/68142
        * fold-const.c (extract_muldiv_1): Avoid introducing undefined
        overflow.

        * c-c++-common/ubsan/pr68142.c: New testcase.

Added:
    trunk/gcc/testsuite/c-c++-common/ubsan/pr68142.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug tree-optimization/68145] [6 Regression] ICE: in vectorizable_store, at tree-vect-stmts.c:5684
  2015-10-29 14:02 [Bug tree-optimization/68145] New: [6 Regression] ICE: in vectorizable_store, at tree-vect-stmts.c:5684 jtaylor.debian at googlemail dot com
@ 2015-10-29 15:02 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-10-29 15:02 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-10-29
                 CC|                            |ienkovich at gcc dot gnu.org
   Target Milestone|---                         |6.0
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.

5743              /* We should have catched mismatched types earlier.  */
5744              gcc_assert (useless_type_conversion_p (vectype,
5745                                                     TREE_TYPE
(vec_oprnd)));
(gdb) p debug_generic_expr (vectype)
vector(16) unsigned char
(gdb) p debug_generic_expr (vec_oprnd->typed.type)
vector(16) <unnamed type>

(vector bool)


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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-29 14:02 [Bug tree-optimization/68145] New: [6 Regression] ICE: in vectorizable_store, at tree-vect-stmts.c:5684 jtaylor.debian at googlemail dot com
2015-10-29 15:02 ` [Bug tree-optimization/68145] " rguenth at gcc dot gnu.org

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