On Monday 10 December 2007, Dan Kegel wrote: > > it is unfortunately a known problem that -Wstrict-overflow > > does not warn about everything that it exploits for optimisation. > Got a gcc bugzilla number for that?
Not really. I have plenty of testcases though. example: void table_init(int* value) { int val = 0x03020100; for (int i = 0; i < 256/4; i++) { value[i] = val; val += 0x04040404; } } Greetings, Dirk ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Valgrind-developers mailing list Valgrind-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-developers