From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4CFB7385E01D; Sat, 24 Apr 2021 20:44:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4CFB7385E01D From: "muecker at gwdg dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/100250] New: ICE related to -Wmaybe-uninitialized Date: Sat, 24 Apr 2021 20:44:54 +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: muecker at gwdg dot de 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 attachments.created 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: Sat, 24 Apr 2021 20:44:54 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100250 Bug ID: 100250 Summary: ICE related to -Wmaybe-uninitialized Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: muecker at gwdg dot de Target Milestone: --- Created attachment 50670 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D50670&action=3Dedit minimized test case (possibly also affects 11.0) xgcc (GCC) 12.0.0 20210424 (experimental) bcd77b7b9f35bd5b559ed593c3b3e346c1e6f364 $ ../gcc_build_clean/gcc/xgcc -B../gcc_build_clean/gcc/ -Wmaybe-uninitializ= ed ice.c ice.c: In function =E2=80=98md_reshape2=E2=80=99: ice.c:34:9: warning: =E2=80=98=E2=80=99 may be used uninitialized [-Wmaybe-uninitialized] 34 | md_permute2(D, order, dims2, strs2, idims); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ during GIMPLE pass: *early_warn_uninitialized ice.c:35:1: internal compiler error: Speicherzugriffsfehler 35 | } | ^ 0xe00f3f crash_signal ../../gcc/gcc/toplev.c:327 0x7f26a437583f ??? =20=20=20=20=20=20=20 /build/glibc-vjB4T1/glibc-2.28/signal/../sysdeps/unix/sysv/linux/x86_64/sig= action.c:0 0x80db7c tree_check(tree_node*, char const*, int, char const*, tree_code) ../../gcc/gcc/tree.h:3352 0x80db7c attr_access::array_as_string[abi:cxx11](tree_node*) const ../../gcc/gcc/attribs.c:2391 0x101789d maybe_warn_pass_by_reference ../../gcc/gcc/tree-ssa-uninit.c:566 0x101789d warn_uninitialized_vars ../../gcc/gcc/tree-ssa-uninit.c:648 0x1017c70 execute_early_warn_uninitialized ../../gcc/gcc/tree-ssa-uninit.c:3089 0x1017c70 execute ../../gcc/gcc/tree-ssa-uninit.c:3124 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=