https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45598
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45598&action=edit
One another-test case

I see one another test-case that comes from here:
https://github.com/systemd/systemd/issues/11369

$ gcc load-fragment.i -c  -Werror=format-overflow -O
load-fragment.i: In function ‘load_from_path’:
load-fragment.i:30349:36: error: ‘%s’ directive argument is null
[-Werror=format-overflow=]
30349 |                                ) ? log_internal_realm(((_realm) << 10 |
(_level)), _e, "../src/core/load-fragment.c", 4301, __func__, "Cannot access
\"%s\": %m", filename) : -abs(_e); });
      |                                   
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

I must say that it's really misleading warning and is probably caused by
ethread pass.

Martin can you please take a look?

Reply via email to