Re: Re: Miscompilation at -O2

2013-10-18 Thread Camm Maguire
Greetings, and thanks for your reply! I can try to get a simpler example, but first let me try to simplify the post, to see if that illumines the issue by itself. My comments after // Breakpoint 4, 0x004c1f72 in LI46 (V457=0x647b1258, V458=0x640400e0

Re: Re: Re: Miscompilation at -O2

2013-10-18 Thread Camm Maguire
Greetings! Now `cmp.eq` R8 does equal R14 here, doesn't it? This would make p6 = 1 and p7 = 0 This clearly isn't doing the comparison you were hoping for since this is always true. Yep. In your first message you wrote: if(((V459))==((object)Cnil_body)){ But here I see:

Re: Re: Re: Re: Miscompilation at -O2

2013-10-18 Thread Camm Maguire
Hi Camm, No, I don't do maintenance of gcc, I just help out where I can with Debian/ia64 (speaking of which, I have a bug investigation to follow up on). I'm going to have to check what version of gcc I have installed on my machines. If you can send me a test case or perhaps (simple!!)