quakeforge/tools/qfcc/test
Bill Currie 1985b6d4fd Avoid creating a struct temp for ivar struct return
This fixed the uninitialized temp warning in HUD.r. The problem was
caused by the flow analyzer not being able to detect that the struct
temp was being initialized by the move statement due to the address of
the temp being in a pointer temp. While it would be good to use a
constant pointer for the address of the struct temp or improving the
flow analyzer to track actual data, avoiding the temp in the first place
results in nicer code as it removes a move statement.
2020-02-15 23:49:12 +09:00
..
old Add a new test case. 2012-11-22 21:59:01 +09:00
.gdbinit v6 modulo test 2010-12-19 11:19:23 +09:00
address-cast.r Add failing global init test too 2020-02-15 23:49:12 +09:00
alignment.r Finish up alignment tests and add address cast 2020-02-15 23:49:12 +09:00
build-compile-fail-run Create more double related tests 2020-02-15 23:49:12 +09:00
build-run Add tests for swapping vars and triangle area. 2018-08-21 16:27:22 +09:00
chewed-alias.r Add a test case for the alias chain mangling. 2012-11-27 18:33:41 +09:00
chewed-return.r Don't use the expr type for assignments. 2012-11-30 21:06:08 +09:00
comma-expr.r Implement comma expressions 2019-06-09 16:56:20 +09:00
deadbool.r Implement double constants 2020-02-15 23:49:12 +09:00
double-demote-float-ainit.r Test array initializer double demotions 2020-02-15 23:49:12 +09:00
double-demote-float-ginit.r Catch double demotion in global initializers 2020-02-15 23:49:12 +09:00
double-demote-float-linit.r Catch and warn demotion of double in assignments 2020-02-15 23:49:12 +09:00
double-demote-float.r Add tests for double demotion 2020-02-15 23:49:12 +09:00
double-demote-int-ainit.r Test array initializer double demotions 2020-02-15 23:49:12 +09:00
double-demote-int-ginit.r Catch double demotion in global initializers 2020-02-15 23:49:12 +09:00
double-demote-int-linit.r Catch and warn demotion of double in assignments 2020-02-15 23:49:12 +09:00
double-demote-int.r Add tests for double demotion 2020-02-15 23:49:12 +09:00
double-float-compare.r Create more double related tests 2020-02-15 23:49:12 +09:00
double-int-compare.r Create more double related tests 2020-02-15 23:49:12 +09:00
double.r Create more double related tests 2020-02-15 23:49:12 +09:00
enum.r Fix assigning int to enum or enum to int 2019-06-10 08:46:40 +09:00
fordecl.r Fix for decl test scope issue 2019-06-09 13:55:07 +09:00
func-expr.r Add a test for functions in binary expressions. 2013-09-27 23:15:57 +09:00
func-static.r Add a test for function local static variables. 2012-12-03 16:27:31 +09:00
infloop.r Add a test for writes to global vars in a loop. 2012-11-24 14:53:45 +09:00
ivar-struct-return.r Avoid creating a struct temp for ivar struct return 2020-02-15 23:49:12 +09:00
Makefile.am Add a test case for the uninit temp in HUD.r 2020-02-15 23:49:12 +09:00
modulo.r Test for full-float % 2020-02-15 23:49:12 +09:00
paramret.r Add a test for returning @param into an array. 2012-12-26 11:49:39 +09:00
quaternion.r Support assigning non-constant vector expressions. 2018-10-12 22:05:17 +09:00
return-ivar.r Force RETURN's operand to be live. 2012-12-20 21:18:27 +09:00
sendv.r Add a test for compiling calls to obj_msg_sendv. 2012-12-22 14:05:12 +09:00
state.r Implement double constants 2020-02-15 23:49:12 +09:00
structarray.r Implement automatic array sizing from initializer 2019-06-09 23:11:38 +09:00
structlive.r Add a test for struct writes. 2012-12-13 13:44:25 +09:00
structptr.r Make structptr.r a little quieter. 2012-11-22 21:59:01 +09:00
structstruct.r Extend nested struct test to cover struct copy 2019-06-17 22:57:40 +09:00
swap.r Add tests for swapping vars and triangle area. 2018-08-21 16:27:22 +09:00
test-bi.c Start implementing vec = [x,y,z]. 2013-09-27 23:15:56 +09:00
test-bi.h Add a test harness for qfcc. 2012-11-22 21:59:01 +09:00
test-defspace.c More defspace tests. 2018-10-09 12:45:26 +09:00
test-defspace.h More defspace tests. 2018-10-09 12:45:26 +09:00
test-harness.c Implement double constants 2020-02-15 23:49:12 +09:00
test-harness.h Test case for accessing nested struct fields 2019-06-17 22:47:44 +09:00
triangle.r Fix several double-related bug 2020-02-15 23:49:12 +09:00
tw-defspace.c More defspace tests. 2018-10-09 12:45:26 +09:00
tw-diagnostic.c Start work on a unit test for defspace. 2018-09-09 22:37:09 +09:00
tw-strpool.c Start work on a unit test for defspace. 2018-09-09 22:37:09 +09:00
vecexpr.r Include test for 2d vector expressions 2019-07-06 14:49:28 +09:00
vecinit.r Set up temp aliases correctly 2019-06-18 10:38:19 +09:00
voidfor.r Append a new sblock for return when necessary. 2012-12-21 20:11:27 +09:00
while.r Add a test for while (count--) 2012-11-22 21:59:00 +09:00