[Bug tree-optimization/103223] [12 regression] Access attribute dropped when ipa-sra is applied

2021-11-21 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223 --- Comment #11 from hubicka at kam dot mff.cuni.cz --- > Xeon(R) Platinum 8358 (IceLake) (64C 128T 512G): > BenchMarks Copies RunTime1RunTime2Rate1 Rate2 > Compare > 548.exchange2_r 128 479 913 700 367

[Bug tree-optimization/103223] [12 regression] Access attribute dropped when ipa-sra is applied

2021-11-21 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223 Levy changed: What|Removed |Added CC||admin at levyhsu dot com --- Comment #10 from Le

[Bug tree-optimization/103223] [12 regression] Access attribute dropped when ipa-sra is applied

2021-11-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223 --- Comment #9 from Martin Sebor --- Outside of code comments only the user-visible attribute access interface is documented in the manual. The main difference is probably that attribute access can be added by the user for any pair of arguments

[Bug tree-optimization/103223] [12 regression] Access attribute dropped when ipa-sra is applied

2021-11-15 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223 --- Comment #8 from hubicka at kam dot mff.cuni.cz --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223 > > --- Comment #5 from Martin Sebor --- > (In reply to Martin Jambor from comment #4) > > (In reply to Jan Hubicka from comment #0) >

[Bug tree-optimization/103223] [12 regression] Access attribute dropped when ipa-sra is applied

2021-11-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223 --- Comment #7 from Martin Sebor --- For an attribute access that's explicitly specified on the declaration of a function I think these steps should work: 1) Call init_attr_rdwr_indices() to initialize the mapping for the original function with

[Bug tree-optimization/103223] [12 regression] Access attribute dropped when ipa-sra is applied

2021-11-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223 --- Comment #6 from Martin Jambor --- (In reply to Martin Sebor from comment #5) > I replied earlier on gcc-patches: I've always intended the access attribute > to eventually benefit optimization so please feel free (and encouraged :) to > use i

[Bug tree-optimization/103223] [12 regression] Access attribute dropped when ipa-sra is applied

2021-11-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223 --- Comment #5 from Martin Sebor --- (In reply to Martin Jambor from comment #4) > (In reply to Jan Hubicka from comment #0) ... > > Martin, I wonder if if you would be OK with simply dropping the access when > > function signature changes (whic

[Bug tree-optimization/103223] [12 regression] Access attribute dropped when ipa-sra is applied

2021-11-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223 --- Comment #4 from Martin Jambor --- (In reply to Jan Hubicka from comment #0) > Hi, > ipa-fnsummary sets can_change_signature flag which determines whether we can > manipulate parameters of a given function. It tests: > >/* Type attr

[Bug tree-optimization/103223] [12 regression] Access attribute dropped when ipa-sra is applied

2021-11-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223 Martin Jambor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/103223] [12 regression] Access attribute dropped when ipa-sra is applied

2021-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug tree-optimization/103223] [12 regression] Access attribute dropped when ipa-sra is applied

2021-11-13 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223 Jan Hubicka changed: What|Removed |Added Summary|[12 regression] Access |[12 regression] Access