This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/48767] compiler error: Segmentation fault with set void in va_arg
- From: "iwamatsu at nigauri dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 27 Apr 2011 02:39:52 +0000
- Subject: [Bug target/48767] compiler error: Segmentation fault with set void in va_arg
- Auto-submitted: auto-generated
- References: <bug-48767-4@http.gcc.gnu.org/bugzilla/>
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