[Bug rtl-optimization/71793] Volatile local variable passed by value is (wrongly?) optimised away, but the containing loop is not

2021-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71793 Andrew Pinski changed: What|Removed |Added URL|http://stackoverflow.com/qu | |estions/38235112

[Bug rtl-optimization/71793] Volatile local variable passed by value is (wrongly?) optimised away, but the containing loop is not

2016-07-18 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71793 --- Comment #4 from DB --- (In reply to Richard Biener from comment #3) > Well, if you look at the out-of-line copies of the function then he is > correct. > But the inline copy in main() does not have this constraint and is still > mishandled.

[Bug rtl-optimization/71793] Volatile local variable passed by value is (wrongly?) optimised away, but the containing loop is not

2016-07-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71793 --- Comment #3 from Richard Biener --- (In reply to DB from comment #2) > Thanks Richard! About this - > > > RTL expansion expands x as register copy for some reason > > - is this person's explanation about this originating in the ABI

[Bug rtl-optimization/71793] Volatile local variable passed by value is (wrongly?) optimised away, but the containing loop is not

2016-07-07 Thread db0451 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71793 --- Comment #2 from DB --- Thanks Richard! About this - > RTL expansion expands x as register copy for some reason - is this person's explanation about this originating in the ABI accurate? http://stackoverflow.com/a/38248847/2757035 If so -

[Bug rtl-optimization/71793] Volatile local variable passed by value is (wrongly?) optimised away, but the containing loop is not

2016-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71793 Richard Biener changed: What|Removed |Added Keywords||wrong-code