What's new in GCC 4.5?
What's new in GCC 4.5?
Posted May 12, 2010 16:12 UTC (Wed) by farnz (subscriber, #17727)In reply to: What's new in GCC 4.5? by eparis123
Parent article: What's new in GCC 4.5?
Using volatile instead of -ffloat-store forces the selected variable to memory every time it's changed, without forcing all floating point variables to memory on all modification. The goal is to avoid the compiler caching floating point numbers in registers; I don't understand why you think this is the opposite to the standard's use.
Posted May 12, 2010 16:42 UTC (Wed)
by eparis123 (guest, #59739)
[Link]
Yes, I misunderstood the context. I misread it as having the desire to put the variable in the 80-bit FPU register for extra precision, instead of the opposite.
What's new in GCC 4.5?
