PPC c++ problems with > 8 arguments

Troy Benjegerdes hozer@drgw.net
Sat Oct 10 23:40:00 GMT 1998


While compileing the 'Coda' filesystem package on a glibc 2.0.96 system
with egcs 1.1b ( egcs-2.91.57 ) on a PowerPC, I get the following error:

c++ -g   -MD   -I. -I/home/hozer/coda-4.7.2/include  -UVENUS   -c hoard.cc
-o hoard.o
hoard.cc: In function `void ParseHoardCommands(struct FILE *, class olist
&, class olist &, class olist &, class olist &, class olist &, class olist
&, class olist &, class olist &)':
hoard.cc:629: internal error--unrecognizable insn:
(insn 3045 3042 231 (set (reg:SI 28 r28)
        (mem:SI (plus:SI (reg:SI 28 r28)
                (const_int 65536)))) -1 (nil)
    (nil))
../../egcs-1.1b/gcc/toplev.c:1360: Internal compiler error in function
fatal_insn 

It appears that c++ has problems on PPC with functions that require that
arguments be placed on the stack, since the first 8 arguments can be
passed in registers.

Let me know if you want the intermediate files (wich are around 150k each)

--------------------------------------------------------------------------
| Troy Benjegerdes    |    troybenj@iastate.edu    |    hozer@drgw.net   |
|    Unix is user friendly... You just have to be friendly to it first.  |
| This message composed with 100% free software.    http://www.linux.org |
--------------------------------------------------------------------------




More information about the Gcc-bugs mailing list