[PATCH] libgomp: avoid unused-variable-error when configured with CFLAGS=-DNDEBUG

2025-01-08 Thread shynur .
>From 929fb2091ffe50a35a1b2dae1f1ce20357bc435b Mon Sep 17 00:00:00 2001 From: shynur Date: Thu, 9 Jan 2025 14:11:38 +0800 Subject: [PATCH] Avoid unused-variable-error when configured with 'CFLAGS=-DNDEBUG' --- libgomp/target.c | 5 +++-- 1 file changed, 3 insertions(+), 2 delet

Re: [PATCH] libgomp: avoid unused-variable-error when configured with CFLAGS=-DNDEBUG

2025-02-15 Thread shynur .
(The *new* patch is attached.) Hi, Jakub and Thomas~ I found some problems when compiling GCC, and it turns out it was related to libgomp. $ git clone ... $ mkdir gcc-build $ cd gcc-build If I configure GCC with $ CC=gcc-14 CXX=g++-14 CFLAGS=-DNDEBUG ../gcc/conf

Re: [PATCH] libgomp: avoid unused-variable-error when configured with CFLAGS=-DNDEBUG

2025-02-17 Thread shynur .
> As part of the Git commit message, please include a ChangeLog update (see > and 'git log'). I've written a new patch which is attached. > Basically, 'contrib/gcc-changelog/git_check_commit.py --print-changelog' > needs to accept your commi