public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/63914] New: ice in set_lattice_value, at tree-ssa-ccp.c:517
@ 2014-11-17 11:51 dcb314 at hotmail dot com
  2014-11-17 12:36 ` [Bug tree-optimization/63914] ICE " trippels at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2014-11-17 11:51 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63914
           Summary: ice in set_lattice_value, at tree-ssa-ccp.c:517
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

Created attachment 34003
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34003&action=edit
gzipped C source code

I just tried to compile the attached C code with the latest trunk
dated 20141116 on a Fedora Linux x86_64 box.

The compiler said

$ ../results/bin/gcc -std=c99 -O2 -ffast-math -c bug176.c
/home/dcb/rpmbuild/BUILD/darktable-1.4.2/src/common/interpolation.c: In
function ‘dt_interpolation_compute_pixel4c’:
/home/dcb/rpmbuild/BUILD/darktable-1.4.2/src/common/interpolation.c:879:1:
internal compiler error: in set_lattice_value, at tree-ssa-ccp.c:517
 dt_interpolation_compute_pixel4c(
 ^
0xbac75e set_lattice_value(tree_node*, ccp_prop_value_t)
    ../../src/trunk/gcc/tree-ssa-ccp.c:517
0xbac8e1 visit_assignment(gimple_statement_base*, tree_node**)
    ../../src/trunk/gcc/tree-ssa-ccp.c:2256
0xba465e ccp_visit_stmt(gimple_statement_base*, edge_def**, tree_node**)
    ../../src/trunk/gcc/tree-ssa-ccp.c:2325
0xc1e6c9 simulate_stmt(gimple_statement_base*)
    ../../src/trunk/gcc/tree-ssa-propagate.c:340
0xc1d387 process_ssa_edge_worklist(vec<gimple_statement_base*, va_heap,
vl_ptr>*)
    ../../src/trunk/gcc/tree-ssa-propagate.c:414
0xc1d039 ssa_propagate(ssa_prop_result (*)(gimple_statement_base*, edge_def**,
tree_node**), ssa_prop_result (*)(gimple_statement_base*))
    ../../src/trunk/gcc/tree-ssa-propagate.c:885
0xba4021 do_ssa_ccp()
    ../../src/trunk/gcc/tree-ssa-ccp.c:2371
0xba4021 (anonymous namespace)::pass_ccp::execute(function*)
    ../../src/trunk/gcc/tree-ssa-ccp.c:2404
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.
[dcb@zippy4 foundBugs]$


Flags -std=c99 -O2 -ffast-math required.
>From gcc-bugs-return-467026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 17 12:00:53 2014
Return-Path: <gcc-bugs-return-467026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27664 invoked by alias); 17 Nov 2014 12:00: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 27602 invoked by uid 48); 17 Nov 2014 12:00:49 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/59708] clang-compatible checked arithmetic builtins
Date: Mon, 17 Nov 2014 12:00: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-59708-4-WLCbt6Tygc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59708-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59708-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-11/txt/msg01498.txt.bz2
Content-length: 2338

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

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

--- Comment #16 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
On ppc64 I get:

FAIL: gcc.dg/builtin-arith-overflow-1.c execution test

FAIL: c-c++-common/torture/builtin-arith-overflow-10.c   -O2  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-10.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-10.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-11.c   -O2  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-11.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-11.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-17.c   -O0  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-17.c   -O2  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-17.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-17.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-18.c   -O0  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-18.c   -O2  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-18.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-18.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-6.c   -O0  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-6.c   -O2  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-6.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  execution test
FAIL: c-c++-common/torture/builtin-arith-overflow-6.c   -O2 -flto
-fuse-linker-plugin -fno-fat-lto-objects  execution test


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

end of thread, other threads:[~2014-11-18 13:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-17 11:51 [Bug c/63914] New: ice in set_lattice_value, at tree-ssa-ccp.c:517 dcb314 at hotmail dot com
2014-11-17 12:36 ` [Bug tree-optimization/63914] ICE " trippels at gcc dot gnu.org
2014-11-17 14:00 ` rguenth at gcc dot gnu.org
2014-11-17 14:13 ` rguenth at gcc dot gnu.org
2014-11-18 13:04 ` rguenth at gcc dot gnu.org
2014-11-18 13:04 ` 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).