[Bug c/36849] IMA rejects to merge (function)decls with va_args

2008-08-12 Thread aldot at gcc dot gnu dot org
--- Comment #4 from aldot at gcc dot gnu dot org 2008-08-12 15:48 --- (In reply to comment #3) > You don't. You can try some tricks with __asm__ but I would not recommend it > though. Yes, i dont' want that. > > As far as I can tell mremap only takes 4 arguments anyways. unfortunat

[Bug c/36849] IMA rejects to merge (function)decls with va_args

2008-08-12 Thread pinskia 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

[Bug c/36849] IMA rejects to merge (function)decls with va_args

2008-08-12 Thread aldot at gcc dot gnu dot org
--- Comment #2 from aldot at gcc dot gnu dot org 2008-08-12 09:54 --- (In reply to comment #1) > The error message is correct as the function types are not compatible. If in > fact this is invalid C even though we don't currently diagnostic it without > -combine. > > Closing as invalid

[Bug c/36849] IMA rejects to merge (function)decls with va_args

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-11 00:50 --- The error message is correct as the function types are not compatible. If in fact this is invalid C even though we don't currently diagnostic it without -combine. Closing as invalid as -combine is doing the correct