Re: Problem running optimized IA64 code that invokes hand-coded assembly language function

2005-03-18 Thread Andreas Schwab
JCA <[EMAIL PROTECTED]> writes: > It would be useful if somebody knowledgeable could tell me what > IA64 registers does gcc expect to be preserved on return of function > calls; I am familiar with the convention for IA64 assembly language > and C, but I do not know what gcc assumes in this respe

Problem running optimized IA64 code that invokes hand-coded assembly language function

2005-03-18 Thread JCA
I have a function F written in IA64 assembly language function. This function is invoked from a C program P. If I compile P with gcc (version 3.2.3) under Linux, and with no optimization options, the resulting executable runs flawlessly. If I compile P with -O then the resulting executable fails.