This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to teach gcc, that registers are clobbered by api calls?
Are r10-r15 callee-saved in w64ABI?
H.J.
On Mon, Apr 21, 2008 at 12:48 AM, Kai Tietz <Kai.Tietz@onevision.com> wrote:
> 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.
>
>