Thread View: gnu.g++.bug
2 messages
2 total messages
Started by "Robert S. French"
Fri, 21 Apr 1989 02:45
G++ 1.34.1: argument bug
Author: "Robert S. French"
Date: Fri, 21 Apr 1989 02:45
Date: Fri, 21 Apr 1989 02:45
24 lines
890 bytes
890 bytes
The following file:
void foo(void*);
int bar();
main()
{
foo(bar);
}
causes g++ 1.34.1 to loop and loop and loop and loop...
g++ version 1.34.1
/mit/gnu/vaxlib/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -Dvax -Dunix -D__vax_
_ -D__unix__ /tmp/foo.c /tmp/cc000735.cpp
GNU CPP version 1.34
/mit/gnu/vaxlib/gcc-c++ /tmp/cc000735.cpp -quiet -dumpbase /tmp/foo.c -version
-o /tmp/cc000735.s
GNU C++ version 1.34.1 (vax) compiled by GNU C version 1.34.
Rob
Re: G++ 1.34.1: argument bug
Author: Doug Schmidt
Date: Fri, 21 Apr 1989 05:13
Date: Fri, 21 Apr 1989 05:13
29 lines
1462 bytes
1462 bytes
In article <8904210245.AA00741@OLIVER.MIT.EDU> rfrench@ATHENA.MIT.EDU ("Robert S. French") writes:
++
++ The following file:
++
++ void foo(void*);
++
++ int bar();
++
++ main()
++ {
++ foo(bar);
++ }
++
++ causes g++ 1.34.1 to loop and loop and loop and loop...
This seems to be fixed in the latest beta-release g++ 1.35.0-,
available as g++.xtar.Z from yahi.stanford.edu ( 36.83.0.92 ). Note
that multiple inheritance is also starting to shape up with this
version. ``Aggressive'' g++ users might try testing it out so we can
keep Michael hard at work this weekend.... ;-)
Thanks for reporting.
Doug
--
On a clear day, under blue skies, there is no need to seek.
And asking about Buddha +------------------------+
Is like proclaiming innocence, | schmidt@ics.uci.edu |
With loot in your pocket. | office: (714) 856-4043 |
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