Thread: Redhat 5.2 on alpha-noname

Redhat 5.2 on alpha-noname

From
someone
Date:
This looks like a egcs on RedHat problem.  The Macro expansion

      if (DATETIME_NOT_FINITE(*datetime))
                elog(ERROR, "Unable to convert datetime to date", NULL);



generates bad code



for i in adt cache error fmgr hash init misc mmgr sort time; do make -C
$i SUBSY
S.o; done
make[1]: Entering directory
`/root/postgresql-6.4.2/src/backend/utils/adt'
gcc -I../../../include -I../../../backend   -O2 -mieee  -Wall
-Wmissing-prototyp
es -I../..   -c datetime.c -o datetime.o
datetime.c: In function `datetime_date':
datetime.c:289: internal error--unrecognizable insn:
(insn 53 66 67 (clobber (reg:DI 42 $f10)) -1 (insn_list:REG_DEP_ANTI 66
(nil))
    (expr_list:REG_UNUSED (reg:DI 42 $f10)
        (nil)))
gcc: Internal compiler error: program cc1 got fatal signal 6
make: *** [datetime.o] Error 1

make[1]: Leaving directory
`/root/postgresql-6.4.2/src/backend/utils/adt'