From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 053B53858CDB; Fri, 8 Dec 2023 08:14:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 053B53858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702023247; bh=VYXlczw5WRKHoQ1DqCcPWnUwyX43/+rlLXqZ6kpwRRE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jWPCb2jRMVU5PkuURNzUGEmu6qIDFL1nhU/XrIrN150/ItKvwIOcqRHxMbzCQcEsy OS4xYHDl6Tx8/BD/NXT/5QzXFy78+fBim1FKysFFjeTahLAsegc7JpvIjo4/luNY2m qSxBvEiYgv+iUaCGClx4f5YhHKD0QVgEaxFUgbKQ= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/112909] [14 Regression] glibc -Wuninitialized build failure for i686-gnu Date: Fri, 08 Dec 2023 08:14:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112909 --- Comment #2 from Richard Biener --- Reduced testcase: struct machine_thread_all_state { int set; } _hurd_setup_sighandler_state; int _hurd_setup_sighandler_ss_0; struct { int ctx; } *_hurd_setup_sighandler_stackframe; void _setjmp(); void __thread_get_state(); int machine_get_basic_state(struct machine_thread_all_state *state) { if (state->set) __thread_get_state(); return 1; } int *_hurd_setup_sighandler() { int *scp; if (_hurd_setup_sighandler_ss_0) { _setjmp(); _hurd_setup_sighandler_state.set |=3D 5; } machine_get_basic_state(&_hurd_setup_sighandler_state); scp =3D &_hurd_setup_sighandler_stackframe->ctx; _setjmp(); return scp; }=