EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: More strict aliasing
From: Eric Norum <[email protected]>
To: Jeff Hill <[email protected]>
Cc: "'Kay-Uwe Kasemir'" <[email protected]>, "'Core talk list'" <[email protected]>
Date: Fri, 1 Dec 2006 11:41:48 -0600
The problem is not restricted to I/O access. Any pointer cast must be viewed with suspicion -- and EPICS has *lots* of pointer casts. Andrew feels that I'm being overly concerned about this given that we've been using gcc with strict aliasing for some time with no apparent problems. Perhaps I'm just a worry wart.

On Dec 1, 2006, at 11:15 AM, Jeff Hill wrote:


Kay,

There are lots of good reasons to declare your pointers to device register overlay structures with the volatile keyword, and if you do then you won't
need to be concern yourself with strict aliasing issues.


--
Eric Norum <[email protected]>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793



References:
RE: More strict aliasing Jeff Hill

Navigate by Date:
Prev: RE: More strict aliasing Jeff Hill
Next: Possible delay to R3.14.9-pre2 Andrew Johnson
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: More strict aliasing Jeff Hill
Next: osiWireFormat.h problems Eric Norum
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·