------- Comment #2 from rguenth at gcc dot gnu dot org 2008-01-11 16:39 ------- We even mark all pointed-to vars of value-escaping pointers as call-clobbered. So I believe NMTs itself need never be call-clobbered. But there's also hints that we cover bugs somewhere:
FIXME: This is not quite right. They should only be clobbered if value_escapes_p is true, regardless of whether they point to global memory or not. So removing this code and fixing all the bugs would be nice. It is the cause of a bunch of clobbering. */ Also it is not at all clear to me what MTAG_GLOBAL is all about (and its appearant relation to call clobbered state). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34743