https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122143
Bug ID: 122143
Summary: forwprop look to see if we should not set
TODO_update_address_taken as much for last forwprop
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Keywords: internal-improvement
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: pinskia at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
From
https://inbox.sourceware.org/gcc-patches/CAFiYyc162F+i=majzQqutFcq1y=dtrojvc4z+v3gp8n7utn...@mail.gmail.com/T/#u:
```
The patch is OK. As a followup we might want to consider whether there's
a cheap enough way to see in which cases address-takens are elided.
memcpy() -> assignment transforms come to my mind here, but I
cannot think of anything that wasn't a call before - so maybe it's
enough to add a && was_call (for was_noreturn we already compute
was_call).?
```