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  Index 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: C strict aliasing rules
From: Andrew Johnson <anj@aps.anl.gov>
To: Eric Norum <norume@aps.anl.gov>
Cc: jba@aps.anl.gov, Core talk list <core-talk@aps.anl.gov>
Date: Tue, 28 Nov 2006 14:35:50 -0600
Eric Norum wrote:

So where's the best place to make the addition? To configure/ CONFIG.gnuCommon in the OPT....YES macros?
OPT_CFLAGS_YES = -O3 -fno-strict-aliasing
OPT_CXXFLAGS_YES = -O3 -fno-strict-aliasing

Nope:
	cc1plus: Invalid option `-fno-strict-aliasing'

That's from a vxWorks compile - this will have to be set by each architecture that uses gcc.

Have we identified *anywhere* in base yet where we actually need this though? We've been running IOCs on Linux and Solaris built with gcc 4.0.2 and -O3 for ages, and nothing has failed or even behaved strangely yet that I can remember; isn't this all a storm in a tea-cup?

- Andrew
--
There is considerable overlap between the intelligence of the smartest
bears and the dumbest tourists -- Yosemite National Park Ranger

Replies:
Re: C strict aliasing rules Eric Norum
References:
C strict aliasing rules Eric Norum
Re: C strict aliasing rules Benjamin Franksen
Re: C strict aliasing rules Eric Norum
Re: C strict aliasing rules Benjamin Franksen
Re: C strict aliasing rules Kay-Uwe Kasemir
Re: C strict aliasing rules Marty Kraimer
Re: C strict aliasing rules Eric Norum
Re: C strict aliasing rules Kay-Uwe Kasemir
Re: C strict aliasing rules Eric Norum
Re: C strict aliasing rules Andrew Johnson
Re: C strict aliasing rules Eric Norum

Navigate by Date:
Prev: Re: C strict aliasing rules Eric Norum
Next: Re: C strict aliasing rules Eric Norum
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: C strict aliasing rules Eric Norum
Next: Re: C strict aliasing rules Eric Norum
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
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 ·