Inline assembler function call bug?

Marcio m.faustino at gmail.com
Sun Aug 20 02:30:37 PDT 2006


Compiling the following code:

//-----------------------------------------------
void main() {
  asm {
    call f;
  }
}

void f() {}
//-----------------------------------------------

with gdc (gcc version 4.0.3 (gdc 0.19, using dmd 0.162)), makes the compiler
generate a segmentation fault:
"internal compiler error: Segmentation fault"

Is this a bug or not?



More information about the D.gnu mailing list