This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/41565] -m32 causes an ICE when the object files were compiled with 64bit
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2009 12:17:10 -0000
- Subject: [Bug lto/41565] -m32 causes an ICE when the object files were compiled with 64bit
- References: <bug-41565-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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