Re: New VSI blog post

Liste des GroupesRevenir à co vms 
Sujet : Re: New VSI blog post
De : clubley (at) *nospam* remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Groupes : comp.os.vms
Date : 30. Jul 2024, 13:25:39
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v8am43$11aec$1@dont-email.me>
References : 1 2
User-Agent : slrn/0.9.8.1 (VMS/Multinet)
On 2024-07-29, John Reagan <johnrreagan@earthlink.net> wrote:
>
Other
than bugs in the compilers and OS, the most common issue I've seen is a
mismatch of 32/64 bit variables.  I've seen 20 or so instance of code
that is doing a 64-bit write into a 32-bit variable.
[snip]
It mostly has been in BLISS and C code.

I don't know enough about BLISS to make a judgement about how bad the
code that does this is, but I would be very interested to see the C code
that makes this possible.

Without an obviously incorrect explicit type conversion (which is a serious
bug in the user's C code), I am not seeing how this is possible under C
as the compiler should generate the appropriate size-conversion code
automatically if you assign from a 64-bit variable into a 32-bit variable.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Date Sujet#  Auteur
30 Jul 24 * New VSI blog post34Arne Vajhøj
30 Jul 24 +* Re: New VSI blog post20John Reagan
30 Jul 24 i+* Re: New VSI blog post18Simon Clubley
31 Jul 24 ii`* Re: New VSI blog post17Arne Vajhøj
31 Jul 24 ii `* Re: New VSI blog post16John Reagan
1 Aug 24 ii  `* Re: New VSI blog post15Arne Vajhøj
1 Aug 24 ii   +- Re: New VSI blog post1Arne Vajhøj
1 Aug 24 ii   `* Re: New VSI blog post13John Reagan
1 Aug 24 ii    `* Re: New VSI blog post12Lawrence D'Oliveiro
1 Aug 24 ii     `* Re: New VSI blog post11Arne Vajhøj
1 Aug 24 ii      `* Re: New VSI blog post10Lawrence D'Oliveiro
1 Aug 24 ii       `* Re: New VSI blog post9Arne Vajhøj
1 Aug 24 ii        +* Re: New VSI blog post5John Reagan
1 Aug 24 ii        i`* Re: New VSI blog post4Lawrence D'Oliveiro
4 Aug 24 ii        i `* Re: New VSI blog post3John Reagan
4 Aug 24 ii        i  `* Re: New VSI blog post2Lawrence D'Oliveiro
5 Aug 24 ii        i   `- Re: New VSI blog post1Arne Vajhøj
1 Aug 24 ii        `* Re: New VSI blog post3Dave Froble
1 Aug 24 ii         `* Re: New VSI blog post2John Dallman
1 Aug 24 ii          `- Re: New VSI blog post1Arne Vajhøj
30 Jul 24 i`- Re: New VSI blog post1Stephen Hoffman
30 Jul 24 `* Re: New VSI blog post13Richard Jordan
30 Jul 24  +* Re: New VSI blog post2Craig A. Berry
30 Jul 24  i`- Re: New VSI blog post1Arne Vajhøj
30 Jul 24  +- Re: New VSI blog post1Arne Vajhøj
31 Jul 24  `* Re: New VSI blog post9John Reagan
31 Jul 24   +* Re: New VSI blog post7Chris Townley
1 Aug 24   i+* Re: New VSI blog post4Craig A. Berry
1 Aug 24   ii`* Re: New VSI blog post3Chris Townley
1 Aug 24   ii `* Re: New VSI blog post2John Reagan
1 Aug 24   ii  `- Re: New VSI blog post1Robert A. Brooks
1 Aug 24   i`* Re: New VSI blog post2John Reagan
1 Aug 24   i `- Re: New VSI blog post1Chris Townley
2 Aug 24   `- Re: New VSI blog post1Richard Jordan

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal