r230911 - in /trunk/gcc: lto/ChangeLog lto/lto-...
hubicka@gcc.gnu.org
hubicka@gcc.gnu.org
Wed Nov 25 22:22:00 GMT 2015
Author: hubicka
Date: Wed Nov 25 22:22:37 2015
New Revision: 230911
URL: https://gcc.gnu.org/viewcvs?rev=230911&root=gcc&view=rev
Log:
* lto-symtab.c: Include alias.h
(warn_type_compatibility_p): Replace types_compatible_p checks by
TBAA and size checks; set bit 2 if locations are TBAA incompatible.
(lto_symtab_merge): Compare DECL sizes.
(lto_symtab_merge_decls_2): Warn about TBAA in compatibility.
* gfortran.dg/lto/bind_c-6_0.f90: New testcase.
* gfortran.dg/lto/bind_c-6_1.c: New testcase.
Added:
trunk/gcc/testsuite/gfortran.dg/lto/bind_c-6_0.f90
trunk/gcc/testsuite/gfortran.dg/lto/bind_c-6_1.c
Modified:
trunk/gcc/lto/ChangeLog
trunk/gcc/lto/lto-symtab.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/lto/20100603-1_0.C
More information about the Gcc-cvs
mailing list