🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

g++ 2.2.2 doesn't do labels

#189
From: Rick Kitts
Date: Tue, 28 Jul 1992 14:17
18 lines
704 bytes
g++/gcc configured as i486v4 does not report missing labels. Given the
following:

main()
{
	int	a;

	if(a == 23)
		goto done;
	printf("Hello world\n");

	return(0);
}

the program compiles, but reports .L3 as a missing symbol. Turns out
that this is the missing label.

---Rick
Technical Details
Message-ID: <bvmm#m.rkitts@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!netcom.com!rkitts

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!netcom.com!rkitts
From: rkitts@netcom.com (Rick Kitts)
Subject: g++ 2.2.2 doesn't do labels
Message-ID: <bvmm#m.rkitts@netcom.com>
Sender: gnulists@ai.mit.edu
Organization: Netcom - Online Communication Services  (408 241-9760 guest)
Distribution: gnu
Date: Tue, 28 Jul 1992 14:17:50 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 19