https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120119
Bug ID: 120119 Summary: [15 Regression] GCC 15.1.0 segfaults compiling VK-GL-CTS on aarch64/musl target Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 61323 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61323&action=edit test case. Attached is preprocessed file for es3fShaderMatrixTests.cpp modules/gles3/functional/es3fShaderMatrixTests.cpp during RTL pass: fma_steering /mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/modules/gles3/functional/es3fShaderMatrixTests.cpp: In function 'float deqp::gles3::Functional::MatrixCaseUtils::determinant(const tcu::Matrix<float, Size, Size>&) [with int Size = 4]': /mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/modules/gles3/functional/es3fShaderMatrixTests.cpp:995:1: internal compiler error: Segmentation fault 995 | } | ^ 0x2145a36 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t) ???:0 0x2156b00 internal_error(char const*, ...) ???:0 0x14fe456 func_fma_steering::analyze() ???:0 0x14fec91 pass_fma_steering::execute(function*) ???:0 Here is the commandline aarch64-poky-linux-musl-g++ --sysroot=/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/recipe-sysroot -DDEQP_SUPPORT_DRM=1 -DDEQP_TARGET_NAME=\"Default\" -DDE_ASSERT_FAILURE_CALLBACK -DDE_COMPILER=DE_COMPILER_GCC -DDE_CPU=DE_CPU_X86_64 -DDE_FENV_ACCESS_ON="" -DDE_MINGW=0 -DDE_OS=DE_OS_UNIX -DDE_PTR_SIZE=8 -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/delibs/debase -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/delibs/decpp -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/delibs/depool -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/delibs/dethread -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/delibs/deutil -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/delibs/destream -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/external/spirv-headers/src/include -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/external/amber -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/external/jsoncpp/src/include -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/external/renderdoc/src -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/recipe-sysroot/usr/include/libdrm -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/common -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/qphelper -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/opengl -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/opengl/wrapper -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/referencerenderer -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/opengl/simplereference -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/randomshaders -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/egl -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/egl/wrapper -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/framework/xexml -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/external/vulkancts/framework/vulkan -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/modules/gles3/../glshared -I/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/modules/gles3/. -Wall -Wextra -Wno-long-long -Wshadow -Wundef -Wconversion -Wno-sign-conversion -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/recipe-sysroot -O2 -g -ffile-prefix-map=/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git=/usr/src/debug/opengl-es-cts/3.2.12.0 -ffile-prefix-map=/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/build=/usr/src/debug/opengl-es-cts/3.2.12.0 -ffile-prefix-map=/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/recipe-sysroot= -ffile-prefix-map=/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fwrapv -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++17 -MD -MT modules/gles3/functional/CMakeFiles/deqp-gles3-functional.dir/es3fShaderMatrixTests.cpp.o -MF modules/gles3/functional/CMakeFiles/deqp-gles3-functional.dir/es3fShaderMatrixTests.cpp.o.d -o modules/gles3/functional/CMakeFiles/deqp-gles3-functional.dir/es3fShaderMatrixTests.cpp.o -c /mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/opengl-es-cts/3.2.12.0/git/modules/gles3/functional/es3fShaderMatrixTests.cpp