[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-04-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 --- Comment #14 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7c7e78e9c460991349065572e32cac49b20d0432 commit r12-8109-g7c7e78e9c460991349065572e32cac49b20d0432 Author: Richard Biener Date:

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-04-07 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 --- Comment #13 from Eric Botcazou --- > Should be fixed now. Yes, I confirm that gnatmake now works correctly again, thanks!

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-04-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-04-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 --- Comment #11 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:8c0ebaf9f586100920a3c0849fb10e9985d7ae58 commit r12-8048-g8c0ebaf9f586100920a3c0849fb10e9985d7ae58 Author: Richard Biener Date:

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-04-07 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 --- Comment #10 from hubicka at kam dot mff.cuni.cz --- Hi, > > I'm testing this, adding escaped_local_p parameters throughout the API and > adjusting consumers, throwing away ref_may_access_global_memory_p. > > Following passes adjusted from f

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-04-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 --- Comment #9 from Richard Biener --- Created attachment 52768 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52768&action=edit patch in testing I'm testing this, adding escaped_local_p parameters throughout the API and adjusting consume

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-04-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 --- Comment #8 from Richard Biener --- Btw, ref_may_access_global_memory_p already checks if (!auto_var_in_fn_p (base, current_function_decl) || pt_solution_includes (&cfun->gimple_df->escaped,

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-04-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 --- Comment #7 from Richard Biener --- (In reply to Jan Hubicka from comment #6) > OK, tree-ssa-alias is using: > > if (ref_may_access_global_memory_p (ref)) > > to determine if the access to S9b.6_22 may be used by the call. I expected > thi

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-04-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 --- Comment #6 from Jan Hubicka --- OK, tree-ssa-alias is using: if (ref_may_access_global_memory_p (ref)) to determine if the access to S9b.6_22 may be used by the call. I expected this to return true because memory pointed to S9b.6_22 is es

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-04-03 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 --- Comment #5 from Jan Hubicka --- So what modref see on calle is: void concat5_pkg1.make_failed (struct s) { struct string

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-03-31 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 --- Comment #4 from Jan Hubicka --- What happens to the by-value parameter should get merged from concat5_pkg2.compare (s); I will take a look now - sorry for not handling this bug earlier. Honza

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-03-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 --- Comment #3 from Richard Biener --- The store D.5010.P_BOUNDS = &D.5011; is unit-size align:32 warn_if_not_align:0 symtab:0 alias-set 9 canonical-type 0x7653bf18 fields Ada size pointer_to_this

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-02-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-01-31 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org Last reconfi

[Bug ipa/104303] [12 regression] gnatmake is miscompiled by IPA/modref

2022-01-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104303 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0