From: Yang Zhang <yanghatespam@gmail.com>
To: GCC-help <gcc-help@gcc.gnu.org>
Subject: Automatic inference of const/pure function attributes
Date: Sat, 24 Jan 2009 10:28:00 -0000 [thread overview]
Message-ID: <497AEB94.40106@gmail.com> (raw)
Can gcc automatically determine that a function is const/pure (on a
best-effort basis), instead of requiring the user to explicitly specify
the attribute always? (I realize determining this may be difficult for
certain functions, or the user may simply wish to specify this anyway
regardless of the true nature of the function.)
--
Yang Zhang
http://www.mit.edu/~y_z/
next reply other threads:[~2009-01-24 10:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-24 10:28 Yang Zhang [this message]
2009-01-24 18:52 ` Ian Lance Taylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=497AEB94.40106@gmail.com \
--to=yanghatespam@gmail.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).