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 optimization/14498] [tree-ssa] ICE on legal (varargs)


------- 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


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