From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8F7853858403; Mon, 1 Nov 2021 21:53:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8F7853858403 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/103033] New: [12 regression] c-c++-common/auto-init-4.c ICEs starting with r12-4829 Date: Mon, 01 Nov 2021 21:53:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org 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: Mon, 01 Nov 2021 21:53:08 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103033 Bug ID: 103033 Summary: [12 regression] c-c++-common/auto-init-4.c ICEs starting with r12-4829 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:429e3b7d8bf6609ddf7c7b1e49244997e9ac76b8, r12-4829 make -k check-gcc RUNTESTFLAGS=3D"dg.exp=3Dc-c++-common/auto-init-4.c" FAIL: c-c++-common/auto-init-4.c -Wc++-compat (internal compiler error) FAIL: c-c++-common/auto-init-4.c -Wc++-compat (test for excess errors) FAIL: c-c++-common/auto-init-4.c -std=3Dgnu++98 (internal compiler error) FAIL: c-c++-common/auto-init-4.c -std=3Dgnu++98 (test for excess errors) FAIL: c-c++-common/auto-init-4.c -std=3Dgnu++14 (internal compiler error) FAIL: c-c++-common/auto-init-4.c -std=3Dgnu++14 (test for excess errors) FAIL: c-c++-common/auto-init-4.c -std=3Dgnu++17 (internal compiler error) FAIL: c-c++-common/auto-init-4.c -std=3Dgnu++17 (test for excess errors) FAIL: c-c++-common/auto-init-4.c -std=3Dgnu++2a (internal compiler error) FAIL: c-c++-common/auto-init-4.c -std=3Dgnu++2a (test for excess errors) spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/gcc/ /home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/auto-init-4.c -fdiagnostics-plain-output -Wc++-compat -ftrivial-auto-var-init=3Dpattern -fdump-tree-gimple -S -o auto-init-4.s during RTL pass: expand /home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/auto-init-4.c: In function 'foo': /home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/auto-init-4.c:11:1= 5: internal compiler error: Segmentation fault 0x10bd8533 crash_signal /home/seurer/gcc/git/gcc-test/gcc/toplev.c:322 0x10687390 location_wrapper_p(tree_node const*) /home/seurer/gcc/git/gcc-test/gcc/tree.h:4136 0x10687390 tree_strip_any_location_wrapper(tree_node*) /home/seurer/gcc/git/gcc-test/gcc/tree.h:4148 0x10687390 operand_compare::operand_equal_p(tree_node const*, tree_node con= st*, unsigned int) /home/seurer/gcc/git/gcc-test/gcc/fold-const.c:2969 0x10682e33 operand_compare::verify_hash_value(tree_node const*, tree_node const*, unsigned int, bool*) /home/seurer/gcc/git/gcc-test/gcc/fold-const.c:3956 0x106875ff operand_compare::verify_hash_value(tree_node const*, tree_node const*, unsigned int, bool*) /home/seurer/gcc/git/gcc-test/gcc/tree.h:4149 0x106875ff operand_compare::operand_equal_p(tree_node const*, tree_node con= st*, unsigned int) /home/seurer/gcc/git/gcc-test/gcc/fold-const.c:2965 0x106638cf expand_assignment(tree_node*, tree_node*, bool) /home/seurer/gcc/git/gcc-test/gcc/expr.c:5366 0x10809b4f expand_DEFERRED_INIT /home/seurer/gcc/git/gcc-test/gcc/internal-fn.c:3101 0x10810c4b expand_internal_call(internal_fn, gcall*) /home/seurer/gcc/git/gcc-test/gcc/internal-fn.c:4220 0x10810c4b expand_internal_call(gcall*) /home/seurer/gcc/git/gcc-test/gcc/internal-fn.c:4228 0x1048c2a7 expand_call_stmt /home/seurer/gcc/git/gcc-test/gcc/cfgexpand.c:2749 0x1048c2a7 expand_gimple_stmt_1 /home/seurer/gcc/git/gcc-test/gcc/cfgexpand.c:3876 0x1048c2a7 expand_gimple_stmt /home/seurer/gcc/git/gcc-test/gcc/cfgexpand.c:4040 0x10494dab expand_gimple_basic_block /home/seurer/gcc/git/gcc-test/gcc/cfgexpand.c:6085 0x10497d47 execute /home/seurer/gcc/git/gcc-test/gcc/cfgexpand.c:6811 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. compiler exited with status 1 commit 429e3b7d8bf6609ddf7c7b1e49244997e9ac76b8 (HEAD, refs/bisect/bad) Author: Oracle Public Cloud User Date: Mon Nov 1 15:14:26 2021 +0000 PR 102281 (-ftrivial-auto-var-init=3Dzero causes ice)=