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]

How to teach gcc, that registers are clobbered by api calls?


Hi,

I found, that the problem for an optimized build (by -O2) is broken for 
the x86_64-pc-mingw32 target, because the runtime functions from msvcrt 
are clobbering registers (%r10 upto %r15). I tried to get it solved by 
call_used and fixed_regs, but it seems not to work. May somebody could 
give me a hint how to solve this problem?

Thanks in advance,
  Kai

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.


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