🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3547

Re: Integral promotion.

#3547
From: Thad Smith
Date: Sun, 25 Feb 1996 18:11
25 lines
1565 bytes
In article <4gnbbp$bhu@solutions.solon.com>,
jmccarty@spdmail.spd.dsccc.com (Mike McCarty) wrote:

>)Thus, the implementation has to say exactly how it handles this.
>)There is still some question as to whether the implementation can
>)define it as an overflow resulting in program termination, is there
>)not?
>
>Where in the standard does it say that a compiler must be accompanied by
>-any- documentation?

>From ANSI Classic 1.6:
" Implementation -- a particular set of software, running in a
particular translation environment under particular control options,
that performs translation of programs for, and supports execution in a
particular exectution environment.

Implementation-defined behavior -- behavior, for a correct program
construct and correct data, that depends on the characteristics of the
implementation and that each implementation shall document."

If a particular implementation doesn't specify each of the explicit
implementation-defined behaviors, it isn't conforming.  

Thad
Technical Details
Message-ID: <4gq8p6$oqk@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4fstj7$2l6@solutions.solon.com> <4fu835$9de@solutions.solon.com> <4fvgrm$dv9@solutions.solon.com> <4g27gn$q5k@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: thads@csn.net (Thad Smith)
Newsgroups: comp.std.c,comp.lang.c.moderated
Subject: Re: Integral promotion.
Date: 25 Feb 1996 12:11:50 -0600
Organization: T3 Systems
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4gq8p6$oqk@solutions.solon.com>
References: <4fstj7$2l6@solutions.solon.com> <4fu835$9de@solutions.solon.com>
 <4fvgrm$dv9@solutions.solon.com> <4g27gn$q5k@solutions.solon.com>
Reply-To: ThadSmith@acm.org
NNTP-Posting-Host: solutions.solon.com