cvt.c (cp_convert_to_pointer): Preserve TREE_CONSTANT.
authorJason Merrill <jason@yorick.cygnus.com>
Thu, 19 Feb 1998 10:05:22 +0000 (10:05 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 19 Feb 1998 10:05:22 +0000 (05:05 -0500)
commit31bcaa204ff12aad6a553a333e0a72c9b5b1111a
treea9a875c1afc587aae78e6de72dc1b8878ac5a6dc
parente62d5b583306f95fdc41d51d56349598e341d30b
cvt.c (cp_convert_to_pointer): Preserve TREE_CONSTANT.

* cvt.c (cp_convert_to_pointer): Preserve TREE_CONSTANT.
* typeck2.c (initializer_constant_valid_p): Allow conversions
between pointers and refrerences.

From-SVN: r18119
gcc/cp/ChangeLog
gcc/cp/cvt.c
gcc/cp/typeck2.c