This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]