[Scummvm-devel] PS2 backend - up & running (almost)

Max Horn max at quendi.de
Thu Oct 30 18:45:58 CET 2008


Hi Keith!

Am 29.10.2008 um 19:48 schrieb Keith Scroggins:

> Hello Max and all,
>
> I suffer the same ICE in the ThemeParser/hashmap code with -O2, but am
> fine with just -O building for my Atari target.  Sort of figured it  
> might
> be a gcc issue, and did not look further because I have not had the  
> time
> to dig into it.  Here is my error:

Thanks for your report. So this issue also happens with GCC 4.3.2? Max  
was using GCC 3.2.2 for PS2...

Is the 68k target still actively supported by the GCC folks? If so, it  
might be a good idea to file a bug report about this. The Hashmap code  
is fairly isolated, so it shouldn't be difficult to generate a  
"minimal" code example from this. Keith, can you do that? You can find  
instructions for this on <http://gcc.gnu.org/bugs.html>;  if you need  
advice/assistance, ping me.


> ../scummvm/gui/ThemeParser.h: In member function 'virtual void
> GUI::ThemeParser::buildLayout()':
> ../scummvm/gui/ThemeParser.h:224: error: insn does not satisfy its  
> constraints:
> (insn 194 6419 6421 16 ../scummvm/common/hashmap.h:457 (set (reg:SI  
> 0 %d0)
>         (plus:SI (mem/f:SI (reg:SI 8 %a0) [79 S4 A16])
>             (reg:SI 0 %d0))) 132 {*addsi3_internal} (nil))
> ../scummvm/gui/ThemeParser.h:224: internal compiler error: in
> reload_cse_simplify_operands, at postreload.c:395
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> make: *** [gui/ThemeParser.o] Error 1
>

This error is quite different from the one Max got in GCC 3.2.2, and  
even occurs in a different line in hashmap.h, so they might not be  
related, given that the two GCC versions are also radically different,  
and so are the target CPUs.


Cheers,
Max




More information about the Scummvm-devel mailing list