[Bug c++/25768] [3.4 regression] wrong code with inlining at -O2

sschunck at pdf dot de gcc-bugzilla@gcc.gnu.org
Thu Jan 12 17:04:00 GMT 2006



------- Comment #3 from sschunck at pdf dot de  2006-01-12 17:04 -------
The miscompiled line is

  (*newchild)->kind = interior; ( interior = 1 )

but when 

 movl    $1, (%edx)

is done 

 edx points to 

free_list;

from function MemPool::new_element()

instead of newchild


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25768



More information about the Gcc-bugs mailing list