PR c/5675
* c-typeck.c (build_c_cast): Revert patch of 2003-02-16: don't
fold constant variables into initial values.
From-SVN: r93769
+2005-01-17 Ian Lance Taylor <ian@airs.com>
+
+ PR c/5675
+ * c-typeck.c (build_c_cast): Revert patch of 2003-02-16: don't
+ fold constant variables into initial values.
+
2005-01-17 Kazu Hirata <kazu@cs.umass.edu>
* tree-cfg.c (tree_can_merge_blocks_p): Reorder two checks.
pedwarn ("ISO C forbids conversion of object pointer to function pointer type");
ovalue = value;
- /* Replace a nonvolatile const static variable with its value. */
- if (optimize && TREE_CODE (value) == VAR_DECL)
- value = decl_constant_value (value);
value = convert (type, value);
/* Ignore any integer overflow caused by the cast. */