------- Comment #5 from pinskia at gcc dot gnu dot org 2006-01-13 03:34 ------- You are violating C++ aliasing rules, you have: int new_ybar_inline p = reinterpret_cast<void *>( free_list ); free_list = free_list->next; ...... return p;
*newchild = new_ybar_inline(); (*newchild)->kind = interior; so you are accessing the same memory location via two types. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25768