Dale Weiler
|
2cc51b8eb0
|
Fix FTFBS stuff
|
2012-12-19 21:05:40 +00:00 |
|
Wolfgang (Blub) Bumiller
|
664b6d6604
|
'noreturn' is - for now - a keyword, and used just like noref/var/const, to mark a function as not-returning
|
2012-12-19 20:56:22 +01:00 |
|
Wolfgang (Blub) Bumiller
|
c8e163b0df
|
ast_call now passes AST_FLAG_NORETURN on to the IR
|
2012-12-19 20:47:01 +01:00 |
|
Wolfgang (Blub) Bumiller
|
ba434c8e22
|
removing ast_expression_common.variadic, adding ast_expression_common.flags, added AST_FLAG_VARIADIC and AST_FLAG_NORETURN
|
2012-12-19 20:45:48 +01:00 |
|
Wolfgang (Blub) Bumiller
|
7c5fc26081
|
NRCALL now sets block->final and block->is_return
|
2012-12-19 20:40:45 +01:00 |
|
Wolfgang (Blub) Bumiller
|
bf267d0238
|
ir_block_create_{phi,call} now check self->final
|
2012-12-19 20:39:44 +01:00 |
|
Wolfgang (Blub) Bumiller
|
384446316a
|
VINSTR_NRCALL, translated like any other call for now; to be used to mark a call which never returns, ie the error builtin
|
2012-12-19 20:38:32 +01:00 |
|
Wolfgang Bumiller
|
2a2c208884
|
Merge pull request #48 from mhofstra/patch-1
Small typo fix to make it compile on x86
|
2012-12-18 13:01:43 -08:00 |
|
mhofstra
|
5fc1cc2414
|
Small typo fix to make it compile on x86
|
2012-12-18 21:57:16 +01:00 |
|
Rudolf Polzer
|
acf4da9385
|
Fixes for some minor bugs clang-analyzer and cppcheck found
Signed-off-by: Dale Weiler <killfieldengine@gmail.com>
|
2012-12-18 16:54:51 +00:00 |
|
Wolfgang (Blub) Bumiller
|
8cd94192d8
|
default make target now is 'all'
|
2012-12-18 16:58:21 +01:00 |
|
Wolfgang (Blub) Bumiller
|
dd6f415a04
|
Tests for perl-logic _types_
|
2012-12-18 16:57:38 +01:00 |
|
Wolfgang (Blub) Bumiller
|
2a61a65ce0
|
-fperl-logic now doesn't allow logic ops with operands of different types, but therefore uses the correct output type
|
2012-12-18 16:56:22 +01:00 |
|
Wolfgang (Blub) Bumiller
|
9b9fbb6e3b
|
Added intrinsic: __builtin_debug_typestring(expr) to get the type of an expression as string
|
2012-12-18 16:52:30 +01:00 |
|
Wolfgang (Blub) Bumiller
|
b337f630c8
|
Remove a TODO message
|
2012-12-18 16:36:06 +01:00 |
|
Wolfgang (Blub) Bumiller
|
259aaad324
|
make install-doc now also installs qcvm.q
|
2012-12-18 16:03:48 +01:00 |
|
Wolfgang (Blub) Bumiller
|
9cb46789f0
|
Adding qcvm.1
|
2012-12-18 16:03:29 +01:00 |
|
Wolfgang (Blub) Bumiller
|
e1c3e35422
|
Improved parameter handling of qcvm a little, added --version and --help
|
2012-12-18 15:46:26 +01:00 |
|
Wolfgang (Blub) Bumiller
|
6601e89029
|
fix wrong --version string
|
2012-12-18 15:44:26 +01:00 |
|
Wolfgang (Blub) Bumiller
|
70f676784d
|
Better usage message for qcvm, don't exit after any of the information prints - but don't execute if any of them are used
|
2012-12-18 15:39:20 +01:00 |
|
Wolfgang (Blub) Bumiller
|
49c4da9670
|
BUGS, SEE ALSO and AUTHOR sections in the manpage
|
2012-12-18 15:30:59 +01:00 |
|
Wolfgang (Blub) Bumiller
|
201b3f9218
|
It's -config=file, not -config file
|
2012-12-18 15:27:12 +01:00 |
|
Wolfgang (Blub) Bumiller
|
52b4c9f0c1
|
Added -config to usage and manpage, added a CONFIG section in the manpage describing the ini file format, and added a short example to it
|
2012-12-18 15:26:41 +01:00 |
|
Wolfgang (Blub) Bumiller
|
82e0073433
|
Add included -fs and -Ws to for each -std in the manpage
|
2012-12-18 14:21:01 +01:00 |
|
Wolfgang (Blub) Bumiller
|
dccafd65ac
|
More jump removal
|
2012-12-18 14:03:20 +01:00 |
|
Wolfgang (Blub) Bumiller
|
19deac0707
|
*sigh*
|
2012-12-18 13:13:54 +01:00 |
|
Wolfgang (Blub) Bumiller
|
66e6e6329f
|
vector components are floats, not vectors
|
2012-12-18 12:58:15 +01:00 |
|
Wolfgang (Blub) Bumiller
|
d9cca87aff
|
Don't generate IF/IFNOT with +1 offsets
|
2012-12-18 12:57:09 +01:00 |
|
Wolfgang (Blub) Bumiller
|
d09ab90f24
|
-fsingle-vector-defs to disable _x,_y,_z generation
|
2012-12-18 12:47:48 +01:00 |
|
Wolfgang (Blub) Bumiller
|
116d744823
|
Generate _x,_y,_z defs/fields
|
2012-12-18 12:41:38 +01:00 |
|
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 |
|