From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 683C53858C20; Thu, 14 Sep 2023 16:33:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 683C53858C20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694709182; bh=NHXh92zm0CXoEey29FMof5G3QQfNsbhyCSGejdlTRLw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KcNtlRHokWWiC47AvEsmSQfzUo5OfN0mWWXL468fiFMKB1y6O2zUaZNTBGun/z4OL 2j+YA37OZbNvpjzcPWGV+lDc8PuLf/o3KKYBGqaHL2XZ85jqnX268le+Ngvfzg0EWt XVtGSeqTM1T+ztYRPk3fwBcdGQM/CdQ+4fSybqNU= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111411] [14 regression] ICE when building opus-1.4, unrecognizable insn with -fstack-protector-strong Date: Thu, 14 Sep 2023 16:33:01 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.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: 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=3D111411 --- Comment #5 from Sam James --- (In reply to Richard Sandiford from comment #4) > I'm struggling to reproduce this. Do you know what your -mcpu=3Dnative ex= pands > to? # arch=3Dnative; for t in param target; do cmd=3D"gcc -Q -O2 -mcpu=3D$arch --help=3D$t"; diff -U0 <(LANG=3DC $cmd -mcpu=3Dgeneric) <(LANG=3DC $cmd -mc= pu=3Dnative); done --- /dev/fd/63 2023-09-14 16:31:42.423739708 -0000 +++ /dev/fd/62 2023-09-14 16:31:42.423739708 -0000 @@ -8 +8 @@ - -mcpu=3D generic + -mcpu=3D ares+crc+crypto+ssbs Also needs -fstack-protector-strong. But you're also welcome to have access= to the environment if needed. ``` $ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/aarch64-unknown-linux-gnu/14/lto-wra= pper Target: aarch64-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/configure --host=3Daarch64-unknown-linux-gnu --build=3Daarch64-unknown-linux-gnu --prefix=3D/usr --bindir=3D/usr/aarch64-unknown-linux-gnu/gcc-bin/14 --includedir=3D/usr/lib/gcc/aarch64-unknown-linux-gnu/14/include --datadir=3D/usr/share/gcc-data/aarch64-unknown-linux-gnu/14 --mandir=3D/usr/share/gcc-data/aarch64-unknown-linux-gnu/14/man --infodir=3D/usr/share/gcc-data/aarch64-unknown-linux-gnu/14/info --with-gxx-include-dir=3D/usr/lib/gcc/aarch64-unknown-linux-gnu/14/include/= g++-v14 --disable-silent-rules --disable-dependency-tracking --with-python-dir=3D/share/gcc-data/aarch64-unknown-linux-gnu/14/python --enable-languages=3Dc,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=3Dyes,extra,rtl --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo 14.0.0= p, commit d0b55776a4e1d2f293db5ba0e4a04aefed055ec4' --with-gcc-major-version-o= nly --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=3Dposix --enable-__cxa_atexit --enable-clocale=3Dgnu --disable-multilib --disable-fixed-point --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --without-isl --enable-default-pie --enable-host-pie --disable-host-bind-now --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20230913 (experimental) 3af2af15798cb6243e2643f98f62c9270b1ca5d2 (Gentoo 14.0.0 p, commit d0b55776a4e1d2f293db5ba0e4a04aefed055ec4) ```=