[gnu.g++.bug] G++ 1.34.1: argument bug

rfrench@ATHENA.MIT.EDU ("Robert S. French") (04/21/89)

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

schmidt@zola.ics.uci.edu (Doug Schmidt) (04/21/89)

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 |