From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ACC033858C52; Sat, 4 Feb 2023 15:49:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ACC033858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675525785; bh=C8B81/8CSyWSCyizAGD5U3gqp3/sA0bXuvpxE+iRS14=; h=From:To:Subject:Date:In-Reply-To:References:From; b=W6/r0I/3VZ7bT7UYzpK/OPE6I+MPUZtRe3i0tWAfVsk4T7UM5CzZAlcngZkpBbUo+ sWTi20/AtNbPWxtcqARxJG3tUB2Sr/CcIcAF9QBqMyNJL4PzTP2lD3otebipC+UrXh uuRYZIeq3GtIzLBvUYxyQu+6gcjQFkLWdXvmj4ww= From: "franke at computer dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108673] ICE with -fstack-clash-protection and noreturn attribute on x86_64-w64-mingw32 Date: Sat, 04 Feb 2023 15:49:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: franke at computer dot 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: cc 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=3D108673 Christian Franke changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |franke at computer dot org --- Comment #1 from Christian Franke --- Could also be reproduced with x86_64-pc-cygwin-gcc 11.3.0 and x86_64-w64-mingw32-gcc 11.3.0 from current Cygwin distribution: $ gcc -O1 -fstack-clash-protection -S f.c during RTL pass: final x.c: In function =E2=80=98foo=E2=80=99: x.c:5:1: internal compiler error: in seh_emit_stackalloc, at config/i386/winnt.c:1056 5 | } | ^ ... The error does not occur if -fipa-pure-const ("Discover which functions are pure or constant") is disabled: $ gcc -O3 -fno-ipa-pure-const -fstack-clash-protection -S f.c; echo $? 0 Assembly output looks sane then.=