]> thyrsus.com Git - intercal.git/commitdiff
nooptwithg
authorAlex Smith <ais523@bham.ac.uk>
Wed, 7 May 2008 15:41:20 +0000 (11:41 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 26 Aug 2010 00:34:53 +0000 (20:34 -0400)
NEWS.txt
src/perpet.c

index 021e3dd8b17be860616c3f52a61a7e77fd544ed8..dac18a2cfea42db7f6664e0386cb8dd51faa35a3 100644 (file)
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -50,23 +50,26 @@ Changes by Joris Huizer
 9.  Fixed unary operators applied to constants (AIS: it seems that my patch to
     solve this issue earlier was itself buggy).
 
+10. The -g option now causes optimisation of the output compiled C to be
+    turned off.
+
 Changes by Alex Smith
 
-10. convickt can now produce its output as INTERCAL initialisation of a tail
+11. convickt can now produce its output as INTERCAL initialisation of a tail
     array. (This doesn't auto-offset between the different characters; it is
     therefore mostly useful for producing Baudot arrays for CLC-INTERCAL-style
     IO.)
 
-11. The function clock_gettime is now supported by the yuk profiler as an
+12. The function clock_gettime is now supported by the yuk profiler as an
     alternative method of getting a high-resolution clock for profiling (it
     is available on at least Linux).
 
-12. Upgraded the autoconfiguration to a substantially newer version of
+13. Upgraded the autoconfiguration to a substantially newer version of
     autoconf. Hopefully the same script works on all operating systems now,
     because I've removed the one that configures for DOS (which was previously
     separate).
 
-13. Added support for computed CREATE (the computation is done at create-time,
+14. Added support for computed CREATE (the computation is done at create-time,
     rather than when the unknown statement is encountered); partly because
     this was rather easy, but mostly because it can be used to simulate a
     computed NEXT, thus making the example expansion library compunex (which I
@@ -78,10 +81,10 @@ Changes by Alex Smith
     features of NEXT, anyway, rather than the small subset COMPUNEX could
     manage.)
 
-14. Plugged a couple of small memory leaks; however, there are still several
+15. Plugged a couple of small memory leaks; however, there are still several
     much bigger memory leaks that could do with being fixed.
 
-15. About the version number: this release is mostly bugfixing, but does add a
+16. About the version number: this release is mostly bugfixing, but does add a
     few new features, so I wasn't sure whether to increment the major or the
     minor version number. In the end, I used the old INTERCAL maxim 'when in
     doubt, do both'.
index 70f2f6d1bd598564fbf1be44bdc08d4a9b34ac80..2ff0edc320996eb8ac6fad635604e3c606b294bc 100644 (file)
@@ -817,7 +817,8 @@ int main(int argc, char *argv[])
                      buf, yukdebug||yukprofile?" -lyuk ":" ",
 #endif
                      includedir, path, path, libdir, path, path,
-                     coopt?'3':'2', /* AIS: If coopting, optimize as much as possible */
+                     cdebug?'0':coopt?'3':'2', /* AIS: If coopting, optimize as much as possible
+                                                    JH: [d]on't optimise when compiling with debugger support */
                      argv[optind], multithread?"mt":"", cdebug?" -g":"");
       /* AIS: Possibly link in the debugger yuk and/or libickmt.a here. */
       /* AIS: Added -g support. */