public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60713] New: [4.8/4.9 regression] ICE in iterative_hash_expr
@ 2014-03-30 23:13 ppluzhnikov at google dot com
  2014-03-31  8:20 ` [Bug c++/60713] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ppluzhnikov at google dot com @ 2014-03-30 23:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60713

            Bug ID: 60713
           Summary: [4.8/4.9 regression] ICE in iterative_hash_expr
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ppluzhnikov at google dot com

Google ref: b/13644122

Reproduces with current trunk (r208944):

g++ -c -std=c++11 t.cc && echo ok
ok

g++ -c -std=c++11 t.cc -O2

t.cc: In member function ‘void x6::x7()’:
t.cc:20:7: internal compiler error: in iterative_hash_expr, at tree.c:7475
     });
       ^
0xd78b9f iterative_hash_expr(tree_node const*, unsigned int)
    ../../gcc/tree.c:7475
0xd78a22 iterative_hash_expr(tree_node const*, unsigned int)
    ../../gcc/tree.c:7508
0xd7886b iterative_hash_expr(tree_node const*, unsigned int)
    ../../gcc/tree.c:7448
0x9abf3c gimplify_hasher::hash(gimple_temp_hash_elt const*)
    ../../gcc/gimplify.c:8908
0x9abf3c hash_table<gimplify_hasher,
xcallocator>::find_slot(gimple_temp_hash_elt const*, insert_option)
    ../../gcc/hash-table.h:505
0x9abf3c lookup_tmp_var
    ../../gcc/gimplify.c:488
0x9abf3c internal_get_tmp_var
    ../../gcc/gimplify.c:523
0x9a4bf1 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc/gimplify.c:8358
0x9af968 gimplify_call_expr
    ../../gcc/gimplify.c:2375
0x9a5047 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc/gimplify.c:7431
0x9a9996 gimplify_stmt(tree_node**, gimple_statement_base**)
    ../../gcc/gimplify.c:5353
0x9a50d2 gimplify_cleanup_point_expr
    ../../gcc/gimplify.c:5129
0x9a50d2 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc/gimplify.c:7823
0x9a9996 gimplify_stmt(tree_node**, gimple_statement_base**)
    ../../gcc/gimplify.c:5353
0x9ab1f9 gimplify_body(tree_node*, bool)
    ../../gcc/gimplify.c:8567
0x9ab7d6 gimplify_function_tree(tree_node*)
    ../../gcc/gimplify.c:8720
0x8393a7 analyze_function
    ../../gcc/cgraphunit.c:649
0x83a65b analyze_functions
    ../../gcc/cgraphunit.c:1017
0x83bd55 finalize_compilation_unit()
    ../../gcc/cgraphunit.c:2320
0x63541e cp_write_global_declarations()
    ../../gcc/cp/decl2.c:4610
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.

/// cut here 
template < class x0, class x1, class x2, class x3, class x4 >
int *x5 (x0 *, x2 (x1::*)(x3, x4));

class x6
{
    void x7 ();
    struct x8
    {
        int *x9;
    };
    void x10 (x8);
    void x11 (int *, int *);
};

void
x6::x7 ()
{
    x10 ({
        x5 (this, &x6::x11)
    });
}
>From gcc-bugs-return-447865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 30 23:13:19 2014
Return-Path: <gcc-bugs-return-447865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27843 invoked by alias); 30 Mar 2014 23:13:18 -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 27793 invoked by uid 55); 30 Mar 2014 23:13:12 -0000
From: "kkojima at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/60039] sh3 optimisation bug with -O2
Date: Sun, 30 Mar 2014 23:13: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.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kkojima at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
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-60039-4-OS4jGa1dfi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60039-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60039-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-03/txt/msg02734.txt.bz2
Content-length: 436

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`039

--- Comment #10 from Kazumoto Kojima <kkojima at gcc dot gnu.org> ---
Author: kkojima
Date: Sun Mar 30 23:12:36 2014
New Revision: 208950

URL: http://gcc.gnu.org/viewcvs?rev 8950&root=gcc&view=rev
Log:
    PR target/60039
    * config/sh/sh.md (udivsi3_i1): Clobber R1 register.


Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/config/sh/sh.md


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

end of thread, other threads:[~2014-05-13 16:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-30 23:13 [Bug c++/60713] New: [4.8/4.9 regression] ICE in iterative_hash_expr ppluzhnikov at google dot com
2014-03-31  8:20 ` [Bug c++/60713] " rguenth at gcc dot gnu.org
2014-04-01 17:53 ` jason at gcc dot gnu.org
2014-04-01 19:14 ` jason at gcc dot gnu.org
2014-04-01 19:16 ` [Bug c++/60713] [4.8 " jason at gcc dot gnu.org
2014-05-13 16:05 ` jason at gcc dot gnu.org
2014-05-13 16:07 ` jason 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).