From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12927 invoked by alias); 30 Nov 2014 10:58:50 -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 12892 invoked by uid 48); 30 Nov 2014 10:58:45 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/64122] New: ICE: tree check: expected tree that contains 'decl common' structure, have 'ssa_name' in prepare_gimple_addressable, at gimplify.c:3228 with -fgnu-tm Date: Sun, 30 Nov 2014 10:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: 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/msg03424.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64122 Bug ID: 64122 Summary: ICE: tree check: expected tree that contains 'decl common' structure, have 'ssa_name' in prepare_gimple_addressable, at gimplify.c:3228 with -fgnu-tm Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Created attachment 34146 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34146&action=edit reduced testcase Compiler output: $ gcc -O2 -fgnu-tm -ftree-vectorize -mavx512cd testcase.c In function 'foo': cc1: internal compiler error: tree check: expected tree that contains 'decl common' structure, have 'ssa_name' in prepare_gimple_addressable, at gimplify.c:3228 0xe87ca4 tree_contains_struct_check_failed(tree_node const*, tree_node_structure_enum, char const*, int, char const*) /mnt/svn/gcc-trunk/gcc/tree.c:9398 0x9e24f1 contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*) /mnt/svn/gcc-trunk/gcc/tree.h:2878 0x9e24f1 prepare_gimple_addressable /mnt/svn/gcc-trunk/gcc/gimplify.c:3228 0x9e64fa gimplify_addr_expr /mnt/svn/gcc-trunk/gcc/gimplify.c:4939 0x9db1d1 gimplify_expr(tree_node**, gimple_statement_base**, gimple_statement_base**, bool (*)(tree_node*), int) /mnt/svn/gcc-trunk/gcc/gimplify.c:7780 0x9f0195 force_gimple_operand_1(tree_node*, gimple_statement_base**, bool (*)(tree_node*), tree_node*) /mnt/svn/gcc-trunk/gcc/gimplify-me.c:93 0x9f02cf force_gimple_operand_gsi_1(gimple_stmt_iterator*, tree_node*, bool (*)(tree_node*), tree_node*, bool, gsi_iterator_update) /mnt/svn/gcc-trunk/gcc/gimplify-me.c:130 0xc31346 expand_assign_tm /mnt/svn/gcc-trunk/gcc/trans-mem.c:2350 0xc32609 expand_block_tm /mnt/svn/gcc-trunk/gcc/trans-mem.c:2536 0xc32609 execute_tm_mark /mnt/svn/gcc-trunk/gcc/trans-mem.c:3037 0xc32609 execute /mnt/svn/gcc-trunk/gcc/trans-mem.c:3082 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ gcc -v Using built-in specs. COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-218181-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/5.0.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df --enable-languages=c,c++,lto,fortran --prefix=/mnt/svn/gcc-trunk/binary-218181-lto-fortran-checking-yes-rtl-df/ --without-cloog --without-ppl Thread model: posix gcc version 5.0.0 20141129 (experimental) (GCC) Tested revisions: r218181 - ICE 4_9 r218177 - different ICE 4_8 r218176 - -mavx512cd is not recognised