> Does GCC 4.1 still allocate variables to registers with optimisation > turned off?
Any fetch from memory to a register is also an "allocation" to that register. The most trivial peephole optimization (removing "redundant" fetches [or stores!]) will erase any doubt that this is a real allocation. The best you could hope for is that the register is used as if static single assignment (SSA) were in effect for the result of the fetch: one use only, then forgotten. -- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users