From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 77DF238582AF; Mon, 13 Jun 2022 18:19:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 77DF238582AF From: "mikulas at artax dot karlin.mff.cuni.cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/105955] New: ICE when using __attribute__((__sysv_abi__)) on Cygwin Date: Mon, 13 Jun 2022 18:19:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mikulas at artax dot karlin.mff.cuni.cz 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, 13 Jun 2022 18:19:56 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105955 Bug ID: 105955 Summary: ICE when using __attribute__((__sysv_abi__)) on Cygwin Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: mikulas at artax dot karlin.mff.cuni.cz Target Milestone: --- Compile this piece of code on 64-bit Cygwin distribution with gcc 11.3.0 wi= th or without optimizations. The result is: during RTL pass: pro_and_epilogue gcc-crash.e: In function 'fn3': gcc-crash.e:16:1: internal compiler error: in choose_baseaddr, at config/i386/i386.c:6915 16 | } | ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. float fabsf(float x); void * __attribute__((__sysv_abi__)) fn1(void); _Bool __attribute__((__sysv_abi__)) fn2(float val) { if (!(fabsf(val) < __builtin_huge_valf())) return 1; return 0; } _Bool fn3(void) { void *p =3D fn1(); return 1; }=