Hi there,
I worked for Pace in Yorkshire in 2006
& developed software to find dead code in large projects &
automatically remove it from files.
The code is rotting as it is unmaintained & is of
no benefit to Pace.
I tried to persuade them to give it to gnu.org
& they wouldn't do it despite the am
On 06/03/10 15:54, John Regehr wrote:
>> I'm not sure this follows. It's stated explicitly that "The
>> expression is evaluated and its value is discarded." How can you
>> evaluate the expression without reading the volatle?
>
> I'm certainly not an expert on this material but I wouldn't think y
I'm not sure this follows. It's stated explicitly that "The
expression is evaluated and its value is discarded." How can you
evaluate the expression without reading the volatle?
I'm certainly not an expert on this material but I wouldn't think you'd
normally read a variable in order to evalua
The gcc developers seem to have nice tool referred to as "Phil's regression
hunter". Where can I find documentation on it? I'm interested to know how it
works and its abilities. Is it maybe even available for download?
- Peter
On 03/06/2010 04:43 AM, John Regehr wrote:
> The question is, what should C and C++ compilers do with this code?
>
> volatile int x;
>
> void foo (void) {
> x;
> }
>
> This question is not totally stupid: embedded systems use code like this
> when reading a hardware register has a usef