public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Ada] Make {Short,Long,Long_Long}_Complex_Elementary_Functions pure
@ 2013-01-02 11:14 Arnaud Charlet
  0 siblings, 0 replies; only message in thread
From: Arnaud Charlet @ 2013-01-02 11:14 UTC (permalink / raw)
  To: gcc-patches; +Cc: Geert Bosch

[-- 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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-02 11:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-02 11:14 [Ada] Make {Short,Long,Long_Long}_Complex_Elementary_Functions pure Arnaud Charlet

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).