Re: Netscape 7 issues.

From: Alan Coopersmith (alanc_at_alum.calberkeley.org)
Date: 07/12/03


Date: Sat, 12 Jul 2003 05:48:33 +0000 (UTC)


"Dr. David Kirkby" <drkirkby@ntlworld.com> writes in comp.sys.sun.admin:
|a) The bug had not been found when compiled using Sun's C compiler
|with the compiler's 'memory access checking' enabled.

Memory access checking is a feature of the Sun/Forte debugger, when
running the program, not of the compiler building it.

-- 
________________________________________________________________________
Alan Coopersmith                              alanc@alum.calberkeley.org
http://www.CSUA.Berkeley.EDU/~alanc/       aka: Alan.Coopersmith@Sun.COM
  Working for, but definitely not speaking for, Sun Microsystems, Inc.


Relevant Pages

  • Re: Netscape 7 issues.
    ... > Memory access checking is a feature of the Sun/Forte debugger, ... not of the compiler building it. ... In contrast, on the IBM, the memory access violation is occurring. ... there is a bug somewhere in the code, which only shows on the IBM. ...
    (comp.sys.sun.admin)
  • Re: [patch] spinlocks: remove volatile
    ... The 'C' compiler has no choice but to actually make that memory access ... Volatile just means that every read must actually ... while (foo = 5); ...
    (Linux-Kernel)
  • Re: [9fans] speaking of kenc
    ... c types mapped to what the hardware provides. ... have bit-wide memory access. ... what the dec compilers generated, not that the unix c compiler ... in the case of _Bool assignment the compiler needs to generate ...
    (comp.os.plan9)
  • Re: [PATCH] "volatile considered harmful", take 3
    ... > implementation of volatile across archs/platforms is consistent. ... Occam's Razor, Plauger's "Law of least astonishment," which compiler ... should not be moved and should generate a real memory access every time. ... do perform optimization, otoh, _must_ then solve the possible problems ...
    (Linux-Kernel)
  • Re: [patch] spinlocks: remove volatile
    ... Read things like the Intel CPU documentation. ... the compiler output, not an example of good coding practice. ... kernel or programmer responsibility. ... I think you guys mixed the concepts about *if* a memory access happens, and *where* the memory access happens. ...
    (Linux-Kernel)