quakeforge/tools/qfcc
Bill Currie 7701393bd4 Append a new sblock for return when necessary.
If the final block ends in a conditional statement, appending return to the
block will hide the conditional statement from the flow analyzer. This may
cause the conditional statement's destination node be become unreachable
according to the analyzer and thus eliminated. The label for the branch
then loses its target sblock and thus the code generator will produce a
zero-distance jump resulting in an infinite loop.

Thus, if the final block ends in a conditional statement (or, for
completeness, a call statement), append a new empty block before adding the
return statement.
2012-12-21 20:11:27 +09:00
..
doc Merge branch 'qfcc-cse' 2012-12-13 20:17:28 +09:00
include Fix mangling of types when attaching protocols. 2012-12-20 13:12:05 +09:00
source Append a new sblock for return when necessary. 2012-12-21 20:11:27 +09:00
test Append a new sblock for return when necessary. 2012-12-21 20:11:27 +09:00
AUTHORS more mailing list corrections 2003-07-12 21:50:22 +00:00
bootstrap scary, but the only changes qfcc needed to build as part of quakeforge was 2002-01-22 05:48:03 +00:00
configure.in fix CPP_NAME for independently built qfcc 2002-06-04 20:43:11 +00:00
Makefile.am Add a test harness for qfcc. 2012-11-22 21:59:01 +09:00
TODO Add more todo items. 2012-12-19 21:52:10 +09:00