This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/36849] IMA rejects to merge (function)decls with va_args
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Aug 2008 15:04:29 -0000
- Subject: [Bug c/36849] IMA rejects to merge (function)decls with va_args
- References: <bug-36849-11811@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-12 15:04 -------
(In reply to comment #2)
> Do you have a suggestion on how libc could legally provide an mremap
> implementation as per the example in #0 that can be compiled with -combine?
You don't. You can try some tricks with __asm__ but I would not recommend it
though.
As far as I can tell mremap only takes 4 arguments anyways.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36849