[PATCH v3 0/1] Add attribute to setjmp()

Joel Sherrill joel@rtems.org
Thu Oct 2 22:22:18 GMT 2025


This version uses the definitions in cdefs.h for "no return" and
"returns twice". 

  - "returns twice" was not in ansidecl.h.

  - Neither was in _ansi.h.

  - cdefs.h had both and had logic for minimum GCC versions.

Hopefully this addresses all the comments.

Joel Sherrill (1):
  newlib/libc/include/setjmp.h: Add returns_twice attribute to setjmp()

 newlib/libc/include/setjmp.h | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

-- 
2.47.3



More information about the Newlib mailing list