🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51033

long long support in v 2.3.3

#51033
From: Bob Davis
Date: Wed, 14 Jul 1993 14:19
31 lines
2148 bytes
I am attempting to use long long's for a 64 bit integer representation
of certain data types which are used within various structures in a
very large C program.  This is on sparc with sunos 4.1.1.

I am experiencing various mysterious behavior with this, such as
bus errors while initiating allocated (somewhat large) structures
containing long longs, at the point where the assignment to the long
long is done.  Other aspects of initialization within such structures
are happy.  I tried a simple example which allocated just one such
structure, and there was no problem with that.

It is very possible that this particular large system has some memory
management problems or type un-cleanness which causes these problems;
however, the nature of the symptoms does make me suspect possible
problems with the memory allocation of these structures containing the
long long numbers.

If anyone has concrete info on the reliability of this feature and on
how much it has been tested, I would like to hear about it.  If there
is a straightforward way I should be investigating this question, like
looking in a topical issue database and or testing histogram or such,
do let me know that.

Note that this is not really a bug, since I have not reduced this to
a definite compiler problem.  I'm trying to avoid a lot of tedious
debugging in case there are known problems in this department.

Thanks.
-- 
Bob Davis -- bobdavis@viewlogic.com
Technical Details
Message-ID: <1993Jul14.141952.13335@viewlogic.com>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!viewlog.viewlogic.com!bobdavis

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,8e4be072e83cc0bf,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-07-14 07:48:11 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!viewlog.viewlogic.com!bobdavis
From: bobdavis@scumbag.viewlogic.com (Bob Davis)
Subject: long long support in v 2.3.3
Message-ID: <1993Jul14.141952.13335@viewlogic.com>
Followup-To: bobdavis@viewlogic.com
Originator: bobdavis@scumbag
Keywords: long long
Sender: bobdavis@scumbag (Bob Davis)
Nntp-Posting-Host: scumbag
Organization: Viewlogic Systems, Inc.
Date: Wed, 14 Jul 1993 14:19:52 GMT
Lines: 31