This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Avoid virtual operands for trigonometric builtins
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 8 Mar 2005 23:16:25 +0000 (UTC)
- Subject: Re: [patch] Avoid virtual operands for trigonometric builtins
- References: <20050308230653.GA5303@atrey.karlin.mff.cuni.cz>
On Wed, 9 Mar 2005, Zdenek Dvorak wrote:
> This patch adds new attribute 'novops' that prevents adding the virtual
> operands to the function call, and applies it to the mentioned builtins.
> I don't think it is desirable for users to have access to this attribute
> (it seems quite error-prone), so I do not add it to the documentation.
If you don't want users to have access to an attribute, you need to give
it a name which cannot be used from source code (e.g., an identifier with
a space in). Otherwise, you need to document it and allow users to use it
if they know what they are doing.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)