[gnu.gcc.bug] decstation gcc 1.36.92 problem

whitcomb@VIVALDI.BERKELEY.EDU (Gregg Whitcomb) (01/12/90)

machine: decstation
gcc: 1.36.92

description: assembler doesn't like the constant "Infinity".

vivaldi% more testhuge.c
#include <math.h>
#include <stdio.h>
main()
{
   double a;
   scanf("%l",&a);
   if (a == HUGE)
      printf("big\n");
   else
      printf("small\n");
}
vivaldi% gcc -v testhuge.c
gcc version 1.36.92
 /usr/local/lib/gcc-cpp -v -undef -D__GNUC__ -Dultrix -Dbsd4_2 -DMIPSEL -Dhost_m
ips -Dmips -Dunix -DR3000 -DLANGUAGE_C -DSYSTYPE_BSD -D__ultrix__ -D__bsd4_2__ -
D__MIPSEL__ -D__host_mips__ -D__mips__ -D__unix__ -D__R3000__ -D__LANGUAGE_C__ -
D__SYSTYPE_BSD__ testhuge.c /usr/tmp/cca04912.cpp
GNU CPP version 1.36.92
 /usr/local/lib/gcc-cc1 /usr/tmp/cca04912.cpp -quiet -dumpbase testhuge.c -versi
on -o /usr/tmp/cca04912.s
GNU C version 1.36.92 (AL-MIPS 1.11) <Decstation>
 compiled by CC.
default target switches: -munix -mnofixed-ovfl -mG0 -mG1
 as -nocpp -G 8 -o testhuge.o /usr/tmp/cca04912.s
as0: Error: /usr/tmp/cca04912.s, line 8: floating point constant expected
      .double Infinity
gcc: testhuge.o: No such file or directory
gcc: testhuge.o: No such file or directory



-Gregg (whitcomb@vivaldi.berkeley.edu)