This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14498] [tree-ssa] ICE on legal (varargs)
- 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: 13 Mar 2004 06:31:55 -0000
- Subject: [Bug optimization/14498] [tree-ssa] ICE on legal (varargs)
- References: <20040309015157.14498.dalej@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-13 06:31 -------
>From bug 13737:
AFAIK it is incorrect to use "va_list *" so the code is wrong.
va_list is allowed to be something different that a pointer, for example
on ppc64 and x86-64 it is an one element array (builtin type).
Arrays are always passed as a pointer to the first element so there is no
performance penalty.
>From this other bug I do not know if this is valid code (even though it is used in SPEC
2000 or 2004) so maybe this should rejected.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14498