Commit graph

2573 commits

Author SHA1 Message Date
Wolfgang Bumiller
f1fa8f6055 So why doesn't any popular compiler complain about this 2012-12-28 11:50:03 +01:00
Wolfgang Bumiller
126b0fe324 ... This... I'll have to git rewrite-history at some point 2012-12-28 11:43:17 +01:00
Dale Weiler
566dda6ad7 Working on getting gmqcc to work when compiled with tcc 2012-12-28 09:30:01 +00:00
Dale Weiler
a7724bffaa Reorder operands 2012-12-28 09:06:04 +00:00
Dale Weiler
dbb7a87fd8 Quoting of strings is forbid in some "make" implementations 2012-12-28 09:05:14 +00:00
Dale Weiler
cfa7119fdb Got it working on arm :) 2012-12-28 08:59:41 +00:00
Dale Weiler
ba25970f27 Always use -fsigned-char .. The compiler I was using had -funsigned-char by default on ARM (which was breaking everything ...) try it .. add -funsigned-char and run the test-suite (only 2 out of all the tests actually pass, and it's by fluke) 2012-12-28 08:52:13 +00:00
Wolfgang Bumiller
fb30f11bc1 manpage: -floop-labels 2012-12-28 00:21:59 +01:00
Wolfgang Bumiller
03c079cb8c Some default options for -std=gmqcc including -floop-labels 2012-12-28 00:21:53 +01:00
Wolfgang Bumiller
a60d0182db finish parsing of labeled loops; ast support added 2012-12-28 00:04:09 +01:00
Wolfgang Bumiller
c702970a0e distinguish between break/continue levels in the parser 2012-12-27 23:52:57 +01:00
Wolfgang Bumiller
ebb7cb2ae3 parsing of loop labels 2012-12-27 23:43:20 +01:00
Wolfgang Bumiller
c6e7e80f23 there's no -f flag named overlap-locals... removed the opts.def entry 2012-12-27 22:18:58 +01:00
Wolfgang Bumiller
4187332bb1 Merge pull request #77 from matthiaskrgr/PKGBUILD
PKGBUILDs: note myself as contributor.
2012-12-27 11:10:10 -08:00
matthiaskrgr
b1e0687373 PKGBUILDs: note myself as contributor. 2012-12-27 20:07:58 +01:00
Wolfgang Bumiller
8624af879a bumping arch/release PKGBUILD to 0.2.2 2012-12-27 14:48:52 +01:00
Wolfgang Bumiller
517b6fed81 Another bool->int fix; now clang-compiled gmqcc actually works... 2012-12-27 14:33:58 +01:00
Wolfgang Bumiller
24752b5fd1 manpage: -fbail-on-werror 2012-12-27 12:48:36 +01:00
Wolfgang Bumiller
5cfd97c344 -fbail-on-werror option 2012-12-27 12:46:36 +01:00
Wolfgang Bumiller
24f3098418 fix: when there are no additional temps the first one allocated slot's size was counted twice resulting in some additional unused globals 2012-12-27 11:46:08 +01:00
Wolfgang Bumiller
babdebee79 Merge pull request #75 from matthiaskrgr/master
mention PKGBUILDs in INSTALL file, fix typo in manpage
2012-12-27 02:06:04 -08:00
Wolfgang Bumiller
3f8f2b3f48 manpage: -Oglobal-temps 2012-12-26 23:20:49 +01:00
Wolfgang Bumiller
d4483bfda6 -Oglobal-temps 2012-12-26 23:18:45 +01:00
Wolfgang Bumiller
93dbfa18f1 fix -v option parsing in qcvm 2012-12-26 22:49:50 +01:00
Wolfgang Bumiller
1cca992a8e factoring out temp-slot-assignment and using it for the declared locals too, makes -Olocal-temps more effective 2012-12-26 22:09:54 +01:00
matthiaskrgr
3d9760473b manpage: gmqcc: fix typo 2012-12-26 22:03:08 +01:00
matthiaskrgr
00fc3a5686 INSTALL: mention ArchLinux PKGBUILDs. 2012-12-26 21:57:26 +01:00
Wolfgang Bumiller
b42328dbc6 Switch over to LONGBIT 2012-12-26 21:39:00 +01:00
Wolfgang Bumiller
24161543d9 Merge pull request #74 from matthiaskrgr/PKGBUILD
add arch PKGBUILDs for git and release build.
2012-12-26 12:31:25 -08:00
matthiaskrgr
1f867e3920 PKGBUILD: formatting 2012-12-26 20:21:41 +01:00
matthiaskrgr
1ac110d426 add PKGBUILD for release build. 2012-12-26 20:17:29 +01:00
matthiaskrgr
56568d24ff PKGBUILD: license is MIT 2012-12-26 20:13:07 +01:00
Wolfgang Bumiller
de3d8747f7 fix uninitialized warnings in ir.c 2012-12-26 20:07:57 +01:00
matthiaskrgr
9bf6b2e1bd PKGBUILD: install custom license file. 2012-12-26 20:07:51 +01:00
matthiaskrgr
c3a867f0c2 PKGBUILD: license is not GPL actually 2012-12-26 20:03:17 +01:00
Wolfgang Bumiller
f832b86dcd Fixing uninitialized warnings in parser.c 2012-12-26 20:00:17 +01:00
Wolfgang Bumiller
33c7707f56 adding -fno-strict-aliasing 2012-12-26 19:58:53 +01:00
matthiaskrgr
728a8e975a add PKGBUILD for git build. 2012-12-26 19:58:40 +01:00
Wolfgang Bumiller
365fe400b0 manpage: -dump, -dumpfin 2012-12-26 19:37:55 +01:00
Wolfgang Bumiller
b32bd22af3 Merge pull request #73 from matthiaskrgr/master
fix some typos in todo file
2012-12-26 10:21:31 -08:00
matthiaskrgr
a2504f6455 TODO: fix typos 2012-12-26 19:15:40 +01:00
Wolfgang Bumiller
700628b2cb counters for -Ocall-stores because we all love numbers 2012-12-26 19:11:26 +01:00
Wolfgang Bumiller
14889897da Don't copy return values away from OFS_RETURN if they don't get locked. 2012-12-26 18:33:16 +01:00
Wolfgang Bumiller
456e80a7d5 manpage: -Ovoid-return 2012-12-26 10:28:01 +01:00
Wolfgang Bumiller
5779fea9b4 manpage: added -v to the qcvm manpage 2012-12-26 10:26:04 +01:00
Wolfgang Bumiller
af5b552a7f -Ovoid-return - the last INSTR_RETURN of a void functions is replaced by INSTR_DONE to reduce the instruction count 2012-12-26 10:24:33 +01:00
Wolfgang Bumiller
47f7611ec9 verbose switches for the qcvm; makes -printfuns find the instruction-count of a function and print that too 2012-12-26 10:23:45 +01:00
Wolfgang Bumiller
aee7bf0de0 Actually generate the vector member ir_values in ir_function_finalize, since ir_builder_gen_global is too late / happens after life ranges; this should fix -Ooverlap-locals 2012-12-25 23:51:29 +01:00
Wolfgang Bumiller
1172e2b8cc manpage: -Ocall-stores 2012-12-25 23:28:09 +01:00
Wolfgang Bumiller
a7c3ef3e22 -Ocall-stores as part of -O1: instead of having CALL instructions issue STOREs for every parameter, use the newly introduced 'lock' flag to make the operations generating the call's parameters generate them right into the OFS_PARM if there's no interfering CALL in between 2012-12-25 23:25:59 +01:00