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
<2006>
2007
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
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|