public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Release novops attribute for external use?
@ 2010-04-12 16:56 Bingfeng Mei
  2010-04-12 16:58 ` Andrew Haley
  0 siblings, 1 reply; 15+ messages in thread
From: Bingfeng Mei @ 2010-04-12 16:56 UTC (permalink / raw)
  To: gcc

Hello,
One of our engineers requested a feature so that
compiler can avoid to re-load variables after a function
call if it is known not to write to memory. It should 
slash considerable code size in our applications. I found
the existing "pure" and "const" cannot meet his requirements
because the function is optimized out if it doesn't return
a value. I almost started to implement a new attribute 
in our own port, only to find out "novops" attribute is 
exact what we want. Why "novops" is only limited to 
internal use? Does it has any other implication? Could
we release this attribute for external use as well? 

Thanks,
Bingfeng Mei

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-04-13 11:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-12 16:56 Release novops attribute for external use? Bingfeng Mei
2010-04-12 16:58 ` Andrew Haley
2010-04-12 18:05   ` Dave Korn
2010-04-12 18:10     ` Andrew Haley
2010-04-12 18:29       ` Dave Korn
2010-04-12 20:53         ` Daniel Jacobowitz
2010-04-13  9:45   ` Bingfeng Mei
2010-04-13  9:56     ` Richard Guenther
2010-04-13 10:15       ` Andrew Haley
2010-04-13 10:23       ` Bingfeng Mei
2010-04-13 10:25         ` Richard Guenther
2010-04-13 10:57           ` Richard Guenther
2010-04-13 11:35             ` Bingfeng Mei
2010-04-13 11:53           ` Manuel López-Ibáñez
2010-04-13 15:06             ` Richard Guenther

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).