From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 88C5338930CB; Wed, 29 Apr 2020 06:51:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 88C5338930CB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1588143090; bh=039974nrR99cXLvkVcxa2qulpgX1OjPj2ECeDmnN3eo=; h=From:To:Subject:Date:From; b=X18tVOeGZePTHWGyEmem+kfdTW4xXH8vcssVwjvKnGnoXsV26SeqcBwLxlu0CJnpl NXLXNH9pNJZXYXo42iAsFM+7/67Lh8syQJj2tl0BzdHs2Ni9kBY4e4BP/9WNQEoGVS E6D1UDy2IxHUJahGng1itVokAMdXXmZbvQWtVOmg= From: "anbu1024.me at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/94842] New: [8/9/10 Regression] internal compiler error: in gimplify_label_expr, at gimplify.c:2573 Date: Wed, 29 Apr 2020 06:51:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anbu1024.me at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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 target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2020 06:51:30 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94842 Bug ID: 94842 Summary: [8/9/10 Regression] internal compiler error: in gimplify_label_expr, at gimplify.c:2573 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anbu1024.me at gmail dot com Target Milestone: --- $ cat test.c=20 _Atomic float x =3D 5 ; void foo ( int arg_0 )=20 {=20 void bar ( float arg_0 [ ( int ) ( x +=3D 2 ) ] ) { }=20 } ---------------------------------------------------------------------------= ----- $ gcc-10 --version gcc (GCC) 10.0.1 20200419 (experimental) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ---------------------------------------------------------------------------= ----- $ gcc-10 test.c=20 test.c: In function =E2=80=98bar=E2=80=99: test.c:6:27: internal compiler error: in gimplify_label_expr, at gimplify.c:2573 6 | void bar ( float arg_0 [ ( int ) ( x +=3D 2 ) ] ) { } | ^~~~~~~~~~~~~~~~~~ 0x66df8d gimplify_label_expr ../../gcc-10-20200419/gcc/gimplify.c:2573 0xafd7d2 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-10-20200419/gcc/gimplify.c:13847 0xb00bd6 gimplify_stmt(tree_node**, gimple**) ../../gcc-10-20200419/gcc/gimplify.c:6825 0xafe48b gimplify_statement_list ../../gcc-10-20200419/gcc/gimplify.c:1869 0xafe48b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-10-20200419/gcc/gimplify.c:14052 0xb12883 gimplify_stmt(tree_node**, gimple**) ../../gcc-10-20200419/gcc/gimplify.c:6825 0xb12883 gimplify_compound_expr ../../gcc-10-20200419/gcc/gimplify.c:6025 0xafdb30 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-10-20200419/gcc/gimplify.c:13598 0xb031b0 internal_get_tmp_var ../../gcc-10-20200419/gcc/gimplify.c:619 0xb057ca get_initialized_tmp_var(tree_node*, gimple**, gimple**, bool) ../../gcc-10-20200419/gcc/gimplify.c:674 0xb057ca gimplify_save_expr ../../gcc-10-20200419/gcc/gimplify.c:6073 0xafdeb6 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-10-20200419/gcc/gimplify.c:13908 0xb00bd6 gimplify_stmt(tree_node**, gimple**) ../../gcc-10-20200419/gcc/gimplify.c:6825 0xafe48b gimplify_statement_list ../../gcc-10-20200419/gcc/gimplify.c:1869 0xafe48b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-10-20200419/gcc/gimplify.c:14052 0xb15927 gimplify_stmt(tree_node**, gimple**) ../../gcc-10-20200419/gcc/gimplify.c:6825 0xb15927 gimplify_body(tree_node*, bool) ../../gcc-10-20200419/gcc/gimplify.c:14857 0xb15e53 gimplify_function_tree(tree_node*) ../../gcc-10-20200419/gcc/gimplify.c:15030 0xe49ee0 gimplify_all_functions ../../gcc-10-20200419/gcc/tree-nested.c:3521 0xe49ecf gimplify_all_functions ../../gcc-10-20200419/gcc/tree-nested.c:3524 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. ---------------------------------------------------------------------------= ----- $ gcc-9 --version gcc (GCC) 9.3.1 20200425 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ---------------------------------------------------------------------------= ----- $ gcc-9 test.c=20 test.c: In function =E2=80=98bar=E2=80=99: test.c:6:27: internal compiler error: in gimplify_label_expr, at gimplify.c:2498 6 | void bar ( float arg_0 [ ( int ) ( x +=3D 2 ) ] ) { } | ^~~~~~~~~~~~~~~~~~ 0x5b6fa9 gimplify_label_expr ../../gcc-9-20200425/gcc/gimplify.c:2498 0x5b6fa9 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-9-20200425/gcc/gimplify.c:12750 0x86a736 gimplify_stmt(tree_node**, gimple**) ../../gcc-9-20200425/gcc/gimplify.c:6721 0x86897b gimplify_statement_list ../../gcc-9-20200425/gcc/gimplify.c:1794 0x86897b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-9-20200425/gcc/gimplify.c:12940 0x86a736 gimplify_stmt(tree_node**, gimple**) ../../gcc-9-20200425/gcc/gimplify.c:6721 0x86ae1b gimplify_compound_expr ../../gcc-9-20200425/gcc/gimplify.c:5930 0x868546 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-9-20200425/gcc/gimplify.c:12501 0x86c1b0 internal_get_tmp_var ../../gcc-9-20200425/gcc/gimplify.c:599 0x868327 get_initialized_tmp_var(tree_node*, gimple**, gimple**, bool) ../../gcc-9-20200425/gcc/gimplify.c:653 0x868327 gimplify_save_expr ../../gcc-9-20200425/gcc/gimplify.c:5978 0x868327 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-9-20200425/gcc/gimplify.c:12811 0x86a736 gimplify_stmt(tree_node**, gimple**) ../../gcc-9-20200425/gcc/gimplify.c:6721 0x86897b gimplify_statement_list ../../gcc-9-20200425/gcc/gimplify.c:1794 0x86897b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-9-20200425/gcc/gimplify.c:12940 0x86a736 gimplify_stmt(tree_node**, gimple**) ../../gcc-9-20200425/gcc/gimplify.c:6721 0x86ba16 gimplify_body(tree_node*, bool) ../../gcc-9-20200425/gcc/gimplify.c:13721 0x86bcc5 gimplify_function_tree(tree_node*) ../../gcc-9-20200425/gcc/gimplify.c:13865 0xb127bf gimplify_all_functions ../../gcc-9-20200425/gcc/tree-nested.c:3500 0xb127af gimplify_all_functions ../../gcc-9-20200425/gcc/tree-nested.c:3503 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. ---------------------------------------------------------------------------= ----- $ gcc-8 --version gcc (GCC) 8.4.1 20200424 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ---------------------------------------------------------------------------= ----- $ gcc-8 test.c=20 test.c: In function =E2=80=98bar=E2=80=99: test.c:6:27: internal compiler error: in gimplify_label_expr, at gimplify.c:2455 void bar ( float arg_0 [ ( int ) ( x +=3D 2 ) ] ) { } ^~~~~~~~~~~~~~~~~~ 0x5b8fc1 gimplify_label_expr ../../gcc-8-20200424/gcc/gimplify.c:2454 0x5b8fc1 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-8-20200424/gcc/gimplify.c:11804 0x856106 gimplify_stmt(tree_node**, gimple**) ../../gcc-8-20200424/gcc/gimplify.c:6708 0x85456b gimplify_statement_list ../../gcc-8-20200424/gcc/gimplify.c:1770 0x85456b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-8-20200424/gcc/gimplify.c:11994 0x856106 gimplify_stmt(tree_node**, gimple**) ../../gcc-8-20200424/gcc/gimplify.c:6708 0x8567eb gimplify_compound_expr ../../gcc-8-20200424/gcc/gimplify.c:5917 0x853e37 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-8-20200424/gcc/gimplify.c:11555 0x857cbf internal_get_tmp_var ../../gcc-8-20200424/gcc/gimplify.c:575 0x855299 get_initialized_tmp_var(tree_node*, gimple**, gimple**, bool) ../../gcc-8-20200424/gcc/gimplify.c:629 0x855299 gimplify_save_expr ../../gcc-8-20200424/gcc/gimplify.c:5965 0x855299 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-8-20200424/gcc/gimplify.c:11865 0x856106 gimplify_stmt(tree_node**, gimple**) ../../gcc-8-20200424/gcc/gimplify.c:6708 0x85456b gimplify_statement_list ../../gcc-8-20200424/gcc/gimplify.c:1770 0x85456b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc-8-20200424/gcc/gimplify.c:11994 0x856106 gimplify_stmt(tree_node**, gimple**) ../../gcc-8-20200424/gcc/gimplify.c:6708 0x85741e gimplify_body(tree_node*, bool) ../../gcc-8-20200424/gcc/gimplify.c:12767 0x8577c5 gimplify_function_tree(tree_node*) ../../gcc-8-20200424/gcc/gimplify.c:12932 0xae969f gimplify_all_functions ../../gcc-8-20200424/gcc/tree-nested.c:3316 0xae9681 gimplify_all_functions ../../gcc-8-20200424/gcc/tree-nested.c:3318 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=