https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33675
Richard Biener changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-10-08 08:53 ---
The first store is for the truncation to float, the second store is because
of the volatile. Now we could combine the first into the second, but in
general we don't care too much to try optimize code which uses vola
--- Comment #2 from bagnara at cs dot unipr dot it 2007-10-06 13:03 ---
I don't understand. Do you mean that what I consider the natural compilation
of that piece of code (the shorter assembly listing) is incorrect? In other
words: do you think that the shorter assembly listing does no
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-10-06 11:45 ---
That is becasue there is a cast to volatile float which causes an extra store.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--