https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117229
Bug ID: 117229 Summary: "libcpp, c, middle-end: Optimize initializers using #embed in C" vs. GCN '-march=gfx908' Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org CC: ams at gcc dot gnu.org, burnus at gcc dot gnu.org, jakub at gcc dot gnu.org Target Milestone: --- Target: GCN For '--target=amdgcn-amdhsa', the recent commit r15-4375-g1844a4aa6615c2252303e70d41bdb18e7c5664c6 "libcpp, c, middle-end: Optimize initializers using #embed in C" is causing: PASS: gcc.dg/cpp/embed-1.c (test for excess errors) [-PASS:-]{+FAIL:+} gcc.dg/cpp/embed-1.c execution test PASS: c-c++-common/cpp/embed-1.c -Wc++-compat (test for excess errors) [-PASS:-]{+FAIL:+} c-c++-common/cpp/embed-1.c -Wc++-compat execution test PASS: c-c++-common/cpp/embed-19.c -Wc++-compat (test for excess errors) [-PASS:-]{+FAIL:+} c-c++-common/cpp/embed-19.c -Wc++-compat execution test PASS: c-c++-common/cpp/embed-2.c -Wc++-compat (test for excess errors) [-PASS:-]{+FAIL:+} c-c++-common/cpp/embed-2.c -Wc++-compat execution test ..., but only for '-march=gfx908', but not for '-march=gfx1100'. Both are using LLVM 15.0.7 tools, in case that should be relevant. All other C23 '#embed' test cases PASS. These execution test FAILs are 'GCN Kernel Aborted'; I've not investigated further.