Commit 6efd8160 by Richard Henderson Committed by Richard Henderson

* c-typeck.c (build_c_cast): Remove dead code.

From-SVN: r33739
parent 02a749ec
2000-05-06 Richard Henderson <rth@cygnus.com>
* c-typeck.c (build_c_cast): Remove dead code.
2000-05-06 Richard Henderson <rth@cygnus.com>
* flow.c (split_edge): Don't allocate global_live_at_start for
the new block unless the old blocks had them as well.
......
......@@ -3702,11 +3702,6 @@ build_c_cast (type, expr)
if (TREE_CODE (type) == POINTER_TYPE
&& TREE_CODE (otype) == INTEGER_TYPE
&& TYPE_PRECISION (type) != TYPE_PRECISION (otype)
#if 0
/* Don't warn about converting 0 to pointer,
provided the 0 was explicit--not cast or made by folding. */
&& !(TREE_CODE (value) == INTEGER_CST && integer_zerop (value))
#endif
/* Don't warn about converting any constant. */
&& !TREE_CONSTANT (value))
warning ("cast to pointer from integer of different size");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment