Re: How to define target-specific PSImode?

2009-12-07 Thread DJ Delorie
Note that the m32c port uses PSImode, so it may offer some suggestions as example code.

Re: How to define target-specific PSImode?

2009-12-07 Thread Lev Yudalevich
Note that the m32c port uses PSImode, so it may offer some suggestions as example code. Yes, that's right, but the m32c port uses it as a mode for pointers, while I'm trying to do it with scalars. Anyway, thank you very much.

Re: How to define target-specific PSImode?

2009-12-06 Thread Robert Dewar
Lev Yudalevich wrote: Hi, I asked this question about a month ago at gcc-help, but got no answer, so... Well you are always depending on volunteer help when you send in a question like this, so if no one feels like answering, you won't get an answer. Nothing very unusual there. I'm trying

Re: How to define target-specific PSImode?

2009-12-06 Thread Lev Yudalevich
Bug 42310 has been added to the database http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42310 Thank you very much! Below is a copy of the bug report: The exact version of GCC: 4.4.1 The system type: Linux version 2.6.9-67.EL (Red Hat 3.4.6-8) The options given when GCC was configured/built:

Re: How to define target-specific PSImode?

2009-12-06 Thread Joseph S. Myers
On Sun, 6 Dec 2009, Robert Dewar wrote: Plase report the specific crash as a bug report with full details, in particular a full compilable example that shows the ICE. Obviously gcc should never crash, no matter whether your code is right or wrong. But if the crash is in a modified version of

Re: How to define target-specific PSImode?

2009-12-06 Thread Joern Rennecke
Quoting Robert Dewar de...@adacore.com: Lev Yudalevich wrote: However, when the resulting gcc compiler crashes (ICE) when it tries to convert any integer into my new type. Plase report the specific crash as a bug report with full details, in particular a full compilable example that shows

Re: How to define target-specific PSImode?

2009-12-06 Thread Lev Yudalevich
First, thank you very very much for your reply! Next, would you be so kind to give me a hint where can I find any info about what you called required conversions patterns from / to PSImode please? Sincerely, -- Lev. On Mon, Dec 7, 2009 at 6:10 AM, Joern Rennecke amyl...@spamcop.net wrote:

Re: How to define target-specific PSImode?

2009-12-06 Thread Joern Rennecke
Quoting Lev Yudalevich lyuda...@gmail.com: First, thank you very very much for your reply! Next, would you be so kind to give me a hint where can I find any info about what you called required conversions patterns from / to PSImode please? doc/rtl.texi, section Standard Pattern Names For