🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #4197

Manx C bug, referencing structure after assignment

#4197
From: Frank Glandorf
Date: Wed, 04 Jul 1990 05:30
17 lines
696 bytes
Can anyone with the new version of the Manx C compiler
confirm if this is still an error? Thanks.
- Frank

test()
{
struct { int k; } **a, **b;

(*a = *b)->k;
}

Aztec C Version 5.0a  Jan  9 1990  7:57:19
	Copyright 1989 by Manx Software Systems, Inc.
(*a = *b)->k;
            ^
test2.c:5: ERROR 202: Attempted to free reg not allocated!: a0
1 errors
Technical Details
Message-ID: <1488@sdrc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!sdrc!gcglan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!sdrc!gcglan
From: gcglan@sdrc.UUCP (Frank Glandorf)
Newsgroups: comp.sys.amiga.tech
Subject: Manx C bug, referencing structure after assignment
Keywords: manx c, version 5.0a
Message-ID: <1488@sdrc.UUCP>
Date: 4 Jul 90 05:30:22 GMT
Distribution: na
Organization: SDRC, Cincinnati
Lines: 17