------- Comment #4 from joseph at codesourcery dot com 2009-10-04 12:17 ------- Subject: Re: New: -m32 causes an ICE when the object files were compiled with 64bit
While this case should give a sensible error (not an ICE), linking an object built with a 32-bit compiler with no special options and one built with a 64-bit compile with -m32 should work with LTO if it would work without [*]. So if we cause an error in that case, we should make sure there's a PR for fixing it. [*] This depends on bug 41526 being fixed if the *hosts* differ in HOST_BITS_PER_WIDE_INT or HOST_BITS_PER_LONG settings. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41565