------- Comment #2 from dps at simpson dot demon dot co dot uk 2005-12-18 22:43 ------- Created an attachment (id=10530) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10530&action=view) Example program that tickles the bug (with -O<n> for n>=1).
The example is based on a real example without the obvious infinite loops and a slightly bugger structure (actually a header for a string which starts at p+1). I doubt it is revelent but the processor is an AMD Athlon(tm) XP 3200+. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25490