Certain combination of parameters make an int[] array fail when called at a vararg function _inside_ a class. Output of attached program for me is: Note the length of the second inside block INSIDE: Size: 16 Array: len: 3 ptr: 7f8e5c733ce0. Size: 1 Bool: 1 Size: 1 Bool: 1 Size: 1 Bool: 1 Size: 1 Bool: 1 Size: 16 Array: len: 3 ptr: 7f8e5c733ce0. Size: 1 Bool: 1 INSIDE: Size: 1 Bool: 1 Size: 1 Bool: 1 Size: 1 Bool: 1 Size: 1 Bool: 1 Size: 1 Bool: 1 Size: 16 Array: len: 140249413139680 ptr: 3. Size: 1 Bool: 224 OUTSIDE: Size: 16 Array: len: 3 ptr: 7f8e5c733ce0. Size: 1 Bool: 1 Size: 1 Bool: 1 Size: 1 Bool: 1 Size: 1 Bool: 1 Size: 16 Array: len: 3 ptr: 7f8e5c733ce0. Size: 1 Bool: 1 Class: 7f8e5c733d00 140249413139712
I think this might be the same as bug 6758. In this case the hidden 'this' parameter is messing with the alignment.
This is a duplicate of bug 6758. See comments there. This is a horrific bug. *** This issue has been marked as a duplicate of issue 6758 ***
Created attachment 1090 [details] testcase I thought I added it, but apparently I did not. Here is the testcase.
(In reply to comment #3) > Created an attachment (id=1090) [details] > testcase > > I thought I added it, but apparently I did not. Here is the testcase. Maybe you should add it to the other bug then :)