[Issue 9449] Segmentation fault in main()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 9 22:40:38 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9449



--- Comment #5 from Maxim Fomin <maxim at maxim-fomin.ru> 2013-02-09 22:40:37 PST ---
(In reply to comment #4)
> Seems to be related to bug 8518.

Thanks for founding. The root of the problem (at least this one) is when dmd
frontend parses and generates list of expressions, it does not create "hidden"
expression which calls _memset128ii. Instead it does this when it executes
AssignExpression::toElem() and later calls setArray() which issues call to
_memset128ii. However it does not convert ubyte16[1] from static array to
dynamic array and passes it as a static array. Since _memset128ii expects
dynamic array, the program goes off the rails.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list