diff options
author | Jason Merrill <jason@redhat.com> | 2009-05-25 19:01:02 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2009-05-25 19:01:02 -0400 |
commit | 550a799d5383a73b52192b71b9234c3efb8be6a9 (patch) | |
tree | 583bc6fb72a9ca524446f8aa253888d047949f48 /gcc/tree-flow.h | |
parent | 85057983ac31039dff4e0963b789ee6684351868 (diff) | |
download | gcc-550a799d5383a73b52192b71b9234c3efb8be6a9.zip gcc-550a799d5383a73b52192b71b9234c3efb8be6a9.tar.gz gcc-550a799d5383a73b52192b71b9234c3efb8be6a9.tar.bz2 |
re PR c++/38064 ([c++0x] operator== doesn't work for enum classes)
PR c++/38064
* typeck.c (cp_build_binary_op): Allow ENUMERAL_TYPE in
arithmetic comparisons.
(cp_common_type): Handle scoped enums.
* call.c (promoted_arithmetic_type_p): Don't use INTEGRAL_TYPE_P.
(add_builtin_candidate, add_builtin_candidates): Likewise.
(convert_like_real): Likewise.
* class.c (check_bitfield_decl): Likewise.
* decl.c (check_static_variable_definition): Likewise.
(compute_array_index_type): Likewise.
* decl2.c (grokbitfield): Likewise.
* init.c (build_new_1): Likewise.
* pt.c (convert_nontype_argument): Likewise.
(current_instantiation): Likewise.
* tree.c (pod_type_p): Likewise.
* typeck.c (build_static_cast_1): Likewise.
(build_reinterpret_cast_1): Likewise.
From-SVN: r147854
Diffstat (limited to 'gcc/tree-flow.h')
0 files changed, 0 insertions, 0 deletions