From: Arnaud Charlet <charlet@adacore.com>
To: gcc-patches@gcc.gnu.org
Cc: Geert Bosch <bosch@adacore.com>
Subject: [Ada] Make {Short,Long,Long_Long}_Complex_Elementary_Functions pure
Date: Wed, 02 Jan 2013 11:14:00 -0000 [thread overview]
Message-ID: <20130102111358.GA8953@adacore.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 263 bytes --]
The other Complex_Elementary_Functions packages were already declared pure,
these were missed by oversight.
Tested on x86_64-pc-linux-gnu, committed on trunk
2013-01-02 Geert Bosch <bosch@adacore.com>
* a-nllcef.ads, a-nlcefu.ads, a-nscefu.ads: Make Pure.
[-- Attachment #2: difs --]
[-- Type: text/plain, Size: 1301 bytes --]
Index: a-nllcef.ads
===================================================================
--- a-nllcef.ads (revision 194776)
+++ a-nllcef.ads (working copy)
@@ -19,3 +19,4 @@
package Ada.Numerics.Long_Long_Complex_Elementary_Functions is
new Ada.Numerics.Generic_Complex_Elementary_Functions
(Ada.Numerics.Long_Long_Complex_Types);
+pragma Pure (Ada.Numerics.Long_Long_Complex_Elementary_Functions);
Index: a-nlcefu.ads
===================================================================
--- a-nlcefu.ads (revision 194776)
+++ a-nlcefu.ads (working copy)
@@ -19,3 +19,4 @@
package Ada.Numerics.Long_Complex_Elementary_Functions is
new Ada.Numerics.Generic_Complex_Elementary_Functions
(Ada.Numerics.Long_Complex_Types);
+pragma Pure (Ada.Numerics.Long_Complex_Elementary_Functions);
Index: a-nscefu.ads
===================================================================
--- a-nscefu.ads (revision 194776)
+++ a-nscefu.ads (working copy)
@@ -19,3 +19,4 @@
package Ada.Numerics.Short_Complex_Elementary_Functions is
new Ada.Numerics.Generic_Complex_Elementary_Functions
(Ada.Numerics.Short_Complex_Types);
+pragma Pure (Ada.Numerics.Short_Complex_Elementary_Functions);
reply other threads:[~2013-01-02 11:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20130102111358.GA8953@adacore.com \
--to=charlet@adacore.com \
--cc=bosch@adacore.com \
--cc=gcc-patches@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).