[Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host

2016-03-22 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70162 --- Comment #11 from Oleg Endo --- (In reply to Nick Clifton from comment #10) Thanks for the clarification, Nick.

[Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host

2016-03-21 Thread nickc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70162 --- Comment #10 from Nick Clifton --- Hi Oleg, > Just out of curiosity ... what's with the 64 in rx_print_integer? It is totally arbitrary... > Why do numbers in that range need to be printed in decimal? They don't. It is just that in my exp

[Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host

2016-03-19 Thread nickc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70162 Nick Clifton changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host

2016-03-19 Thread nickc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70162 --- Comment #7 from Nick Clifton --- Author: nickc Date: Thu Mar 17 10:16:38 2016 New Revision: 234280 URL: https://gcc.gnu.org/viewcvs?rev=234280&root=gcc&view=rev Log: PR target/70162 * config/rx/rx.c (rx_print_integer): Print

[Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host

2016-03-19 Thread nickc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70162 Nick Clifton changed: What|Removed |Added Attachment #37974|0 |1 is obsolete|

[Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host

2016-03-19 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70162 --- Comment #5 from Oleg Endo --- (In reply to Nick Clifton from comment #4) > Yes - I would much prefer to patch the assembler so that it can cope with > large > values, even when compiled for a 32-bit host. That way the assembler will be > ab

[Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host

2016-03-18 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70162 --- Comment #9 from Oleg Endo --- Just out of curiosity ... what's with the 64 in rx_print_integer? Why do numbers in that range need to be printed in decimal?

[Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host

2016-03-15 Thread nickc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70162 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host

2016-03-15 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70162 Oleg Endo changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #3 from

[Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host

2016-03-10 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70162 --- Comment #2 from Oleg Endo --- (In reply to Oleg Endo from comment #1) > > I guess there are more cases like (*2) above, where constants are encoded in > a larger format than necessary. Looks like that indeed. For example: void bleh (volat

[Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host

2016-03-10 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70162 --- Comment #1 from Oleg Endo --- 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: