[PATCH, i386]: Fix PR 60017 Struct not returned correctly

2014-02-02 Thread Uros Bizjak
Hello! There is off-by-one error in classify_argument, when processing integer atomic types. When bit_offset is 64, two X86_64_INTEGER CLASS registers should be used. Attached patch fixes this off-by-one error, so we won't use size = 0 when bit_offset = 64. 2014-02-02 Uros Bizjak

Re: [PATCH, i386]: Fix PR 60017 Struct not returned correctly

2014-02-02 Thread Jakub Jelinek
On Sun, Feb 02, 2014 at 04:31:35PM +0100, Uros Bizjak wrote: There is off-by-one error in classify_argument, when processing integer atomic types. When bit_offset is 64, two X86_64_INTEGER CLASS registers should be used. Attached patch fixes this off-by-one error, so we won't use size = 0

Re: [PATCH, i386]: Fix PR 60017 Struct not returned correctly

2014-02-02 Thread Uros Bizjak
On Sun, Feb 2, 2014 at 5:35 PM, Jakub Jelinek ja...@redhat.com wrote: On Sun, Feb 02, 2014 at 04:31:35PM +0100, Uros Bizjak wrote: There is off-by-one error in classify_argument, when processing integer atomic types. When bit_offset is 64, two X86_64_INTEGER CLASS registers should be used.