OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* call.c (null_ptr_cst_p): Use maybe_constant_value.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cp
/
tree.c
diff --git
a/gcc/cp/tree.c
b/gcc/cp/tree.c
index
511730a
..
e55b5bc
100644
(file)
--- a/
gcc/cp/tree.c
+++ b/
gcc/cp/tree.c
@@
-3235,6
+3235,7
@@
bool
cast_valid_in_integral_constant_expression_p (tree type)
{
return (INTEGRAL_OR_ENUMERATION_TYPE_P (type)
+ || cxx_dialect >= cxx0x
|| dependent_type_p (type)
|| type == error_mark_node);
}