summaryrefslogtreecommitdiff
path: root/gcc/testsuite/ChangeLog
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2009-05-25 19:01:02 -0400
committerJason Merrill <jason@gcc.gnu.org>2009-05-25 19:01:02 -0400
commit550a799d5383a73b52192b71b9234c3efb8be6a9 (patch)
tree583bc6fb72a9ca524446f8aa253888d047949f48 /gcc/testsuite/ChangeLog
parent85057983ac31039dff4e0963b789ee6684351868 (diff)
downloadgcc-550a799d5383a73b52192b71b9234c3efb8be6a9.tar.gz
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/testsuite/ChangeLog')
-rw-r--r--gcc/testsuite/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 578bbeeb8d2..03aa1166e1f 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-25 Jason Merrill <jason@redhat.com>
+
+ PR c++/38064
+ * g++.dg/cpp0x/enum3.C: New test.
+
2009-05-25 Richard Guenther <rguenther@suse.de>
PR tree-optimization/36327