This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 Mar 2016 09:14:58 +0000
- Subject: [Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host
- Auto-submitted: auto-generated
- References: <bug-70162-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70162
--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> ---
I can confirm that with the above patches applied, my RX app builds on i686
successfully and does not crash anymore. However, there are some size
differences when comparing i686 and x86_64 hosted builds:
i686:
text data bss dec
254116 3174 22796 280086
x86_64:
text data bss dec
253388 3174 22820 279382
I guess there are more cases like (*2) above, where constants are encoded in a
larger format than necessary.