This is the mail archive of the gcc@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] |
Interesting.
First I have to ask why pex-unix.c is bringing in restFP and saveFP. The only significant change I made was to replace fork with vfork. I can imagine that vfork might be an inline function on Darwin, but it's hard for me to see why it would be inlined when using the Apple version of gcc but not when using the FSF gcc.
Or is the problem that the Apple gcc recognizes vfork specially, and open codes it, calling saveFP and restFP?
vfork was like setjmp in that it would save all the registers in the function for some reason, this was fixed in later versions of GCC like 3.4.0, it might also be fixed in 3.3.3 but I forgot if it made in. So in older FSF compiler on PPC darwin it would inline the saving but in Apple's compiler it would call saveFP to save them out of line to save space.
Thanks, Andrew Pinski
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |