Bug 111117 - Crash in AVX-512 vector code
Summary: Crash in AVX-512 vector code
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 8.5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: needs-bisection
Depends on:
Blocks:
 
Reported: 2023-08-23 11:54 UTC by Jan Wassenberg
Modified: 2023-08-23 17:35 UTC (History)
1 user (show)

See Also:
Host:
Target: x86_64-*-*
Build:
Known to work: 9.1.0
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Wassenberg 2023-08-23 11:54:34 UTC
Repro: https://gcc.godbolt.org/z/7GbsaxbYT

Result:
during RTL pass: final
<source>: In member function 'void hwy::N_AVX3::TestDemoteUI64ToFloat::operator()(T, D) [with T = long unsigned int; D = hwy::N_AVX3::Simd<long unsigned int, 2, 0>]':
<source>:28:3: internal compiler error: Segmentation fault
Comment 1 Jonathan Wakely 2023-08-23 13:27:06 UTC
Please provide the code as requested by https://gcc.gnu.org/bugs (not just a URL)
Comment 2 Richard Biener 2023-08-23 13:30:21 UTC
Works in 9.1.0 and up, GCC 8 is no longer supported.
Comment 3 Andrew Pinski 2023-08-23 17:35:37 UTC
Would be useful to figure out what changed though. 
I noticed the crash was not there if -g was not used (or adding -g0).