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]

[Bug target/48767] compiler error: Segmentation fault with set void in va_arg


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48767

--- Comment #2 from Nobuhiro Iwamatsu <iwamatsu at nigauri dot org> 2011-04-27 02:37:37 UTC ---
Hi,

Thanks for your work.

(In reply to comment #1)
> This is a target problem.  The patch below will fix it.

I confirm fix on gcc-4.4, 4,5 and 4.6.
Thanks!

> BTW, I'm not sure that it's an invalid use of void or not in C,
> though g++ treats it as invalid.

Yes, I think too.
I will ask upstream writing such code.

Nobuhiro


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