🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

typo in latest GNU C++ 1.35.0

#1869
From: Michael Tiemann
Date: Mon, 17 Apr 1989 02:32
25 lines
1377 bytes
Some people observed a problem with the latest (1.35.0-) GNU C++ going
into an infinite loop.  I do not observe that behavior on the Sun4,
and I cannot properly debug the problem on the VAX due to file
permissions.  Can someone who has seen this problem let me know if
this is the fix?  Thanks,

diff -c2 cplus-cvt.c~ cplus-cvt.c
*** cplus-cvt.c~	Sun Apr  9 15:42:41 1989
--- cplus-cvt.c	Sun Apr 16 19:29:24 1989
***************
*** 1226,1230 ****
    if (first_arg != expr)
      {
!       expr = build_up_reference (build_reference_type (TREE_TYPE (expr), expr));
        TREE_VALUE (TREE_OPERAND (rval, 1)) = build_unary_op (ADDR_EXPR, expr, 0);
      }
--- 1226,1230 ----
    if (first_arg != expr)
      {
!       expr = build_up_reference (build_reference_type (TREE_TYPE (expr)), expr);
        TREE_VALUE (TREE_OPERAND (rval, 1)) = build_unary_op (ADDR_EXPR, expr, 0);
      }
yahi% 

Michael
Technical Details
Message-ID: <8904170232.AA06226@yahi.stanford.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!YAHI.STANFORD.EDU!tiemann

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!YAHI.STANFORD.EDU!tiemann
From: tiemann@YAHI.STANFORD.EDU (Michael Tiemann)
Newsgroups: gnu.g++.bug
Subject: typo in latest GNU C++ 1.35.0
Message-ID: <8904170232.AA06226@yahi.stanford.edu>
Date: 17 Apr 89 02:32:02 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: tiemann@lurch.stanford.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 25