From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 312DC3858C50; Thu, 9 Feb 2023 16:22:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 312DC3858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675959741; bh=kilwRoriF1dtw4BmCXoIK9w6Mdo65Rj93aCw8QXjMxA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LDdZUB7EMlIeRaJ3ZNUjI4u6wr67SRrYg23+3O4RyyuXyRkC87/suQSqxlsbEbEBo oGdXyCq0vvvmc+56G2i/j5Aw7dytdZ5nafVesX65CZ8a/zHw6CAwXqg4w8P/QpS00x 5vPpzkvwm2tyzFjT2fFflAmdAGKJZYTWIZjULKFk= From: "gcc at eckner dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/100758] __builtin_cpu_supports does not (always) detect "sse2" Date: Thu, 09 Feb 2023 16:22:20 +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: 11.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc at eckner dot net X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D100758 --- Comment #17 from Erich Eckner --- With that, I get a segfault in cpuid(): (gdb) run Starting program: /tmp/a.out=20 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x0000555555555191 in cpuid () (gdb) bt #0 0x0000555555555191 in cpuid () #1 0x00005555555551ef in main () (gdb)=20 ... same on x86_64 - maybe, there's a typo, somewhere?=