🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53546

Re: What does ANSI say about this?

#53546
From: Jim Clausing
Date: Thu, 24 Oct 1991 22:01
26 lines
1547 bytes
In <1991Oct23.153501.10954@rucs.faculty.cs.runet.edu> dana@rucs.faculty.cs.runet.edu (Dana Eckart) writes:

>The program at the end of this posting does what I want when compiled with
>the cc compiler supplied with SunOS 4.1, but dumps core when compiled with
>gcc-1.37.1 (both on a sparc station 1).  I would like to know what the 
>accepted ANSI behavior SHOULD be!
>
>The desired (what I want!) behavior (cc of SunOS 4.1) is for the program to 
>print the following:
>
>	referencing by named fields DIRECTLY works!
>	referencing by named fields via a FUNCTION works!
>
>Any ideas?
>
[...rest deleted...]

Well, this is exactly the behaviour that I get when I compile and run
with 1.37.1 on our (Concurrent) 68K boxes.  I haven't tried it with a
newer version of gcc.

-- 
Jim Clausing 			jac@tinton.ccur.com
Parallel Processing Tools	ph. (908)758-7693
Concurrent Computer Corp.
Tinton Falls, NJ  07724
Technical Details
Message-ID: <1991Oct24.220117.5119@tinton.ccur.com>
Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!think.com!ocpt!tinton.ccur.com!jac
References: <1991Oct23.153501.10954@rucs.faculty.cs.runet.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,c4c8be403f82184a
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1991-10-25 06:01:51 PST
Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!think.com!ocpt!tinton.ccur.com!jac
From: jac@tinton.ccur.com (Jim Clausing)
Newsgroups: gnu.gcc.help
Subject: Re: What does ANSI say about this?
Message-ID: <1991Oct24.220117.5119@tinton.ccur.com>
Date: 24 Oct 91 22:01:17 GMT
References: <1991Oct23.153501.10954@rucs.faculty.cs.runet.edu>
Sender: news@tinton.ccur.com (News)
Organization: Concurrent Computer Corporation, Tinton Falls, NJ
Lines: 27