[Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members

2024-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567 --- Comment #8 from Andrew Pinski --- 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

[Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members

2024-03-15 Thread eyalroz1 at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567 --- Comment #7 from Eyal Rozenberg --- (In reply to Andrew Pinski from comment #6) > I am think this can be closed as fixed ... Well, my example no longer generates two loads. However > IPA-SRA does handle this if the function is static. > >

[Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #6 from Andrew

[Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members

2019-03-04 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567 --- Comment #5 from Martin Jambor --- (In reply to Eyal Rozenberg from comment #4) > > In the first excample, the interproceudral constant propagation pass > > (IPA-CP) found that foo1 is so small that copying all of it might be > > worth not

[Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members

2019-03-04 Thread eyalroz at technion dot ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567 --- Comment #4 from Eyal Rozenberg --- > In the first excample, the interproceudral constant propagation pass > (IPA-CP) found that foo1 is so small that copying all of it might be > worth not passing the unused argument and so it does, that is

[Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members

2019-03-04 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members

2019-03-04 Thread eyalroz at technion dot ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567 --- Comment #2 from Eyal Rozenberg --- (In reply to Richard Biener from comment #1) > You are looking for IPA DSE I'm not a compiler expert and don't know what this means. Even literally, I don't know what these acronyms stand for. > by

[Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members

2019-03-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|