[Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 15 18:39:44 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
For the non-static case, IPA-SRA has:
```
Summary for node int foo2(two_ints)/0:
Returns value
Descriptor for parameter 0:
param_size_limit: 8, size_reached: 4
* Access to unit offset: 0, unit size: 4, type: int, alias_ptr_type: int *,
certain
...
Function int foo2(two_ints)/0 disqualified because it cannot be made local.
```
More information about the Gcc-bugs
mailing list