🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2827

decstation gcc 1.36.92 problem

#2827
From: Gregg Whitcomb
Date: Fri, 12 Jan 1990 05:03
39 lines
1656 bytes
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)
Technical Details
Message-ID: <9001120503.AA04918@vivaldi.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!bu.edu!bu-cs!snorkelwacker!apple!brutus.cs.uiuc.edu!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!VIVALDI.BERKELEY.EDU!whitcomb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!bu.edu!bu-cs!snorkelwacker!apple!brutus.cs.uiuc.edu!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!VIVALDI.BERKELEY.EDU!whitcomb
From: whitcomb@VIVALDI.BERKELEY.EDU (Gregg Whitcomb)
Newsgroups: gnu.gcc.bug
Subject: decstation gcc 1.36.92 problem
Message-ID: <9001120503.AA04918@vivaldi.Berkeley.EDU>
Date: 12 Jan 90 05:03:30 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 39