c/10215: parisc-linux compiler ICE.

Ryan Bradetich rbradetich@uswest.net
Thu Mar 27 06:06:00 GMT 2003


Wolfgang,

According to Randolph it did not work on previous version of
gcc for parisc-linux.  This statement is part of glibc and is known
to compile for powerpc64 and ia64.  Randolph modified the program 
slightly and it does compile this work-around.

  if (*user_entry != 
	(unsigned int)({long int *tmp = (long int *)_start; tmp[0];}))

instead of:

  if (*user_entry != (unsigned int) (((long int *) _start)[0]))

Thanks,

- Ryan




On Wed, 2003-03-26 at 09:20, Wolfgang Bangerth wrote:
> > GNU C version 3.2.3 20030309 (Debian prerelease) (hppa-linux)
> >         compiled by GNU C version 3.2.3 20030309 (Debian prerelease).
> > rtld.i: In function `dl_main':
> > rtld.i:12: unrecognizable insn:
> > (insn 13 11 15 (set (reg/f:SI 96)
> >         (plus:SI (reg:SI 19 %r19)
> >             (high:SI (symbol_ref/v:SI ("@_start"))))) -1 (nil)
> >     (nil))
> > rtld.i:12: Internal compiler error in extract_insn, at recog.c:2148
> 
> Is this something that has worked with past versions of gcc?
> 
> W.
> 
> -------------------------------------------------------------------------
> Wolfgang Bangerth             email:            bangerth@ticam.utexas.edu
>                               www: http://www.ticam.utexas.edu/~bangerth/
> 
-- 
Ryan Bradetich <rbradetich@uswest.net>



More information about the Gcc-bugs mailing list