/cp
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/33465
* error.c (dump_expr): Handle FIX_TRUNC_EXPR and FLOAT_EXPR.
/testsuite
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/33465
* g++.dg/parse/error34.C: New.
* g++.dg/parse/error35.C: Likewise.
/cp
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/38655
* error.c (dump_type_prefix, dump_type_suffix): Handle FIXED_POINT_TYPE.
/testsuite
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/38655
* g++.dg/cpp0x/decltype-38655.C: New.
From-SVN: r143790
+2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/33465
+ * error.c (dump_expr): Handle FIX_TRUNC_EXPR and FLOAT_EXPR.
+
+2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/38655
+ * error.c (dump_type_prefix, dump_type_suffix): Handle FIXED_POINT_TYPE.
+
2009-01-29 Paolo Carlini <paolo.carlini@oracle.com>
* typeck.c (invalid_nonstatic_memfn_p): Use
case TYPEOF_TYPE:
case DECLTYPE_TYPE:
case TYPE_PACK_EXPANSION:
+ case FIXED_POINT_TYPE:
dump_type (t, flags);
pp_base (cxx_pp)->padding = pp_before;
break;
case TYPEOF_TYPE:
case DECLTYPE_TYPE:
case TYPE_PACK_EXPANSION:
+ case FIXED_POINT_TYPE:
break;
default:
case LTGT_EXPR:
case COMPLEX_EXPR:
case BIT_FIELD_REF:
+ case FIX_TRUNC_EXPR:
+ case FLOAT_EXPR:
pp_expression (cxx_pp, t);
break;
+2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/33465
+ * g++.dg/parse/error34.C: New.
+ * g++.dg/parse/error35.C: Likewise.
+
+2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/38655
+ * g++.dg/cpp0x/decltype-38655.C: New.
+
2009-01-30 Jakub Jelinek <jakub@redhat.com>
PR target/39002
--- /dev/null
+// PR c++/38655
+// { dg-options "" }
+
+__decltype(0r)* p = 1; // { dg-error "unnamed-fixed" }
--- /dev/null
+// PR c++/33465
+
+int foo(int);
+
+void bar(double d)
+{
+ foo(d)(); // { dg-error "foo\\(\\(int\\)d\\)" }
+}
--- /dev/null
+// PR c++/33465
+
+int foo(double);
+
+void bar(int i)
+{
+ foo(i)(); // { dg-error "foo\\(\\(double\\)i\\)" }
+}