From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0D7543858C3A; Fri, 19 Jan 2024 14:01:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D7543858C3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705672878; bh=VSb3fPqR5Ix7ygq6v74+a01Lp1lkUcuIYrvldjmIKTY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QrrS1KeWpq7hHIxy+gFCZ0vqko6dvzBDP6/d3nRgjm8CdzU6LWsoVnIwxYdbSXh2b 4zbMTUG4nwSZyQoSk5J82oBgzsaVMBUzCLHnXO5OF8H5rGuxHn31pV88KOiEOoJzZa 8Pa9Sy0IPh5KbLcqZttsMICaOo4Urwwu5poxu7tQ= From: "costamagnagianfranco at yahoo dot it" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111677] [12/13/14 Regression] darktable build on aarch64 fails with unrecognizable insn due to -fstack-protector changes Date: Fri, 19 Jan 2024 14:01:12 +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.2.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: costamagnagianfranco at yahoo dot it X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D111677 --- Comment #18 from Gianfranco --- Created attachment 57159 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57159&action=3Dedit unreduced testcase // works: /usr/lib/gcc-snapshot/bin/gcc -O3 -fstack-protector-strong -fop= enmp -ffast-math -fexpensive-optimizations foo.c -Wno-int-conversion -Wno-implicit-int -c // /usr/lib/gcc-snapshot/bin/gcc -v //Using built-in specs. //COLLECT_GCC=3D/usr/lib/gcc-snapshot/bin/gcc //COLLECT_LTO_WRAPPER=3D/usr/lib/gcc-snapshot/libexec/gcc/aarch64-linux-gnu= /14/lto-wrapper //OFFLOAD_TARGET_NAMES=3Dnvptx-none //OFFLOAD_TARGET_DEFAULT=3D1 //Target: aarch64-linux-gnu //Configured with: ../src/configure -v --with-pkgversion=3D'Debian 20240117= -1' --with-bugurl=3Dfile:///usr/share/doc/gcc-snapshot/README.Bugs --enable-languages=3Dc,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=3D/usr/lib/gcc-snapshot --with-gcc-major-version-only --program-pr= efix=3D --enable-shared --enable-linker-build-id --disable-nls --enable-bootstrap --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dy= es --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --enable-libphobos-checking=3Drelease --with-target-system-zlib=3Dauto --enable-objc-gc=3Dauto --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-offload-targets=3Dnvptx-none=3D/build/reproducible-path/gcc-snapsh= ot-20240117/debian/tmp-nvptx/usr/lib/gcc-snapshot --enable-offload-defaulted --without-cuda-driver --enable-checking=3Dyes,extra,rtl --build=3Daarch64-linux-gnu --host=3Daarch64-linux-gnu --target=3Daarch64-linux-gnu --with-build-config=3Dbootstrap-lto-lean --enable-link-serialization=3D4 //Thread model: posix //Supported LTO compression algorithms: zlib zstd //gcc version 14.0.1 20240117 (experimental) [master r14-8187-gb00be6f1576] (Debian 20240117-1)=20 // fails: gcc -O3 -fstack-protector-strong -fopenmp -ffast-math=20 -fexpensive-optimizations foo.c -Wno-int-conversion -Wno-implicit-int -c // gcc -v // Using built-in specs. //COLLECT_GCC=3Dgcc //COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/aarch64-linux-gnu/13/lto-wrapper //OFFLOAD_TARGET_NAMES=3Dnvptx-none //OFFLOAD_TARGET_DEFAULT=3D1 //Target: aarch64-linux-gnu //Configured with: ../src/configure -v --with-pkgversion=3D'Debian 13.2.0-9' --with-bugurl=3Dfile:///usr/share/doc/gcc-13/README.Bugs --enable-languages=3Dc,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=3D/usr --with-gcc-major-version-only --program-suffix=3D-13 --program-prefix=3Daarch64-linux-gnu- --enable-shared --enable-linker-build= -id --libexecdir=3D/usr/libexec --without-included-gettext --enable-threads=3Dp= osix --libdir=3D/usr/lib --enable-nls --enable-bootstrap --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=3Drelea= se --with-target-system-zlib=3Dauto --enable-objc-gc=3Dauto --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-offload-targets=3Dnvptx-none=3D/build/reproducible-path/gcc-13-13.= 2.0/debian/tmp-nvptx/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=3Drelease --build=3Daarch64-linux-gnu --host=3Daarch64-linux-gnu --target=3Daarch64-l= inux-gnu --with-build-config=3Dbootstrap-lto-lean --enable-link-serialization=3D4 //Thread model: posix //Supported LTO compression algorithms: zlib zstd //gcc version 13.2.0 (Debian 13.2.0-9) //bilateral.c:468:6: warning: GCC does not currently support mixed size typ= es for 'simd' functions // 468 | void dt_bilateral_slice_to_output(const dt_bilateral_t *const b, // | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ //bilateral.c:420:6: warning: GCC does not currently support mixed size typ= es for 'simd' functions // 420 | void dt_bilateral_slice(const dt_bilateral_t *const b, // | ^~~~~~~~~~~~~~~~~~ //bilateral.c: In function 'dt_bilateral_splat.simdclone.1': //bilateral.c:297:1: error: unrecognizable insn: // 297 | } // | ^ //(insn 463 462 464 3 (set (mem/c:TF (plus:DI (reg/f:DI 31 sp) // (const_int 512 [0x200])) [63 S16 A8]) // (reg:TF 54 v22)) -1 // (expr_list:REG_DEAD (reg:TF 54 v22) // // (nil))) //during RTL pass: sched_fusion //bilateral.c:297:1: internal compiler error: in get_attr_type, at config/aarch64/aarch64.md:24655 //0xb1cb33 internal_error(char const*, ...) // ???:0 //0xb10093 fancy_abort(char const*, int, char const*) // ???:0 //0x77401b _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) // ???:0 //0x77404f _fatal_insn_not_found(rtx_def const*, char const*, int, char con= st*) // ???:0 //0x1145723 get_attr_type(rtx_insn*) // ???:0 //0x10f1cdf schedule_block(basic_block_def**, void*) // ???:0 //0x10c7543 schedule_insns() // ???:0 //Please submit a full bug report, with preprocessed source (by using -freport-bug). //Please include the complete backtrace with any bug report. //See for instructions.=