https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111677

--- Comment #18 from Gianfranco <costamagnagianfranco at yahoo dot it> ---
Created attachment 57159
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57159&action=edit
unreduced testcase

// works: /usr/lib/gcc-snapshot/bin/gcc -O3  -fstack-protector-strong  -fopenmp
-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=/usr/lib/gcc-snapshot/bin/gcc
//COLLECT_LTO_WRAPPER=/usr/lib/gcc-snapshot/libexec/gcc/aarch64-linux-gnu/14/lto-wrapper
//OFFLOAD_TARGET_NAMES=nvptx-none
//OFFLOAD_TARGET_DEFAULT=1
//Target: aarch64-linux-gnu
//Configured with: ../src/configure -v --with-pkgversion='Debian 20240117-1'
--with-bugurl=file:///usr/share/doc/gcc-snapshot/README.Bugs
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2
--prefix=/usr/lib/gcc-snapshot --with-gcc-major-version-only --program-prefix=
--enable-shared --enable-linker-build-id --disable-nls --enable-bootstrap
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-libquadmath --disable-libquadmath-support --enable-plugin
--with-system-zlib --enable-libphobos-checking=release
--with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch
--enable-fix-cortex-a53-843419 --disable-werror
--enable-offload-targets=nvptx-none=/build/reproducible-path/gcc-snapshot-20240117/debian/tmp-nvptx/usr/lib/gcc-snapshot
--enable-offload-defaulted --without-cuda-driver
--enable-checking=yes,extra,rtl --build=aarch64-linux-gnu
--host=aarch64-linux-gnu --target=aarch64-linux-gnu
--with-build-config=bootstrap-lto-lean --enable-link-serialization=4
//Thread model: posix
//Supported LTO compression algorithms: zlib zstd
//gcc version 14.0.1 20240117 (experimental) [master r14-8187-gb00be6f1576]
(Debian 20240117-1) 

// fails: gcc -O3  -fstack-protector-strong  -fopenmp -ffast-math 
-fexpensive-optimizations foo.c -Wno-int-conversion -Wno-implicit-int -c
// gcc -v
// Using built-in specs.
//COLLECT_GCC=gcc
//COLLECT_LTO_WRAPPER=/usr/libexec/gcc/aarch64-linux-gnu/13/lto-wrapper
//OFFLOAD_TARGET_NAMES=nvptx-none
//OFFLOAD_TARGET_DEFAULT=1
//Target: aarch64-linux-gnu
//Configured with: ../src/configure -v --with-pkgversion='Debian 13.2.0-9'
--with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr
--with-gcc-major-version-only --program-suffix=-13
--program-prefix=aarch64-linux-gnu- --enable-shared --enable-linker-build-id
--libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-libquadmath --disable-libquadmath-support --enable-plugin
--enable-default-pie --with-system-zlib --enable-libphobos-checking=release
--with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch
--enable-fix-cortex-a53-843419 --disable-werror
--enable-offload-targets=nvptx-none=/build/reproducible-path/gcc-13-13.2.0/debian/tmp-nvptx/usr
--enable-offload-defaulted --without-cuda-driver --enable-checking=release
--build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu
--with-build-config=bootstrap-lto-lean --enable-link-serialization=4
//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 types
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 types
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 const*)
//        ???: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 <file:///usr/share/doc/gcc-13/README.Bugs> for instructions.

Reply via email to