From p.dalgaard at biostat.ku.dk  Sat Apr  4 23:21:15 2009
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Sat, 04 Apr 2009 23:21:15 +0200
Subject: [Rd] R-alpha/R-beta builds on Alpha platform failing with
 compiler error
In-Reply-To: <18903.41703.731571.693110@ron.nulle.part>
References: <18903.41703.731571.693110@ron.nulle.part>
Message-ID: <49D7CF4B.2000809@biostat.ku.dk>

Dirk Eddelbuettel wrote:
> Per https://buildd.debian.org/build.php?pkg=r-base, we see the Alpha platform
> having trouble with deriv.c :
> 
> gcc     -I. -I../../src/include -I../../src/include  -DHAVE_CONFIG_H  -mieee-with-inexact -fpic  -std=gnu99 -O3 -pipe  -g -c deriv.c -o deriv.o
> deriv.c: In function 'simplify':
> deriv.c:267: error: unrecognizable insn:
> (insn 2103 64 65 9 ../../src/include/Rinlinedfuns.h:86 (set (reg:DI 2 $2)
>         (const:DI (plus:DI (label_ref:DI 68)
>                 (const_int 24 [0x18])))) -1 (insn_list:REG_LABEL_OPERAND 68 (nil)))
> deriv.c:267: internal compiler error: in extract_insn, at recog.c:2001
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
> make[4]: *** [deriv.o] Error 1
> 
> This could of course be a bug in gcc.  Does anybody have insights into
> anything that may have changed here? 

I think it is by definition a bug in gcc...

It is usually rather hopeless to work around this sort of issue by 
source code changes. Have you tried reducing the optimization level?

> 
> Dirk
> 


-- 
    O__  ---- Peter Dalgaard             ?ster Farimagsgade 5, Entr.B
   c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
  (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907



[Rd] R-alpha/R-beta builds on Alpha platform failing with compiler error
Peter Dalgaard