Commit graph

2753 commits

Author SHA1 Message Date
Dale Weiler
842b0a1271 Fix uninitialized-global 2012-12-29 14:41:47 +00:00
Wolfgang Bumiller
33be9d4559 Don't allow code like: v * '0 1 0' = 3; to actually work... 2012-12-29 15:13:54 +01:00
Wolfgang Bumiller
fda4f4d027 gmqcc.ini.example: VECTOR_COMPONENTS 2012-12-29 15:13:28 +01:00
Wolfgang Bumiller
3d67b29a7b manpage: -Ovector-components 2012-12-29 15:10:04 +01:00
Wolfgang Bumiller
73bc4cc3e4 -Ovector-components 2012-12-29 15:05:04 +01:00
Dale Weiler
c0eca32b92 Merge pull request #80 from matthiaskrgr/master
add .gitignore file
2012-12-28 19:10:06 -08:00
matthiaskrgr
3567abbd64 Merge remote-tracking branch 'upstream/master' 2012-12-28 23:33:43 +01:00
matthiaskrgr
82f37c87fc add .gitignore file 2012-12-28 23:32:33 +01:00
Wolfgang Bumiller
ded1ab3da1 Typo... 2012-12-28 21:05:04 +01:00
Wolfgang Bumiller
2ac2827256 Updating gmqcc.ini.example 2012-12-28 21:04:14 +01:00
Wolfgang Bumiller
e37adb8c47 GMQCC_GITINFO 2012-12-28 20:39:30 +01:00
Wolfgang Bumiller
14e954284e more general qualifier/attribute parsing, added not-yet-used AST_FLAG_INLINE and [[inline]] 2012-12-28 19:46:28 +01:00
Wolfgang Bumiller
898e00f5b4 manpage: -Wuninitialized-constant -Wuninitialized-global 2012-12-28 19:11:29 +01:00
Wolfgang Bumiller
9315577be6 noref testcase must use -Wno-uninitialized-global 2012-12-28 19:09:06 +01:00
Wolfgang Bumiller
47baca22d9 -Wuninitialized-const, -Wuninitialized-global 2012-12-28 19:07:43 +01:00
Wolfgang Bumiller
dae1291b37 manpage: -Wreserved-names, -funtyped-nil, -fpermissive 2012-12-28 18:27:34 +01:00
Wolfgang Bumiller
77d454725a -Wreserved-names, -fpermissive allows local variables named 'nil' to be created even with -funtyped-nil, they supersede the global untyped 'nil' 2012-12-28 18:22:09 +01:00
Wolfgang Bumiller
2e0216b7c6 'nil' global with -funtyped-nil 2012-12-28 18:16:19 +01:00
Wolfgang Bumiller
40b2a26e89 TYPE_NIL, builder->nil, ast_value_codegen for TYPE_NIL 2012-12-28 18:05:28 +01:00
Dale Weiler
3f88b5fa14 Fix teh paren! 2012-12-28 15:19:19 +00:00
Dale Weiler
8f34e9fa37 added util_vasprintf/util_asprintf .. so we can stop assuming a certian static array size for formatting strings ... I expect to see full migration to this before the next release for protection of over/under flows. As well as identifers >= 1024 bytes :) 2012-12-28 15:02:53 +00:00
Dale Weiler
2ddb49f546 memleak 2012-12-28 14:47:27 +00:00
Dale Weiler
d6e7d8ca75 s/\t/ /g - utf8.c 2012-12-28 12:57:41 +00:00
Dale Weiler
cb12460b95 Fix another Blub bug .. learn to use comments properly :P 2012-12-28 12:54:20 +00:00
Dale Weiler
3688dab048 Fix a very possible bug 2012-12-28 12:50:37 +00:00
Dale Weiler
a6f51264fd Fixed another possible implementation specific bug thanks to this progressive splint idea :) 2012-12-28 12:43:08 +00:00
Dale Weiler
e2f9aa5027 Fix another warning 2012-12-28 12:40:00 +00:00
Dale Weiler
e4b8df2dc6 Fix another warning 2012-12-28 12:36:15 +00:00
Dale Weiler
6935561b41 Fix one warning 2012-12-28 12:33:10 +00:00
Dale Weiler
f58b4a6cd9 Added splint.sh (a progressive way to fix some possible bugs) 2012-12-28 12:29:46 +00:00
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