On Fri, Jun 06, 2008 at 02:15:38PM +0200, Wojciech Muła wrote:
> Consider this simple program:
This is not simple. Inline assembler could never be simple.
> " xorl %%ebx, %%ebx \n"
Don't use explicit register names but placeholder.
> " movzbl (%%eax
Subject: gcc-4.3: -O2 -O3 - wrong arguments are passing to inlined body of
function
Package: gcc-4.3
Version: 4.3.0-5
Severity: important
Consider this simple program:
---bug.c---
#define N 100
char array[N];
void inline_asm(int iters) {
__asm__ volatile (
#ifdef PRESERVE_ALL_REGS
2 matches
Mail list logo