[commit: ghc] master: Mention '-fno-ignore-asserts' in documentation. (ddd1c82)

git at git.haskell.org git at git.haskell.org
Tue Dec 17 11:20:00 UTC 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/ddd1c8209a69b9ed1cdad2a9b47a7e47bbd4bc96/ghc

>---------------------------------------------------------------

commit ddd1c8209a69b9ed1cdad2a9b47a7e47bbd4bc96
Author: Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
Date:   Tue Dec 17 07:51:02 2013 +0100

    Mention '-fno-ignore-asserts' in documentation.
    
    (Closes: #8617)


>---------------------------------------------------------------

ddd1c8209a69b9ed1cdad2a9b47a7e47bbd4bc96
 docs/users_guide/glasgow_exts.xml |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index 99a3f21..e97faf1 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -9220,7 +9220,9 @@ GHC ignores assertions when optimisation is turned on with the
 <literal>e</literal>.  You can also disable assertions using the
       <option>-fignore-asserts</option>
       option<indexterm><primary><option>-fignore-asserts</option></primary>
-      </indexterm>.</para>
+      </indexterm>.  The option <option>-fno-ignore-asserts</option> allows
+enabling assertions even when optimisation is turned on.
+</para>
 
 <para>
 Assertion failures can be caught, see the documentation for the



More information about the ghc-commits mailing list