Dale Weiler
a77797d6a6
Remove spelling corrector
2015-01-13 19:48:57 -05:00
Dale Weiler
783b7b6594
Update license headers
2015-01-09 14:53:35 -05:00
Wolfgang Bumiller
8dafdfc5e2
use INSTR_STATE by default, add -femulate-state to switch to emulation, and -state-fps=NUM to set its emulation FPS
2014-04-08 14:34:55 +02:00
Wolfgang Bumiller
4ff68e07e8
Adding coverage support:
...
The -coverage option causes all values have AST_FLAG_BLOCK_COVERAGE
set by default.
The coverage attribute can be used to control coverage:
It takes an optional list of coverage types, currently only "block"
and "none" is recognized.
[[coverage]] defaults to [[coverage(block)]].
Use [[coverage(none)]] or [[coverage()]] to disable.
2014-01-07 14:36:00 +01:00
Dale Weiler
a934e0fe4b
Happy new year!
2014-01-01 06:24:16 -05:00
Dale Weiler
b147602d78
Fix option string allocated/non allocated storage.
2013-10-16 20:14:49 -04:00
Dale Weiler
f008cc257d
Some cleanups
2013-10-11 09:32:46 -04:00
Dale Weiler
033cf7c7d3
More cleanups
2013-10-11 03:59:25 -04:00
Wolfgang Bumiller
5a47dd5e62
since we don't bail on some of the warnings right away, (that is, with -Werror), also check the compile_errors count in main rather than just the return values
2013-09-18 16:20:25 +02:00
Dale Weiler
94e477e466
Added -progsrc commandline switch to specify progs.src files of different names. Cleaned up xonotic export script, fixed check-doc on linux systems by disabling mandoc check.
2013-09-12 17:06:20 -04:00
Dale Weiler
9032e78349
There is no bug since the testsuite uses -o for preprocessed output (thus the printf never gets involved) if the testsuite read the preprocessor output from stdout than things would be wrong, since however it isn't there is no bug.
2013-08-31 09:53:19 -04:00
Dale Weiler
76c37d9cc0
Rid of util_debug
2013-08-30 06:49:24 -04:00
Dale Weiler
c8b4eac618
Make -fshort-logic -funtyped-nil -fvariadic-args default for -std=gmqcc
2013-08-29 07:56:22 -04:00
Dale Weiler
2a79339735
Remove that idiom, and use GMQCC_ARRAY_COUNT.
2013-08-17 23:39:06 +00:00
Dale Weiler
91c7209146
Track constant folds in opts_optimization list .. this could be handled better I assume.
2013-08-15 03:45:50 +00:00
Dale Weiler
5e54db46c4
Some statistics as Samual wanted.
2013-08-14 04:08:00 +00:00
Dale Weiler
b654594adb
Disable statistics that are irrelevant to QuakeC coders
2013-08-14 03:24:00 +00:00
Dale Weiler
a9ab865add
Move some things around
2013-07-30 15:32:24 +00:00
Dale Weiler
557ad9da1a
Make COMPILER_QCC default to please the stuborn Quake community.
2013-07-27 17:56:46 +00:00
Dale Weiler
c7679722fb
Please the whitespace gods
2013-07-27 11:48:55 +00:00
Dale Weiler
44d5481828
There was too many 16-sized buckets when compiling xonotic, increase the size: this is cheaper on memory and slightly faster.
2013-07-26 14:50:37 +00:00
Dale Weiler
ce23e95d0b
Remove a ton of dead code and document the one really insane case.
2013-06-21 23:40:51 +00:00
Dale Weiler
fe296de42f
Fix more bugs (mostly possible NULL pointer dereferences)
2013-06-21 23:26:49 +00:00
Dale Weiler
6db2e69f9a
Oh my god microsoft you suck
2013-06-20 11:20:56 +00:00
Dale Weiler
51eb94f251
Enable it for gmqcc and fteqcc modes.
2013-06-17 20:13:21 +00:00
Dale Weiler
23cb7f4e09
Fix some bugs
2013-06-17 20:11:37 +00:00
Dale Weiler
144672fada
Strict prototyping
2013-06-06 02:51:13 +00:00
Dale Weiler
11179a2a71
Major header reworking, this respects the namespaces properly. Makes object dependency more obvious, allows for better make caches, and prevents misuse of library features, i.e use con_* instead of printf.
2013-06-04 02:47:07 +00:00
Dale Weiler
9af3c502da
Major utility rewrite for compiler memory utilization statistics. Cleanups everywhere, no more NOTRACK stuff, all allocates are tracked. Major identifier cleanups as well.
2013-06-02 08:21:06 +00:00
Dale Weiler
166b79720c
Vector tracing, step two in determining how to lower memory usage.
2013-06-02 04:29:53 +00:00
Dale Weiler
121e080697
Guart statistics by option.
2013-06-02 00:07:54 +00:00
Dale Weiler
f281de7a3c
Cleanups and fixes
2013-05-29 02:16:50 +00:00
Wolfgang Bumiller
219508e478
this should be tagged 0.2.9
2013-04-27 16:30:03 +02:00
Dale Weiler
68ca2c4962
Pushing the -fexpressions-for-builtins stuff and the modff for catching fractional-part builtin numbers.
2013-04-25 17:08:02 +00:00
Wolfgang Bumiller
73070395eb
these can be const now
2013-04-25 09:55:58 +02:00
Wolfgang Bumiller
3a4aba0b31
Grrrr
2013-04-24 17:47:42 +02:00
Dale Weiler
489ad486bc
Get it compiling in visual studio again.
2013-04-24 01:43:53 +00:00
Wolfgang Bumiller
4d394494b6
don't call ftepp_finish on a freed ftepp struct
2013-04-17 11:36:45 +02:00
Dale Weiler
d7be99c9dd
More perliminary reworking for threading
2013-04-17 06:30:09 +00:00
Dale Weiler
1f0a1b8140
Perliminary parser reworking, required for the proposed multithreading.
2013-04-17 00:52:52 +00:00
Dale Weiler
f2b21158d8
Rewrote memory tracking, now prints highest water mark (most used memory at a given time during compile). Changes all byte representation to MB representation. Added ability to print the contents of the leaked memory to the console when -debug is on (infact the lost messages only print during -debug), -memchk simply reports the memory info at the end (it is also printed when -debug). You can set the memory dump columns with -memdumpcols=# where # is the number of columns you want (default is 16)
2013-04-15 20:54:53 +00:00
Dale Weiler
a25bd052d7
More function flatening
2013-04-14 01:16:35 +00:00
Dale Weiler
8d59d7029d
Cleanup cargocult directory and file specific things, to fs.c (renamed file.c which also contains directory handling stuff). Also cleaned up some stuff, and added proper end comments to conditional inclusion stuff.
2013-02-08 12:06:59 +00:00
Wolfgang Bumiller
06ff6eb054
get that message back in
2013-02-04 00:28:35 +01:00
Wolfgang Bumiller
46892daa3a
Reverting this awful unmaintainable mess of option description system
2013-02-04 00:19:56 +01:00
Dale Weiler
98fd5cd429
Some cleanups and what not.
2013-01-30 06:13:11 +00:00
Dale Weiler
36c5722273
Rename
2013-01-30 05:35:07 +00:00
Dale Weiler
d201cfe6b4
Work in progress options cleanup.
2013-01-30 05:24:30 +00:00
Dale Weiler
6c4c373089
Print off the documentation when -[f/W/O]help, also fixed some of the descriptions for flags.
2013-01-30 04:22:13 +00:00
Wolfgang Bumiller
3652a122ed
Removed -fenhanced-diagnostics - it's now --correct, which makes sense since it doesn't affect the compilation process itself
2013-01-12 17:10:07 +01:00