Thread View: gnu.g++.bug
2 messages
2 total messages
Started by Michael Tiemann
Mon, 17 Apr 1989 02:32
typo in latest GNU C++ 1.35.0
Author: Michael Tiemann
Date: Mon, 17 Apr 1989 02:32
Date: Mon, 17 Apr 1989 02:32
25 lines
1377 bytes
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
Re: typo in latest GNU C++ 1.35.0
Author: zhao
Date: Mon, 17 Apr 1989 20:48
Date: Mon, 17 Apr 1989 20:48
7 lines
791 bytes
791 bytes
In article <8904170232.AA06226@yahi.stanford.edu> tiemann@lurch.stanford.edu writes: > Can someone who has seen this problem let me know if >this is the fix? Thanks, > Yes. The patch fixes the problem when g++ compiles Ratinal.cc in libg++-1.34.0.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads