Force const. expr. in expr_cond outside function
commitb2f5ee9b2de40e26ba3d92cf3950be6da7766b7d
authorThomas Preud'homme <thomas.preudhomme@celest.fr>
Sat, 30 Jul 2011 20:57:53 +0000 (30 22:57 +0200)
committerThomas Preud'homme <thomas.preudhomme@celest.fr>
Sat, 30 Jul 2011 22:19:13 +0000 (31 00:19 +0200)
tree01569c465e8e0e539f1d8648ce953216b9f6801f
parent339f961c115fcff68d94026b930b6840fe023eb7
Force const. expr. in expr_cond outside function

Since no code should be generated outside a function, force expr_cond to
only consider constant expression when outside a function since the
generic code can generate some code.
tccgen.c