🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

unrecognizable insn from g++-1.36.4 on a sun4

#2205
From: David Fox
Date: Wed, 21 Feb 1990 20:37
18 lines
891 bytes
This program:

        inline short flip(short c) {return c ? 0 : 1;}
        short a = 0;
        main() {a = flip(a);}

Gives the following message:

        % g++ -c test.C
        test.C: In function int main ():
        test.C:8: The following insn was not recognizable:
        (insn 32 31 33 (set (mem:HI (symbol_ref:SI ("a")))
               (subreg:SI (reg:HI 66) 0)) -1 (nil)
           (nil))
        g++: Program cc1plus got fatal signal 6.
        %

-david
Technical Details
Message-ID: <9002212037.AA17257@cs.columbia.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!CS.COLUMBIA.EDU!fox

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!CS.COLUMBIA.EDU!fox
From: fox@CS.COLUMBIA.EDU (David Fox)
Newsgroups: gnu.g++.bug
Subject: unrecognizable insn from g++-1.36.4 on a sun4
Message-ID: <9002212037.AA17257@cs.columbia.edu>
Date: 21 Feb 90 20:37:41 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 18