]> Savannah Git Hosting - gnulib.git/commit
error: do not evaluate status twice
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 3 Jun 2023 05:30:52 +0000 (22:30 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 3 Jun 2023 06:07:07 +0000 (23:07 -0700)
commitcfd41b3ac199a4f95fb78ee251e8c8a7c6f86ad1
tree8237930031f5df45620bc37fac0038b9defa1729
parenta601878fb65bcc8f80594d6700b24778926b9f56
error: do not evaluate status twice

Do this in a different way, so that the status is evaluated
once even when not optimizing and when using GCC.
* lib/error.in.h (__gl_error_call1) [__GNUC__]: New macro.
(__gl_error_call) [__GNUC__]: Use it.
ChangeLog
lib/error.in.h