2018-11-19 Martin Liska <mliska@suse.cz>
PR lto/88077
* lto-symtab.c (lto_symtab_merge): Transform the
condition before r256989.
2018-11-19 Martin Liska <mliska@suse.cz>
PR lto/88077
* gcc.dg/lto/pr88077_0.c: New test.
* gcc.dg/lto/pr88077_1.c: New test.
From-SVN: r266277
+2018-11-19 Martin Liska <mliska@suse.cz>
+
+ PR lto/88077
+ * lto-symtab.c (lto_symtab_merge): Transform the
+ condition before r256989.
+
2018-11-16 Martin Liska <mliska@suse.cz>
PR lto/88004
int a[]={1,2,3};
here the first declaration is COMMON
and sizeof(a) == sizeof (int). */
- else if (TREE_CODE (type) == ARRAY_TYPE)
- return (TYPE_SIZE (decl) == TYPE_SIZE (TREE_TYPE (type)));
+ else if (TREE_CODE (type) != ARRAY_TYPE
+ || (TYPE_SIZE (type) != TYPE_SIZE (TREE_TYPE (type))))
+ return false;
}
return true;
PR lto/87229
* g++.dg/lto/pr87229_0.C: New testcase.
+2018-11-19 Martin Liska <mliska@suse.cz>
+
+ PR lto/88077
+ * gcc.dg/lto/pr88077_0.c: New test.
+ * gcc.dg/lto/pr88077_1.c: New test.
+
2018-11-19 Martin Liska <mliska@suse.cz>
* g++.dg/gcov/pr84548.C: Remove remove-gcda.
--- /dev/null
+/* { dg-lto-do link } */
+
+int HeaderStr;
--- /dev/null
+char HeaderStr[1];
+
+int main()
+{
+ return 0;
+}