typeck.c (enum_cast_to_int): Use CONVERT_EXPR_P to check for conversions.
authorRichard Biener <rguenther@suse.de>
Mon, 29 Sep 2014 10:42:16 +0000 (10:42 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 29 Sep 2014 10:42:16 +0000 (10:42 +0000)
commitf764304c46543b8ede5f16ad05d0c20455a2a619
tree323f8f1c431d290d01eb39872636ac0cb54bd2fe
parentf1d6f494666f6fb9ee061d21a1a190e45c2ea83c
typeck.c (enum_cast_to_int): Use CONVERT_EXPR_P to check for conversions.

2014-09-29  Richard Biener  <rguenther@suse.de>

cp/
* typeck.c (enum_cast_to_int): Use CONVERT_EXPR_P to check
for conversions.

From-SVN: r215681
gcc/cp/ChangeLog
gcc/cp/typeck.c