From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DDE25385DC1A; Thu, 17 Aug 2023 20:44:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DDE25385DC1A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692305079; bh=+sF6ScaKZAW1JO7YSVMjqrHlAxU43edDjslBAmSyjFM=; h=From:To:Subject:Date:From; b=BUDjIRMHaKoPlgmY34WRqN9Sm4YPlJlzvTOVjWt1HMJUOK89Ig4c/eo5eC21xbLno MEGHDkCQ/4KrQTjkUulpFQtDYZiWrOV41V/yZ5wu3Zw18FxvpSJJ8HBiQ7TE0GIBeg JRxahtuyqHWilWH6s5LNRL/ahLEkgP06AYmjo9FU= From: "slyfox at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyB0YXJnZXQvMTExMDUxXSBOZXc6IFsxNCBSZWdyZXNzaW9u?= =?UTF-8?B?XSBoaWdod2F5LTEuMC42IGZhaWxzIHRvIGJ1aWxkIGFzIGdjYy0xNC4wLjAv?= =?UTF-8?B?bGliL2djYy94ODZfNjQtdW5rbm93bi1saW51eC1nbnUvMTQuMC4wL2luY2x1?= =?UTF-8?B?ZGUvYXZ4aW50cmluLmg6MTIzODoxOiBlcnJvcjogaW5saW5pbmcgZmFpbGVk?= =?UTF-8?B?IGluIGNhbGwgdG8gJ2Fsd2F5c19pbmxpbmUnICdfX20yNTZkIF9tbTI1Nl9z?= =?UTF-8?B?ZXR6ZXJvX3BkKCknOiB0YXJnZXQgc3BlY2lmaWMgb3B0aW9uIG1pc21hdGNo?= Date: Thu, 17 Aug 2023 20:44:39 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox 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: --- 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111051 Bug ID: 111051 Summary: [14 Regression] highway-1.0.6 fails to build as gcc-14.0.0/lib/gcc/x86_64-unknown-linux-gnu/14.0.0/inc lude/avxintrin.h:1238:1: error: inlining failed in call to 'always_inline' '__m256d _mm256_setzero_pd()': target specific option mismatch Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Observed build failure on today's gcc from r14-3296-gdc48d1d1d44587 against highway-1.0.6 ( https://github.com/google/highway ). I have not managed to extract nice example ot of it yet, but maybe it's obv= ious to you? The (somewhat big) reproducer is: $ git clone https://github.com/google/highway $ cd highway $ mkdir b $ cd b $ cmake .. -DCMAKE_BUILD_TYPE=3DRelease $ make ... LANG=3DC /nix/store/vmrxs83fhqs6d3gsyg97hh0lbfzhk9jl-gcc-wrapper-14.0.0/bin= /g++ -DHWY_STATIC_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -I/home/slyfox/dev/git/hig= hway -isystem /home/slyfox/dev/git/highway/b/googletest-src/googletest/include -isystem /home/slyfox/dev/git/highway/b/googletest-src/googletest -O3 -DNDE= BUG -fPIE -fvisibility=3Dhidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=3D\"redacted\" -D__TIMESTAMP__=3D\"redacted\" -D__TIME__=3D\"redacted\" -fmerge-all-consta= nts -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -fmath-errno -fno-exceptions -DHWY_IS_TEST=3D1 -MD -MT CMakeFiles/math_test.dir/hwy/contrib/math/math_test.cc.o -MF CMakeFiles/math_test.dir/hwy/contrib/math/math_test.cc.o.d -o CMakeFiles/math_test.dir/hwy/contrib/math/math_test.cc.o -c /home/slyfox/dev/git/highway/hwy/contrib/math/math_test.cc In file included from /nix/store/9j5pznccwi0vzmj91w8yr2kiwdm37c5p-gcc-14.0.0/lib/gcc/x86_64-unkno= wn-linux-gnu/14.0.0/include/immintrin.h:71, from /home/slyfox/dev/git/highway/hwy/ops/x86_256-inl.h:36, from /home/slyfox/dev/git/highway/hwy/highway.h:407, from /home/slyfox/dev/git/highway/hwy/contrib/math/math_test.cc:25, from /home/slyfox/dev/git/highway/hwy/foreach_target.h:94, from /home/slyfox/dev/git/highway/hwy/contrib/math/math_test.cc:24: /nix/store/9j5pznccwi0vzmj91w8yr2kiwdm37c5p-gcc-14.0.0/lib/gcc/x86_64-unkno= wn-linux-gnu/14.0.0/include/avx512vldqintrin.h: In function '__m256 _mm256_mask_xor_ps(__m256, __mmask8, __m256, __m256)': /nix/store/9j5pznccwi0vzmj91w8yr2kiwdm37c5p-gcc-14.0.0/lib/gcc/x86_64-unkno= wn-linux-gnu/14.0.0/include/avx512vldqintrin.h:1154:1: note: the ABI for passing parameters with 32-byte alignment has changed in = GCC 4.6 1154 | _mm256_mask_xor_ps (__m256 __W, __mmask8 __U, __m256 __A, __m256 __= B) | ^~~~~~~~~~~~~~~~~~ /home/slyfox/dev/git/highway/hwy/contrib/math/math_test.cc:439:1: warning: = AVX vector return without AVX enabled changes the ABI [-Wpsabi] 439 | } // namespace hwy | ^ In file included from /nix/store/9j5pznccwi0vzmj91w8yr2kiwdm37c5p-gcc-14.0.0/lib/gcc/x86_64-unkno= wn-linux-gnu/14.0.0/include/immintrin.h:43: /nix/store/9j5pznccwi0vzmj91w8yr2kiwdm37c5p-gcc-14.0.0/lib/gcc/x86_64-unkno= wn-linux-gnu/14.0.0/include/avxintrin.h: In function '__m256d _mm256_cvtepi64_pd(__m256i)': /nix/store/9j5pznccwi0vzmj91w8yr2kiwdm37c5p-gcc-14.0.0/lib/gcc/x86_64-unkno= wn-linux-gnu/14.0.0/include/avxintrin.h:1238:1: error: inlining failed in call to 'always_inline' '__m256d _mm256_setzero_pd()': target specific option mismatch 1238 | _mm256_setzero_pd (void) | ^~~~~~~~~~~~~~~~~ /nix/store/9j5pznccwi0vzmj91w8yr2kiwdm37c5p-gcc-14.0.0/lib/gcc/x86_64-unkno= wn-linux-gnu/14.0.0/include/avx512vldqintrin.h:912:10: note: called from here 912 | return (__m256d) __builtin_ia32_cvtqq2pd256_mask ((__v4di) __A, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 913 | (__v4df) | ~~~~~~~~ 914 | _mm256_setzero_= pd (), |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 ~~~~~~~~~~~~~~~~~~~~~ 915 | (__mmask8) -1); | ~~~~~~~~~~~~~~ I have a suspiction it's related to AVX10 changes, like r14-3268-g0b20e0f17b47a8 which remove `#pragma GCC target("avx512vl,avx512dq")`. Probably not that one specifically though. $ gcc -v Using built-in specs. COLLECT_GCC=3D/<>/gcc-14.0.0/bin/gcc COLLECT_LTO_WRAPPER=3D/<>/gcc-14.0.0/libexec/gcc/x86_64-unknown-linux-= gnu/14.0.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../source/configure --prefix=3D/<>/gcc-14.0.0 --with-gmp-include=3D/<>/gmp-6.3.0-dev/include --with-gmp-lib=3D/<>/gmp-6.3.0/lib --with-mpfr-include=3D/<>/mpfr-4.2.0-12-dev/include --with-mpfr-lib=3D/<>/mpfr-4.2.0-12/lib --with-mpc=3D/<>/libmpc-1= .3.1 --with-native-system-header-dir=3D/<>/glibc-2.38-dev/include --with-build-sysroot=3D/ --program-prefix=3D --enable-lto --disable-libstdc= xx-pch --without-included-gettext --with-system-zlib --enable-checking=3Drelease --enable-static --enable-languages=3Dc,c++ --disable-multilib --enable-plug= in --disable-libcc1 --with-isl=3D/<>/isl-0.20 --disable-bootstrap --build=3Dx86_64-unknown-linux-gnu --host=3Dx86_64-unknown-linux-gnu --target=3Dx86_64-unknown-linux-gnu Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 99999999 (experimental) (GCC)=