[Bug lto/44889] Bogus "type of ÂnsLayoutModule_NSModule does not match original declaration" waning compiling Mozilla
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jul 10 08:40:00 GMT 2010
------- Comment #8 from rguenth at gcc dot gnu dot org 2010-07-10 08:40 -------
Subject: Bug 44889
Author: rguenth
Date: Sat Jul 10 08:39:46 2010
New Revision: 162032
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162032
Log:
2010-07-10 Richard Guenther <rguenther@suse.de>
PR lto/44889
* gimple.c (gimple_fixup_complete_and_incomplete_subtype_p): New
helper function.
(gimple_types_compatible_p): Similar to pointed-to
types allow and merge a mix of complete and incomplete aggregate.
Use gimple_fixup_complete_and_incomplete_subtype_p for that.
(iterative_hash_gimple_type): Adjust for that.
* gcc.dg/lto/20100709-1_0.c: New testcase.
* gcc.dg/lto/20100709-1_1.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.dg/lto/20100709-1_0.c
trunk/gcc/testsuite/gcc.dg/lto/20100709-1_1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44889
More information about the Gcc-bugs
mailing list