Article View: gnu.gcc.bug
Article #2673Re: the idea of a new feature for gcc
From: stripes
Date: Wed, 24 May 1989 03:27
Date: Wed, 24 May 1989 03:27
18 lines
1146 bytes
1146 bytes
>
>substitute ``volatile'' for ``hardware'' and check the Gnu C manual -
>this feature already exists, and is ANSI C standard.
>--
>Dirk Grunwald
>Univ. of Illinois
>grunwald@flute.cs.uiuc.edu
I have been looking over an ANSI C book from the Waite Group (I forget the
name, it's very small and is a kind-of refrence). Anyway it says that
volatile registers are NOT restored after a longjmp(), nor are register
variables, but auto variables are. GCC documation seems to say that only
volatile variables are restored. Do I understand the GCC docs correctly?
Is the Waite Group book wrong, or is GCC, or what?
--
stripes@wam.umd.edu
Josh_Osborne@Real_World,The
"The dyslexic porgramer"
Technical Details
Message-ID:
<8905240327.AA17521@cscwam.UMD.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!decwrl!wam.UMD.EDU!stripesReferences:
<8905111829.AA18182@decwrl.dec.com> <GRUNWALD.89May11203356@flute.cs.uiuc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!decwrl!wam.UMD.EDU!stripes From: stripes@wam.UMD.EDU Newsgroups: gnu.gcc.bug Subject: Re: the idea of a new feature for gcc Message-ID: <8905240327.AA17521@cscwam.UMD.EDU> Date: 24 May 89 03:27:27 GMT References: <8905111829.AA18182@decwrl.dec.com> <GRUNWALD.89May11203356@flute.cs.uiuc.edu> Distribution: gnu Organization: (very little) Lines: 18