Andreas wrote: > |> foo() |> { |> asm(".equ SIZEOF_FOO,%0" :: "i" (sizeof foo)); ^^ Try %c0. Perfect. Many thanks.