https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127185
Bug ID: 127185
Summary: non-call and large struct copies
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Keywords: EH, wrong-code
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
Created attachment 65476
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65476&action=edit
testcase
Take this testcase. With -O0 -fnon-call-exceptions, the code is optimized to
just a memcpy with a return 1 at the end. This is done on the rtl level. The
gimple level has the correct eh info on things even.