[Bug 73] ARM: Wrong code with -O2 (heisenbug)

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Tue Aug 13 08:15:29 PDT 2013


http://bugzilla.gdcproject.org/show_bug.cgi?id=73

--- Comment #8 from Johannes Pfau <johannespfau at gmail.com> 2013-08-13 15:15:29 UTC ---
That code looks much better now :-)

I've been working on ARM support recently and I'll push my changes soon. I
mainly implemented missing ASM in the compiler test suite and added missing
definitions for phobos and druntime.

There are only two failing test cases left on ARM. Both are optimization bugs
likely caused by this issue. I'll attach another test case which was reduced
from the failing test suite case.

It looks like my initial guess was wrong and this is not a backend bug. Bug #74
seems to be related to this issue as well. It seems the only thing common to
all three test cases is the use of array literals so the bug could be in array
codegen (or typeinfo codegen). It's also always some sort of memory/stack
corruption so it could be related to wrong size or offset information at some
point.

Phobos needs a little more work, but not much. Unit tests build and most of
them run fine.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the D.gnu mailing list