[Issue 13] ARM: can't cast _argptr / va_list to pointer

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Wed Sep 26 02:26:55 PDT 2012


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

--- Comment #2 from Johannes Pfau <johannespfau at gmail.com> 2012-09-26 09:26:55 UTC ---
So D doesn't make any guarantees that casting va_list to a pointer is portable,
right?

But what does that mean for the test suite? Change it to use the portable
va_arg or is that test meant to be platform specific and we should add a
version(ARM) block to test the ARM behaviour?

https://github.com/D-Programming-GDC/GDC/blob/master/gcc/testsuite/gdc.test/runnable/test20.d#L595
https://github.com/D-Programming-GDC/GDC/blob/master/gcc/testsuite/gdc.test/runnable/testdstress.d#L209

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


More information about the D.gnu mailing list