public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/95051] New: error: invalid RHS for gimple memory store:
@ 2020-05-11 10:12 dcb314 at hotmail dot com
  2020-05-11 10:20 ` [Bug c/95051] " dcb314 at hotmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2020-05-11 10:12 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-05-13  7:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 10:12 [Bug c/95051] New: error: invalid RHS for gimple memory store: dcb314 at hotmail dot com
2020-05-11 10:20 ` [Bug c/95051] " dcb314 at hotmail dot com
2020-05-11 10:37 ` dcb314 at hotmail dot com
2020-05-11 11:36 ` [Bug tree-optimization/95051] " rguenth at gcc dot gnu.org
2020-05-11 18:50 ` marxin at gcc dot gnu.org
2020-05-12  8:23 ` cvs-commit at gcc dot gnu.org
2020-05-12  8:24 ` marxin at gcc dot gnu.org
2020-05-12  8:24 ` marxin at gcc dot gnu.org
2020-05-12 19:22 ` cvs-commit at gcc dot gnu.org
2020-05-13  7:52 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).