2016-06-05 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/49377
* g++.dg/template/pr49377.C: New.
From-SVN: r237098
+2016-06-05 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/49377
+ * g++.dg/template/pr49377.C: New.
+
2016-06-04 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/71405
--- /dev/null
+// PR c++/49377
+
+template <typename T, int N> class v;
+
+template <typename T> class v<T,2> {
+ v() { };
+} __attribute__((__may_alias__));
+
+typedef v<float,2> float2;
+
+class a {
+ void f(float2 &point);
+ float2 d;
+};
+
+void a::f(float2 &point) { }