Futher changes to castsmaster
commit692a8a627b8dd27a9b1f7f5a5119f01faef2c6b1
authorDaniel Glöckner <daniel-gl@gmx.net>
Thu, 20 Nov 2008 21:52:35 +0000 (20 22:52 +0100)
committerDaniel Glöckner <daniel-gl@gmx.net>
Thu, 20 Nov 2008 21:52:35 +0000 (20 22:52 +0100)
tree319ab0e747d1ed5f0843996deb7d1dc9e17f2e93
parentc44ed2df09b3b24a0cb2d5ba7d05c26d721c5a52
Futher changes to casts

nocode_wanted can't be used to enforce constant expressions, as it is
set f.ex. by __builtin_constant_p.

A null pointer is unequal to a pointer to any object or function.
Assuming symbols always point to memory, a symbol+constant cast to bool
is always true.
tcc.c