From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16239 invoked by alias); 10 Jan 2014 04:49:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 15714 invoked by uid 48); 10 Jan 2014 04:49:45 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/59745] [4.9 Regression] internal compiler error: tree check: expected tree that contains 'typed' structure, have '' in operand_equal_p, at fold-const.c:2492 Date: Fri, 10 Jan 2014 04:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-01/txt/msg01035.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59745 --- Comment #2 from H.J. Lu --- #0 internal_error ( gmsgid=0x14cea90 "tree check: expected tree that contains %qs structure, have %qs in %s, at %s:%d") at /export/gnu/import/git/gcc/gcc/diagnostic.c:1127 #1 0x0000000000e69ab1 in tree_contains_struct_check_failed ( node=0x7ffff18d08e8, en=TS_TYPED, file=0x1444888 "/export/gnu/import/git/gcc/gcc/fold-const.c", line=2492, function=0x1449ec0 "operand_equal_p") at /export/gnu/import/git/gcc/gcc/tree.c:9364 #2 0x00000000006af1d0 in contains_struct_check (__t=0x7ffff18d08e8, __s=TS_TYPED, __f=0x1444888 "/export/gnu/import/git/gcc/gcc/fold-const.c", __l=2492, __g=0x1449ec0 "operand_equal_p") at /export/gnu/import/git/gcc/gcc/tree.h:3033 #3 0x00000000008ac99c in operand_equal_p (arg0=0x7ffff1a41528, arg1=0x7ffff18d08e8, flags=0) at /export/gnu/import/git/gcc/gcc/fold-const.c:2492 Python Exception 'utf8' codec can't decode byte 0x8b in position 1: invalid start byte: #4 0x00000000012f74f9 in aff_combination_add_elt (comb=0x7fffffffd360, elt=, scale=...) at /export/gnu/import/git/gcc/gcc/tree-affine.c:145 #5 0x00000000012f7952 in aff_combination_add (comb1=0x7fffffffd360, comb2=0x7fffffffd450) at /export/gnu/import/git/gcc/gcc/tree-affine.c:213 #6 0x00000000012f9a7c in aff_combination_expand (comb=0x7fffffffd810, ---Type to continue, or q to quit--- cache=0x1c68a50 ) at /export/gnu/import/git/gcc/gcc/tree-affine.c:713 #7 0x00000000012f9b11 in tree_to_aff_combination_expand ( expr=, type=, comb=0x7fffffffd810, cache=0x1c68a50 ) at /export/gnu/import/git/gcc/gcc/tree-affine.c:734 #8 0x0000000000c73edf in aff_combination_dr_offset (dr=0x1fab080, offset=0x7fffffffd810) at /export/gnu/import/git/gcc/gcc/tree-predcom.c:640 #9 0x0000000000c740e8 in determine_offset (a=0x1fab080, b=0x2007d90, off=0x7fffffffdb30) at /export/gnu/import/git/gcc/gcc/tree-predcom.c:681 #10 0x0000000000c7450e in split_data_refs_to_components (loop=0x7ffff14f16e0, datarefs=..., depends=...) at /export/gnu/import/git/gcc/gcc/tree-predcom.c:790 #11 0x0000000000c784f5 in tree_predictive_commoning_loop (loop=0x7ffff14f16e0) at /export/gnu/import/git/gcc/gcc/tree-predcom.c:2444 #12 0x0000000000c788ab in tree_predictive_commoning () at /export/gnu/import/git/gcc/gcc/tree-predcom.c:2551 #13 0x0000000000c7891d in run_tree_predictive_commoning () at /export/gnu/import/git/gcc/gcc/tree-predcom.c:2572 #14 0x0000000000c78987 in (anonymous namespace)::pass_predcom::execute ( this=0x1cc1190) at /export/gnu/import/git/gcc/gcc/tree-predcom.c:2607 #15 0x0000000000ad1072 in execute_one_pass ( ---Type to continue, or q to quit--- pass=) at /export/gnu/import/git/gcc/gcc/passes.c:2226 #16 0x0000000000ad128b in execute_pass_list ( pass=) at /export/gnu/import/git/gcc/gcc/passes.c:2279 #17 0x0000000000ad12bc in execute_pass_list (pass= ) at /export/gnu/import/git/gcc/gcc/passes.c:2280 #18 0x0000000000ad12bc in execute_pass_list ( pass=) at /export/gnu/import/git/gcc/gcc/passes.c:2280 #19 0x00000000007acfec in expand_function ( node=) at /export/gnu/import/git/gcc/gcc/cgraphunit.c:1764 #20 0x00000000007ad5e0 in expand_all_functions () at /export/gnu/import/git/gcc/gcc/cgraphunit.c:1898 #21 0x00000000007adfac in compile () at /export/gnu/import/git/gcc/gcc/cgraphunit.c:2242 #22 0x00000000007ae125 in finalize_compilation_unit () at /export/gnu/import/git/gcc/gcc/cgraphunit.c:2319 #23 0x0000000000a1dbcd in write_global_declarations () at /export/gnu/import/git/gcc/gcc/langhooks.c:323 #24 0x0000000000667550 in gfc_write_global_declarations () ---Type to continue, or q to quit--- at /export/gnu/import/git/gcc/gcc/fortran/f95-lang.c:262 #25 0x0000000000bbc1d8 in compile_file () at /export/gnu/import/git/gcc/gcc/toplev.c:562 #26 0x0000000000bbe324 in do_compile () at /export/gnu/import/git/gcc/gcc/toplev.c:1914 #27 0x0000000000bbe48f in toplev_main (argc=19, argv=0x7fffffffe088) at /export/gnu/import/git/gcc/gcc/toplev.c:1990 #28 0x000000000133f87c in main (argc=19, argv=0x7fffffffe088) at /export/gnu/import/git/gcc/gcc/main.c:36 (gdb)