Wolfgang (Blub) Bumiller
|
2a94fe9731
|
qcvm -pringdefs now prints [SAVE] next to globals with DEF_SAVEFLAG set
|
2012-12-18 12:41:29 +01:00 |
|
Wolfgang (Blub) Bumiller
|
db5484bdef
|
DEF_SAVEGLOBAL flag is now applied on initialized non-constant globals, and is not applied on 'consts'
|
2012-12-18 12:02:33 +01:00 |
|
Wolfgang (Blub) Bumiller
|
6b4c89700b
|
Don't generate 'jump +1' instructions
|
2012-12-18 11:57:30 +01:00 |
|
Wolfgang (Blub) Bumiller
|
26f3370ea6
|
Renaming gmqcc.init since it's used by default if it exists and it makes the testsuite fail
|
2012-12-18 11:48:03 +01:00 |
|
Wolfgang (Blub) Bumiller
|
83a41d13c0
|
Don't generate AINSTR_END anymore, use INSTR_DONE
|
2012-12-18 11:46:26 +01:00 |
|
Wolfgang (Blub) Bumiller
|
a5e0542f95
|
cmd_options -> opts_cmd_t to make testsuite and executor compile again
|
2012-12-18 11:46:15 +01:00 |
|
Dale Weiler
|
2587aed697
|
Allow setting configuration file via commandline
|
2012-12-18 05:22:23 +00:00 |
|
Dale Weiler
|
ed4213d403
|
Add a template ini file for documentation
|
2012-12-18 05:12:57 +00:00 |
|
Dale Weiler
|
4b3e2571af
|
Cleanups of compiler option configuration. Added ini/cfg parser system as well.
|
2012-12-18 04:57:17 +00:00 |
|
Wolfgang (Blub) Bumiller
|
0befe5da1c
|
messages caused by -Warnings now show the -W flag
|
2012-12-17 18:36:27 +01:00 |
|
Wolfgang (Blub) Bumiller
|
b7117e08ce
|
parsewarning and genwarning to use vcompile_warning
|
2012-12-17 18:26:26 +01:00 |
|
Wolfgang (Blub) Bumiller
|
2534076963
|
irwarning to use vcompile_warning
|
2012-12-17 18:25:06 +01:00 |
|
Wolfgang (Blub) Bumiller
|
0f99ae3459
|
ftepp_warn to use vcompile_warning
|
2012-12-17 18:24:16 +01:00 |
|
Wolfgang (Blub) Bumiller
|
fe344cb5b2
|
vcompile_error, vcompile_warning; fixed: removed opts_ globals from con.c; made the lexer use vcompile_warning
|
2012-12-17 18:22:33 +01:00 |
|
Wolfgang (Blub) Bumiller
|
6fa30fdaf4
|
Adding -Wunknown-pragmas to the manpage
|
2012-12-17 17:18:19 +01:00 |
|
Dale Weiler
|
8e0515de44
|
Added -Wunknown-pragmas
|
2012-12-17 16:14:43 +00:00 |
|
Wolfgang (Blub) Bumiller
|
68e4fb87d8
|
Fixed a bug in the generation of default switch cases: they can now fall through correctly
|
2012-12-17 17:01:07 +01:00 |
|
Dale Weiler
|
c1a4c8102e
|
Finally fix the bug in -D
|
2012-12-17 15:46:07 +00:00 |
|
Wolfgang (Blub) Bumiller
|
f7bc1dca08
|
Revert "Not defining GMQCC_VERSION_ in gmqcc.h but checking if they're defiend and #error if not - they're set in the Makefile - please fix windows builds"
This reverts commit a473979cf5 .
-- because visual studio sucks
|
2012-12-17 16:46:03 +01:00 |
|
Dale Weiler
|
e72d656eb8
|
Fixes, but still crashes because ... I have no clue, there is no reason for this to crash.
|
2012-12-17 15:39:22 +00:00 |
|
Wolfgang (Blub) Bumiller
|
a473979cf5
|
Not defining GMQCC_VERSION_ in gmqcc.h but checking if they're defiend and #error if not - they're set in the Makefile - please fix windows builds
|
2012-12-17 16:30:07 +01:00 |
|
Wolfgang (Blub) Bumiller
|
340de8379a
|
--version
|
2012-12-17 16:14:39 +01:00 |
|
Dale Weiler
|
08302ff32b
|
Just make it -v
|
2012-12-17 15:11:34 +00:00 |
|
Dale Weiler
|
ae960efff4
|
Added -which/-version
|
2012-12-17 15:08:17 +00:00 |
|
Wolfgang (Blub) Bumiller
|
ac18d58ffc
|
Copy over the array-count in ast_type_adopt/ast_type_copy
|
2012-12-17 16:00:08 +01:00 |
|
Wolfgang (Blub) Bumiller
|
f0687adbaa
|
Error when the assignop for an assignment is invalid, eg. when trying to assign arrays
|
2012-12-17 16:00:08 +01:00 |
|
Wolfgang (Blub) Bumiller
|
c2857a22e3
|
Let's still initialize the 'count' member...
|
2012-12-17 16:00:08 +01:00 |
|
Dale Weiler
|
c1c7a93884
|
Implemented -D for preprocessor
|
2012-12-17 14:58:55 +00:00 |
|
Wolfgang (Blub) Bumiller
|
eab1050ba4
|
Fix: check error before calling codegen_output_type
|
2012-12-17 15:43:14 +01:00 |
|
Dale Weiler
|
05ccb73e08
|
Update some info
|
2012-12-16 23:00:17 +00:00 |
|
Dale Weiler
|
58f90d9f51
|
Fix some typos
|
2012-12-16 22:52:17 +00:00 |
|
Dale Weiler
|
49e7f6d31d
|
Add TODO
|
2012-12-16 22:48:46 +00:00 |
|
Dale Weiler
|
60807b677c
|
Fix testsuite. Also added an additional test to the ternary stuff
|
2012-12-16 22:07:33 +00:00 |
|
Wolfgang (Blub) Bumiller
|
c198c23df1
|
Another peephole optimization
|
2012-12-06 22:10:31 +01:00 |
|
Wolfgang (Blub) Bumiller
|
8858f265dd
|
s/ir_function_pass_minor/ir_function_pass_peephole/
|
2012-12-06 21:39:34 +01:00 |
|
Wolfgang (Blub) Bumiller
|
362d822e18
|
Adding an 'install-doc' target to the Makefile, which is included by the 'install' target and uses MANDIR, which defaults to DATADIR/man, and DATADIR defaults to PREFIX/share
|
2012-12-06 18:57:56 +01:00 |
|
Wolfgang (Blub) Bumiller
|
583c58f65b
|
Adding -f flags to the manpage
|
2012-12-06 18:51:46 +01:00 |
|
Wolfgang (Blub) Bumiller
|
abfda3271b
|
Adding all the warnings to the manpage
|
2012-12-06 18:41:22 +01:00 |
|
Wolfgang (Blub) Bumiller
|
5e186bb434
|
Updating usage message a bit
|
2012-12-06 18:16:59 +01:00 |
|
Wolfgang (Blub) Bumiller
|
9c5b95bbe3
|
Temporarily disable the new tempalloc strat
|
2012-12-06 17:41:00 +01:00 |
|
Wolfgang (Blub) Bumiller
|
f9b1d057b5
|
Moving all the global opts_ variables into a struct, now there's one global 'opts' struct
|
2012-12-06 13:23:53 +01:00 |
|
Wolfgang (Blub) Bumiller
|
94560d1873
|
-Ominor -> -Opeephole; added -Olocaltemps flag; using a less space-wasting temp-allocation in general
|
2012-12-06 13:08:46 +01:00 |
|
Wolfgang (Blub) Bumiller
|
04a57d871e
|
unexpected typename error when there are typenames in an expression
|
2012-12-05 17:14:44 +01:00 |
|
Wolfgang (Blub) Bumiller
|
2eea7b03c0
|
get rid of some code duplication, and fix some wrong type adoptions in the ast
|
2012-12-05 16:22:32 +01:00 |
|
Wolfgang (Blub) Bumiller
|
37fbe7176f
|
Tiny codegen optimization: silently ignore the creation of STORE with input and output being the same address
|
2012-12-05 15:17:11 +01:00 |
|
Wolfgang (Blub) Bumiller
|
8acfd87039
|
remember this for later
|
2012-12-05 15:14:21 +01:00 |
|
Wolfgang (Blub) Bumiller
|
5f0f5bedbc
|
More stuff in qcvm -printfuns
|
2012-12-05 14:22:24 +01:00 |
|
Wolfgang (Blub) Bumiller
|
fe150aee72
|
ir_function_pass_minor: some minor optimizations
|
2012-12-05 14:14:35 +01:00 |
|
Wolfgang (Blub) Bumiller
|
8777624fe2
|
ast_block_add_expr now lets the block fully adopt the type of the added expression
|
2012-12-05 12:57:00 +01:00 |
|
Wolfgang (Blub) Bumiller
|
f140251e85
|
s/parser_sy_pop/parser_sy_apply_operator/
|
2012-12-04 21:04:14 +01:00 |
|