Re: FROM FEDERAL BUREAU OF INVESTIGATION SEEKING TO WIRETAP NTERNET

2010-03-06 Thread FBI

Anybody interested in a dead code analysis tool for gcc

2010-03-06 Thread D.J. Barrow
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

Re: expression statements, volatiles, and C vs. C++

2010-03-06 Thread Andrew Haley
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

Re: expression statements, volatiles, and C vs. C++

2010-03-06 Thread John Regehr
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

Phil's regression hunter: How does it work?

2010-03-06 Thread Peter Maier
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

Re: expression statements, volatiles, and C vs. C++

2010-03-06 Thread Andrew Haley
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