]> gcc.gnu.org Git - gcc.git/commit
re PR lto/40902 (LTO doesn't merge CV differences properly)
authorRichard Guenther <rguenther@suse.de>
Mon, 5 Oct 2009 14:27:39 +0000 (14:27 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 5 Oct 2009 14:27:39 +0000 (14:27 +0000)
commitfd7588bcde3fd5a94a4e62b51a394a2a0926701b
tree4e43893fdcd55979833a36ef94e1565238f19dee
parentfe03b3df84399b6e2f63ea4286b295e8dc145c60
re PR lto/40902 (LTO doesn't merge CV differences properly)

2009-10-05  Richard Guenther  <rguenther@suse.de>

PR lto/40902
* lto-symtab.c (lto_compatible_attributes_p): Remove.
(external_aggregate_decl_p): Likewise.
(lto_symtab_compatible): Re-structure.  Remove dead code.
For variables ignore toplevel qualifiers when comparing types.
Issue warnings, not errors for mismatched user-alignment.

* gcc.dg/lto/20091005-1_0.c: New testcase.
* gcc.dg/lto/20091005-1_1.c: Likewise.

From-SVN: r152452
gcc/ChangeLog
gcc/lto-symtab.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/20091005-1_0.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/20091005-1_1.c [new file with mode: 0644]
This page took 0.066669 seconds and 5 git commands to generate.