lto-symtab.c: Include alias.h
* 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. From-SVN: r230911
Showing
This diff is collapsed.
Click to expand it.
gcc/testsuite/gfortran.dg/lto/bind_c-6_0.f90
0 → 100644
gcc/testsuite/gfortran.dg/lto/bind_c-6_1.c
0 → 100644
Please
register
or
sign in
to comment