ncc: make sure t->addr == 0 before calling o_popnum()
commit54b8cd0c8fbe0c6b06e27912b56fb57891a7cbf7
authorAli Gholami Rudi <ali@rudi.ir>
Wed, 11 May 2011 13:35:10 +0000 (11 18:05 +0430)
committerAli Gholami Rudi <ali@rudi.ir>
Wed, 11 May 2011 13:40:39 +0000 (11 18:10 +0430)
treed4e797d90269118dfffca157c8c0ce45f1a39f14
parent333cfe09e9d86a471a9c137eb5586b62fcecab8c
ncc: make sure t->addr == 0 before calling o_popnum()

Otherwise expressions like *(int *) 0x1000 would be considered
constants while they clearly are not.  Also make sure t->addr is
zero for both sides of a conditional expression.
ncc.c