[Bug c/95051] New: error: invalid RHS for gimple memory store:
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Mon May 11 10:12:35 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95051
Bug ID: 95051
Summary: error: invalid RHS for gimple memory store:
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 48505
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48505&action=edit
gzipped C source code
>From a compile of recent linux linux-5.7-rc5 with recent gcc trunk,
I get
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_dbgdev.c: In function
‘dbgdev_diq_submit_ib.constprop’:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_dbgdev.c:47:12: error: invalid RHS for
gimple memory store: ‘parm_decl’
vmid0_address
vmid0_address
# .MEM_120 = VDEF <.MEM_37(D)>
vmid0_address = vmid0_address;
during GIMPLE pass: sanopt
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_dbgdev.c:47:12: internal compiler
error: verify_gimple failed
0xf62dd1 verify_gimple_in_cfg(function*, bool)
../../trunk.git/gcc/tree-cfg.c:5461
0xdfe00f execute_function_todo
../../trunk.git/gcc/passes.c:1985
0xdff371 do_per_function
../../trunk.git/gcc/passes.c:1640
0xdff371 execute_todo
../../trunk.git/gcc/passes.c:2039
This problem seems to have first occurred sometime between 20200507 and
20200508.
Source code attached. I'll have my usual go at reducing the code.
More information about the Gcc-bugs
mailing list