This is the mail archive of the gcc-patches@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]

Re: Fix crash in complex return values on x86-64


On Wed, Feb 19, 2003 at 03:45:47PM +0100, Jan Hubicka wrote:
> extern float _Complex foo (void);
> double _Complex 
> bar(void)
> {
>   return (double _Complex)foo();
> }
> OK for mainline/branch?

Um, can you explain to me why we're returning

(parallel:SC [
        (expr_list (reg:DI 21 rxmm0)
            (const_int 0 [0x0]))
    ])

as the return value of foo?  That, it seems to me, is the bug.



r~


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