https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118379
Bug ID: 118379 Summary: [PATCH] Avoid unused-variable-error when configured with 'CFLAGS=-DNDEBUG' Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: one.last.kiss at outlook dot com CC: jakub at gcc dot gnu.org Target Milestone: --- Created attachment 60080 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60080&action=edit git patch file When configured with CFLAGS=-DNDEBUG, the process of make always failed. The attached patch fixed it. Just a small change.