------- Comment #2 from shemminger at vyatta dot com 2008-06-30 17:53 ------- The problem turned out to be an out of bounds array reference.
The number of fields (fps->num) was 71, and on 64 were allocated. This caused out of bounds reference to corrupt stack variables. Since stack variables are assigned differently after optimization, that was the reason for the red herring. -- shemminger at vyatta dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36679