https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110524
Bug ID: 110524
Summary: Internal compiler error: ../csu/libc-start.c:392
Product: gcc
Version: 11.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: denis.yaroshevskij at gmail dot com
Target Milestone: ---
Created attachment 55455
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55455&action=edit
.ii file
Attaching .ii file, please let me know if I didn't do it right.
```
gcc --version
gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```
Command:
```
root@055aa68a38ca:/home/dyarosh/space/eve/build_gcc_sse42# /usr/bin/g++
-I/home/dyarosh/space/eve/test -I/home/dyarosh/space/eve/examples
-I/home/dyarosh/space/eve/include -Wno-psabi -DEVE_NO_FORCEINLINE -msse4.2
-save-temps=obj -std=c++20 -Werror -Wall -Wpedantic -Wextra -o
test/unit/CMakeFiles/unit.api.regular.swizzle.shuffle_l0.exe.dir/api/regular/swizzle/shuffle_l0.cpp.o
-c /home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_l0.cpp
```
Output
```
In file included from
/home/dyarosh/space/eve/include/eve/module/core/regular/shuffle_l0.hpp:48,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/try_each_group_position.hpp:10,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/try_each_group_position.hpp:56,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/has_equal_in.hpp:11,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/has_equal_in.hpp:50,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/core.hpp:86,
from /home/dyarosh/space/eve/include/eve/module/core.hpp:97,
from /home/dyarosh/space/eve/test/test.hpp:17,
from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_test.hpp:8,
from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_l0.cpp:8:
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:
In function 'auto eve::detail::shuffle_l0_x86_within_128(eve::pattern_t<I ...>,
eve::fixed<G>, eve::sse_abi_v0::wide<T, N>)':
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:117:49:
error: ignoring attributes on template argument '__m256'
[-Werror=ignored-attributes]
117 | else return _mm256_permute_ps(eve::bit_cast(x, eve::as<__m256>
{}), m);
| ^
In file included from
/home/dyarosh/space/eve/include/eve/module/core/regular/shuffle_l0.hpp:48,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/try_each_group_position.hpp:10,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/try_each_group_position.hpp:56,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/has_equal_in.hpp:11,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/has_equal_in.hpp:50,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/core.hpp:86,
from /home/dyarosh/space/eve/include/eve/module/core.hpp:97,
from /home/dyarosh/space/eve/test/test.hpp:17,
from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_test.hpp:8,
from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_l0.cpp:8:
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:
In function 'auto eve::detail::shuffle_l0_impl_(const eve::detail::delay_t&,
const eve::avx_&, eve::pattern_t<I ...>, eve::fixed<G>,
eve::sse_abi_v0::wide<T, N>) requires (same_as<typename eve::abi<Type,
Lanes>::type, eve::x86_256_>) && sizeof ... ((I ...)) * G == (N::value)':
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:200:43:
error: ignoring attributes on template argument '__m256d'
[-Werror=ignored-attributes]
200 | return _mm256_permute_pd(eve::bit_cast(x, eve::as<__m256d> {}),
mm);
| ^
In file included from
/home/dyarosh/space/eve/include/eve/module/core/regular/shuffle_l0.hpp:48,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/try_each_group_position.hpp:10,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/try_each_group_position.hpp:56,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/has_equal_in.hpp:11,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/has_equal_in.hpp:50,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/core.hpp:86,
from /home/dyarosh/space/eve/include/eve/module/core.hpp:97,
from /home/dyarosh/space/eve/test/test.hpp:17,
from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_test.hpp:8,
from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_l0.cpp:8:
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:
In function 'auto eve::detail::shuffle_l0_impl_(const eve::detail::delay_t&,
const eve::sse2_&, eve::pattern_t<I ...>, eve::fixed<G>,
eve::sse_abi_v0::wide<T, N>, eve::sse_abi_v0::wide<T, N>) requires
same_as<typename eve::abi<Type, Lanes>::type, eve::x86_128_>':
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:223:47:
error: ignoring attributes on template argument '__m128d'
[-Werror=ignored-attributes]
223 | auto x_f64 = bit_cast(x, eve::as<__m128d> {});
| ^
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:224:47:
error: ignoring attributes on template argument '__m128d'
[-Werror=ignored-attributes]
224 | auto y_f64 = bit_cast(y, eve::as<__m128d> {});
| ^
In file included from
/home/dyarosh/space/eve/include/eve/module/core/regular/shuffle_l0.hpp:48,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/try_each_group_position.hpp:10,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/try_each_group_position.hpp:56,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/has_equal_in.hpp:11,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/has_equal_in.hpp:50,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/core.hpp:86,
from /home/dyarosh/space/eve/include/eve/module/core.hpp:97,
from /home/dyarosh/space/eve/test/test.hpp:17,
from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_test.hpp:8,
from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_l0.cpp:8:
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:229:46:
error: ignoring attributes on template argument '__m128'
[-Werror=ignored-attributes]
229 | auto x_f32 = bit_cast(x, eve::as<__m128> {});
| ^
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:230:46:
error: ignoring attributes on template argument '__m128'
[-Werror=ignored-attributes]
230 | auto y_f32 = bit_cast(y, eve::as<__m128> {});
| ^
In file included from
/home/dyarosh/space/eve/include/eve/module/core/regular/shuffle_l0.hpp:48,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/try_each_group_position.hpp:10,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/try_each_group_position.hpp:56,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/has_equal_in.hpp:11,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/has_equal_in.hpp:50,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/core.hpp:86,
from /home/dyarosh/space/eve/include/eve/module/core.hpp:97,
from /home/dyarosh/space/eve/test/test.hpp:17,
from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_test.hpp:8,
from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_l0.cpp:8:
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:245:45:
error: ignoring attributes on template argument '__m128d'
[-Werror=ignored-attributes]
245 | auto x_f64 = bit_cast(x, eve::as<__m128d> {});
| ^
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:246:45:
error: ignoring attributes on template argument '__m128d'
[-Werror=ignored-attributes]
246 | auto y_f64 = bit_cast(y, eve::as<__m128d> {});
| ^
In file included from
/home/dyarosh/space/eve/include/eve/detail/function/canonical_shuffle_adapter.hpp:119,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/shuffle_l0.hpp:14,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/try_each_group_position.hpp:10,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/try_each_group_position.hpp:56,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/has_equal_in.hpp:11,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/has_equal_in.hpp:50,
from
/home/dyarosh/space/eve/include/eve/module/core/regular/core.hpp:86,
from /home/dyarosh/space/eve/include/eve/module/core.hpp:97,
from /home/dyarosh/space/eve/test/test.hpp:17,
from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_test.hpp:8,
from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_l0.cpp:8:
/home/dyarosh/space/eve/include/eve/detail/function/simd/common/canonical_shuffle_adapter.hpp:
In instantiation of 'decltype (invocable(p, g,
(get<i>)(eve::detail::sfinae_friendly_apply_impl::t)...))
eve::detail::sfinae_friendly_apply_impl(auto:270, auto:271, auto:272,
kumi::tuple<Ts ...>, std::index_sequence<Is ...>) [with Ts =
{eve::sse_abi_v0::wide<unsigned int, eve::fixed<4> >,
eve::sse_abi_v0::wide<unsigned int, eve::fixed<4> >}; long unsigned int ...i =
{0, 1}; auto:270 = eve::detail::callable_object<eve::tag::shuffle_l0_impl_>;
auto:271 = eve::pattern_t<0, 5, 2, 3>; auto:272 = eve::fixed<1>]':
/home/dyarosh/space/eve/include/eve/detail/function/simd/common/canonical_shuffle_adapter.hpp:213:1:
internal compiler error: Segmentation fault
213 | sfinae_friendly_apply_impl(auto invocable,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
0x7f4c9dc9c51f ???
./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x7f4c9dc83d8f __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x7f4c9dc83e3f __libc_start_main_impl
../csu/libc-start.c:392
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.
```