re PR c++/65398 ([C++11] GCC rejects constexpr variable definitions with valid initia...
[gcc.git] / gcc / cp / ChangeLog
index 5b3fd49f540112c113790b3f4c2dbf02e02bf34c..ec35f22fe0444e670129196364c138acadc76b07 100644 (file)
@@ -1,3 +1,53 @@
+2015-03-30  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/65398
+       * constexpr.c (cxx_fold_indirect_ref): Don't perform the
+        *(&A[i] p+ j) => A[i + j] transformation here.
+       (cxx_eval_pointer_plus_expression): New function.
+       (cxx_eval_constant_expression): Use it here.
+
+2015-03-27  Tobias Burnus  <burnus@net-b.de>
+
+       PR c/65586
+       * parser.c (cp_parser_omp_for, cp_parser_omp_parallel,
+       cp_parser_omp_distribute, cp_parser_omp_teams, cp_parser_omp_target,
+       cp_parser_omp_declare): Don't show error for skipped omp pragmas with
+       -fopenmp-simd.
+
+2015-03-27  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/65556
+       * semantics.c (finish_switch_cond): If the unlowered type is not an
+       enum, use the type of the condition.
+
+2015-03-27  Jason Merrill  <jason@redhat.com>
+
+       PR c++/65509
+       * decl.c (make_rtl_for_nonlocal_decl): Don't defer static
+       constants.
+
+2015-03-26  Mikhail Maltsev  <maltsevm@gmail.com>
+
+       PR c++/65154
+       * init.c (build_vec_init): Fix initializing aggregates
+       with empty init list.
+
+2015-03-26  Jason Merrill  <jason@redhat.com>
+
+       PR c++/65525
+       * constexpr.c (potential_constant_expression_1): Handle MEM_REF.
+
+2015-03-25  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/65558
+       * name-lookup.c (handle_namespace_attrs): Ignore abi_tag attribute
+       on an anonymous namespace.
+
+2015-03-25  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/61670
+       * class.c (remove_zero_width_bit_fields): Check for null DECL_SIZE.
+
 2015-03-24  Jason Merrill  <jason@redhat.com>
 
        PR c++/65046