This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MIPS: va_arg is unable to correct extract an empty zero-length array


Hi Richard,

+      /* Even zero-sized arguments occupy one byte.  */
+      if (size == 0)
+	size = 1;

That fixes it! Thanks.


Will you apply this patch yourself, or should I submit the patch and the test case as a separate email to gcc-patches ?

Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]