From nobody Sun Aug 4 21:19:53 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WcXXB2xBbz5T3Cr for ; Sun, 04 Aug 2024 21:19:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WcXXB0DFcz4nhC for ; Sun, 4 Aug 2024 21:19:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722806394; a=rsa-sha256; cv=none; b=NIzT95XE4cd5VJYrH9tgK9cx3KbM4fNfMWlCgt9br5FGjrFLBqVPklxIcC47TzJ1GONt19 GP3FM22L5k88XMDix9lpXeCMY1tX4/yqX1cINJT6aFHJFBGQ0VJ5Jlkezato2wDO8ptLec A7ECjxyLpwMZodKdfdlgCxl0o916VfN2eyzdwpNx656wzcLxLPwey6Ac7rfFoHkU8sSOlm JQr0bPise9qWpZJyUfqR78HP08yXz+wJ1Ou767+BMsOQgxmzThGWKyRX57YHE3Mx2YCUB7 UUY0r/QAcoCj05tS+kPN+sRzkS/iluqZKYmfYZgtVZApbVe1bdbfjGhk8Rw32A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722806394; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TRgLa7K2oPdvuQ4DCUCTySaOBVIu0JDxGKN3QwlFsg4=; b=ipxDjg9yc4/VP0oBRPP0aDnzoN/HqvxfCFNrrHGsz4kWGhRZAKfb7kkOkj4syc2bjg8zTx 0P04i8H761AVIkj6/Zf0jA/+huxiJdwKBCOg9m/QJA4s5LFKkhGpvV+hm5TnE19TguC66G XustBiuBFHDGEHmfPOxzNs1sluKeH9KncCirGIAVVFUN2YGZJtSkavHW2QJ9NVoTbYAQvI pR5oEwdF8aw3d18gXKefatC3wHUDJmKVK15B+M+CyJAEJxxI2iVZYOgqk+6Zr+ffSN1vlc opROdKe3mGXfWtUf6UAj/yx7To17a7LSKA+UcAr5mTZB+B1Qj1N2pAWO1MqwFA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WcXX96lMDz19sd for ; Sun, 4 Aug 2024 21:19:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 474LJrux067890 for ; Sun, 4 Aug 2024 21:19:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 474LJr7i067889 for bugs@FreeBSD.org; Sun, 4 Aug 2024 21:19:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 280618] sys/sys/tree.h: The RB_GENERATE_INSERT_COLOR macro is weird. Date: Sun, 04 Aug 2024 21:19:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hodong@nimfsoft.art X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280618 Bug ID: 280618 Summary: sys/sys/tree.h: The RB_GENERATE_INSERT_COLOR macro is weird. Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: hodong@nimfsoft.art There seems to be a problem with the RB_GENERATE_INSERT_COLOR macro. do { \ ... return (child); \ } while ((parent =3D gpar) !=3D NULL); = \ There is a "return" at the end of the "do ... while" loop, so "while ((pare= nt =3D gpar) !=3D NULL);" is not evaluated. --=20 You are receiving this mail because: You are the assignee for the bug.=