From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx.kolabnow.com (mx.kolabnow.com [212.103.80.154]) by sourceware.org (Postfix) with ESMTPS id 10F243858D34 for ; Mon, 15 Apr 2024 11:34:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 10F243858D34 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=lambda.is Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=lambda.is ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 10F243858D34 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=212.103.80.154 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713180862; cv=none; b=qU4djw2bsr7wz9fNLjMg9v+PILyCTOfbCu8PNmv6OO3RF6bB6FrbwCLdti3OUw1gmK8bIzBbBOL/Z/xFzw2K906a2wS3A6eNruHujeYTJnbfUBKB5HAEuAm34/cVxOkbAW/eg8AkRBmWK/OeahNYYT79swoGwbFizfrG6rHZZ64= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713180862; c=relaxed/simple; bh=CSJ4cZkdaM1O3nMwCztskMsSMhNxd5ksqyKe+r+81co=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=gQw+ABAW2ubVESx6zIVo/FG6+jnyP2sxAyggv8sAQT50sMNQAxlL2yLGqwMBuJdOdh/eCFnXuhNwixWyDU7kY62nhwhWZiEekU+XvUeVkLxbBtJjFXX6zBIkKZNsaPksW99ck+o9bZld4MQXmFlZ8CUTKWWPhaPVTc7HJSamt+w= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id A6CBA30E4193; Mon, 15 Apr 2024 13:34:16 +0200 (CEST) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject :mime-version:date:date:message-id:received:received:received; s=dkim20160331; t=1713180855; x=1714995256; bh=Kaf5YaNcu/6vsAZo ATxVv+OB261u0pXXzgnYHlkIjxg=; b=G5GsnsZN2ntlESwbC/HaaCH5RnYrTrFv BPN+ggT0znqsltf1afrwtYcxD1I4lpFAkrBT1e/TEhflJfIsJiNd2GeZEjgo0EMh oLZ/2v3C/Ql+pX7oFj0i40FSZgPHl0y3h5CvHk2HXvwgnvNM5Jq/yMTRRdL9In8S 18rSbyKUJftguHTwPcw+eyeAbbeL36x8HpBgIrgBEbufJeNzvphSgWFP4TNncwUn 9z4qp928yNGYHwYl5Kkdydelp2jFclUtPkJWu/2WaA2Vo0QP8bNo0TLrYxicVUhu lecNjgUQNqREFwbPyciUoOopZ18XB21DxLM16c/dfE842tt0vy0gD7sxunEGwEXp Ptd8mXLxIztHMTjfp+o1OjbEjEcedlrW82hi+wp5NMd/7vzBjE0AJaYnu0zhajgL YibgTSuYZu6c4YAXO1F3/Br+86T2Oxu6hiWotLQUE8adKmkPLAJYBs3Bt6cnqM4+ E0rc0xk/Z/XZKSj7UHqTmvrTwbclSaC/etZ9AgsmEMHKKKVLKWl9H2HZ0Rf5d1Tm 0eHHwRvwoA/8l9c6RCYz3XIuliYL+r5f9Se8IdQayCcgZsUkKLbxqbnDGGOrpnOX 6uUSFKdTS1QN/e5NdVUJjLZbSgvccN9Fvf4kv0ERvp6fnvpLwIDeP/EfvFnI6zhR yAhnFtCanxk= X-Virus-Scanned: amavis at mykolab.com X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id 6csSb1PvwOUm; Mon, 15 Apr 2024 13:34:15 +0200 (CEST) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 8DCA830D8497; Mon, 15 Apr 2024 13:34:14 +0200 (CEST) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id 337C331236E0; Mon, 15 Apr 2024 13:34:14 +0200 (CEST) Message-ID: <5880b4f2-d726-42ea-ae4c-7b756f5982b7@lambda.is> Date: Mon, 15 Apr 2024 13:34:13 +0200 MIME-Version: 1.0 Subject: Re: [PATCH v10 1/2] Add condition coverage (MC/DC) To: Rainer Orth Cc: Jan Hubicka , gcc-patches@gcc.gnu.org, richard.guenther@gmail.com References: <20240223111800.1209438-1-j@lambda.is> <7033a2f7-42de-4bb3-a99a-28a35995c4a2@lambda.is> <8c5c6825-38ef-4dd3-b225-ddbec9eba3f6@lambda.is> Content-Language: en-US From: =?UTF-8?Q?J=C3=B8rgen_Kvalsvik?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 15/04/2024 13:18, Rainer Orth wrote: > Hi Jørgen, > >>> the new gcc.misc-tests/gcov-22.c test loops on SPARC (both Solaris and >>> Linux). I've filed PR gcov-profile/114720 for this, but couldn't find >>> any bugzilla account of yours to Cc: >>> Rainer >>> >> >> Rainer, >> >> Could you please try this patch? I don't have a sparc nor non-glibc build >> (and getting a virtual one up will take a while). I suppose the problem is > > given that the test also FAILs on Linux/sparc64, it's not a > glibc-vs-non-glibc issue. Sure, I just figured that a different libc setjmp might have the same behaviour also on x86. > > FWIW, there are both Solaris/SPARC and Linux/sparc64 systems available > in the cfarm; no need to build one yourself. But fully agreed, running > a full bootstrap to verify a single testcase is a bit much if it can be > done more easily ;-) I was not aware of the cfarm, that seems like a splendid resource, I'll create an account. > >> that after longjmp the return address is to the call to setdest(), not >> jump() (like is assumed), which creates the loop. If so, just guarding the >> longjmp should be fine, the point of the test is to make sure that both >> branches can be taken and recorded when the cond is a setjmp. If it works I >> will document it and post the patch. > > I've just tried the patch on both sparc-sun-solaris2.11 and > i386-pc-solaris2.11 and the test now PASSes on both. > > Thanks. > Rainer > Ok, thanks, I'll type up a patch and submit again for review.