🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #603

libg++ stream.cc problem

#603
From: phil morris
Date: Mon, 20 Nov 1989 19:54
52 lines
2583 bytes
Dear Sirs:

I have managed to get gcc-1.36 and g++-1.36.1 to compile, and am now
creating libg++-1.36.1.  In attempting to do so, I only ran across 1
error (ie. all modules compiled correctly, save one, Stream.cc (and I
also did not attempt Streambuf.cc)).  Here is the output of the make:

--------------------------------------------------------------------------
        g++ -DUSG -I/usr1/staff/s1/pm/gnu/libg++/g++-include 
-fstrength-reduce -felide-constructors -fschedule-insns -fdelayed-branch
-fsave-memoized  -Wall -c  stream.cc
stream.cc: In method class ostream &ostream::form (const char *, ...):
stream.cc:122: warning: unused variable `__vd_alist'
stream.cc: In method class ostream &ostream::operator << (float):
stream.cc:181: The following insn was not recognizable:
(insn 6 5 7 (parallel[
           (set (mem:SF (plus:SI (reg:SI 30)
                       (const_int 4)))
               (reg:DF 6))
           (clobber (reg:SI 24))
       ] ) -1 (nil)
   (nil))
g++: Program cc1plus got fatal signal 6. *** Error code 1

Stop. *** Error code 1

Stop.
--------------------------------------------------------------------------

The system I am using is an SGI Iris 4D/80 running IRIX System V Release
4D1-3.147 (mostly SYSV, with some BSD thrown in).  I used config.g++ iris
in the installation process, changed the Makefiles for SYSV stuff and
deleted all -g and -O compiler flags as they are not supported, changed
the pathnames appropriately, got rid of the -pipe command as it did not
work, chose gcc-collect instead of gcc-ld++, and updated
g++-include/stdio.h, math.h and values.h appropriately.

Note that I could not make use of the -pipe command.  Also, I could not
find documentation on several of the -f commands (the one of most
interest being -fschedule-insns).  I looked in gcc.texinfo, g++.texinfo,
and various other places, but could find no mention.  Do I need to
change some flags, or is it a more serious problem?

Thanks for any hints forthcoming, and especially thanks for providing such
useful tools!!!

Phil Morris


--------
Phil Morris (pmorris@dgi0.bbn.com)
Disclaimer: ME? I'm only a non-smoking cat; can't believe a word I meow.
Technical Details
Message-ID: <8911202105.AA24563@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!iuvax!cica!tut.cis.ohio-state.edu!BBN.COM!pmorris

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!iuvax!cica!tut.cis.ohio-state.edu!BBN.COM!pmorris
From: pmorris@BBN.COM (phil morris)
Newsgroups: gnu.g++.bug
Subject: libg++ stream.cc problem
Message-ID: <8911202105.AA24563@life.ai.mit.edu>
Date: 20 Nov 89 19:54:35 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 52