diff options
Diffstat (limited to 'gcc/cp/init.c')
-rw-r--r-- | gcc/cp/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/init.c b/gcc/cp/init.c index 99891cb2922..7c8d9c6a800 100644 --- a/gcc/cp/init.c +++ b/gcc/cp/init.c @@ -1573,7 +1573,7 @@ integral_constant_value (tree decl) && DECL_INITIAL (decl) && DECL_INITIAL (decl) != error_mark_node && TREE_TYPE (DECL_INITIAL (decl)) - && INTEGRAL_OR_ENUMERATION_TYPE_P (TREE_TYPE (decl))) + && INTEGRAL_OR_ENUMERATION_TYPE_P (TREE_TYPE (DECL_INITIAL (decl)))) decl = DECL_INITIAL (decl); return decl; } |