https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112308
Bug ID: 112308
Summary: [14 Regression] GCN: 'error: literal operands are not
supported' for 'v_add_co_u32'
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Keywords: rejects-valid, 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, jules at gcc dot gnu.org
Target Milestone: ---
Target: GCN
(Assuming my tacking is to be believed) something in Git commit
r14-4720-gaf4bb221153359f5948da917d5ef2df738bb1e61..r14-4986-g4d3d2cdb574488223d023b590c3a34ddd93f4dae
regresses (or, likely, exposes?) the following:
PASS: gcc.c-torture/compile/pr48596.c -O0 (test for excess errors)
PASS: gcc.c-torture/compile/pr48596.c -O1 (test for excess errors)
PASS: gcc.c-torture/compile/pr48596.c -O2 (test for excess errors)
[-PASS:-]{+FAIL:+} gcc.c-torture/compile/pr48596.c -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions
(test for excess errors)
[-PASS:-]{+FAIL:+} gcc.c-torture/compile/pr48596.c -O3 -g (test for
excess errors)
PASS: gcc.c-torture/compile/pr48596.c -Os (test for excess errors)
/tmp/ccZPdmCF.s:123:33: error: literal operands are not supported
v_add_co_u32 v4, s[22:23], v7, 80
^
That's the only instance of 'error: literal operands are not supported' I can
find in all test logs.
That's for '-march=gfx90a', and that's LLVM 13.0.1, in case that's relevant.
(I'm happy to just have this FAIL if the issue is due to old/buggy LLVM.)