On 7/1/2022 4:04 PM, Ian Lance Taylor via Gcc-patches wrote:
The DSE pass can delete a dead store even if the instruction can trap.
That is incorrect when using -fnon-call-exceptions
-fno-delete-dead-exceptions. This led to a bug report against gccgo:
https://go.dev/issue/53012. However,
The DSE pass can delete a dead store even if the instruction can trap.
That is incorrect when using -fnon-call-exceptions
-fno-delete-dead-exceptions. This led to a bug report against gccgo:
https://go.dev/issue/53012. However, the bug is not specific to Go.
This patch fixes the problem in a