Am 19.03.2012 11:45, schrieb Andreas Färber:
Am 18.03.2012 23:16, schrieb Stefan Weil:
Most functions which handle exceptions don't return.
With a compiler attribute (added by QEMU_NORETURN),
gcc can optimize the code.
Do you have any numbers?
Yes, of course: for (;;) { printf("%ld\n", rand
Am 18.03.2012 23:16, schrieb Stefan Weil:
> Most functions which handle exceptions don't return.
>
> With a compiler attribute (added by QEMU_NORETURN),
> gcc can optimize the code.
Do you have any numbers?
>
> Signed-off-by: Stefan Weil
Seems like a sensible optimization,
Reviewed-by: Andre
Most functions which handle exceptions don't return.
With a compiler attribute (added by QEMU_NORETURN),
gcc can optimize the code.
Signed-off-by: Stefan Weil
---
def-helper.h |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/def-helper.h b/def-helper.h
index 0e70c3