{"id":2223380,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2223380/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/patch/ad9E384GE-eX9xan@tucnak/","project":{"id":17,"url":"http://patchwork.ozlabs.org/api/1.1/projects/17/?format=json","name":"GNU Compiler Collection","link_name":"gcc","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<ad9E384GE-eX9xan@tucnak>","date":"2026-04-15T07:57:19","name":"[committed] testsuite: Require hard_float eff. target and use -frounding-math in bitint-31.c","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"9b7bfe644151ca862baed24f3704415fdf570c7f","submitter":{"id":671,"url":"http://patchwork.ozlabs.org/api/1.1/people/671/?format=json","name":"Jakub Jelinek","email":"jakub@redhat.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/gcc/patch/ad9E384GE-eX9xan@tucnak/mbox/","series":[{"id":499939,"url":"http://patchwork.ozlabs.org/api/1.1/series/499939/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/list/?series=499939","date":"2026-04-15T07:57:19","name":"[committed] testsuite: Require hard_float eff. target and use -frounding-math in bitint-31.c","version":1,"mbox":"http://patchwork.ozlabs.org/series/499939/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2223380/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2223380/checks/","tags":{},"headers":{"Return-Path":"<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":["incoming@patchwork.ozlabs.org","gcc-patches@gcc.gnu.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","gcc-patches@gcc.gnu.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=e1U9g5xX;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)","sourceware.org;\n\tdkim=pass (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=e1U9g5xX","sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com","sourceware.org; spf=pass smtp.mailfrom=redhat.com","server2.sourceware.org;\n arc=none smtp.remote-ip=170.10.133.124"],"Received":["from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fwYR84rP0z1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 15 Apr 2026 17:57:55 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 7BBEF4BA2E13\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 15 Apr 2026 07:57:53 +0000 (GMT)","from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by sourceware.org (Postfix) with ESMTP id 819FA4BA2E04\n for <gcc-patches@gcc.gnu.org>; Wed, 15 Apr 2026 07:57:26 +0000 (GMT)","from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-454-kUWh2eHuPtaJ33_aZAyQUQ-1; Wed,\n 15 Apr 2026 03:57:24 -0400","from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id C0DDB19560B8; Wed, 15 Apr 2026 07:57:23 +0000 (UTC)","from tucnak.zalov.cz (unknown [10.44.33.129])\n by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with\n ESMTPS\n id 2EADC180044F; Wed, 15 Apr 2026 07:57:22 +0000 (UTC)","from tucnak.zalov.cz (localhost [127.0.0.1])\n by tucnak.zalov.cz (8.18.1/8.18.1) with ESMTPS id 63F7vK3X1903232\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);\n Wed, 15 Apr 2026 09:57:20 +0200","(from jakub@localhost)\n by tucnak.zalov.cz (8.18.1/8.18.1/Submit) id 63F7vJcA1903231;\n Wed, 15 Apr 2026 09:57:19 +0200"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 7BBEF4BA2E13","OpenDKIM Filter v2.11.0 sourceware.org 819FA4BA2E04"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 819FA4BA2E04","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 819FA4BA2E04","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776239846; cv=none;\n b=UHiUPm+9EOddEbYSM9ul182UJb709h28+1SShxzccGeixhbQY9yDG1aJy0cdUL5bO7+rMUj5GS2LnHiQRFgriO77Q0JwdDYZPstkE21ZJqRwYFTPMicYY1d54URthNQC8KfezJIKq/bwt6NfA0ZxG7Dm78FHVIZ+xSa8K3/YT+I=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776239846; c=relaxed/simple;\n bh=rV6eICf8Xi1XU4hLKh06yOabkVUsBxsBUyFAZIYIeqQ=;\n h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;\n b=dw+b90PoinsQHYAd7UQ5rzx7EzHr1GtMJUG5+GvpEV8Q4FrfTsnrduoWITuNyQlsburpfKd+EsoHYcAstl+9TlKL7+qhCBjsunABlbzqxstXoKeyCFVK8LuWr7ub+tLHgxQEdhFiKayoK6R1+crg9FuhZzC7ye7A2urSk8bZcaY=","ARC-Authentication-Results":"i=1; server2.sourceware.org","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1776239846;\n h=from:from:reply-to:reply-to:subject:subject:date:date:\n message-id:message-id:to:to:cc:cc:mime-version:mime-version:\n content-type:content-type; bh=suEytQGTy18prxUn1Jps84dEtOkO9/dPdxPlRKgFtig=;\n b=e1U9g5xXd9bt71hrpe39/XR4EVpZJaWXt/BaSkb8/Rb7vTomFxONnv17iG/4RCClhk4o9a\n uipqkY2TfztVysVb6f7oe9U8xyg6Os/GKhC7MyfeWAsFljOp2BhuadpJD68dWisf67TkbS\n vy46ka+fOrge8LMSj6EpnwyIoHuPHA8=","X-MC-Unique":"kUWh2eHuPtaJ33_aZAyQUQ-1","X-Mimecast-MFC-AGG-ID":"kUWh2eHuPtaJ33_aZAyQUQ_1776239844","Date":"Wed, 15 Apr 2026 09:57:19 +0200","From":"Jakub Jelinek <jakub@redhat.com>","To":"gcc-patches@gcc.gnu.org","Cc":"Andre Simoes Dias Vieira <Andre.SimoesDiasVieira@arm.com>","Subject":"[committed] testsuite: Require hard_float eff. target and use\n -frounding-math in bitint-31.c","Message-ID":"<ad9E384GE-eX9xan@tucnak>","MIME-Version":"1.0","X-Scanned-By":"MIMEDefang 3.4.1 on 10.30.177.111","X-Mimecast-Spam-Score":"0","X-Mimecast-MFC-PROC-ID":"mT9CQfPxew3AFSgcwDw4XPy-qtWipCiDGQZ00jP1kKg_1776239844","X-Mimecast-Originator":"redhat.com","Content-Type":"text/plain; charset=us-ascii","Content-Disposition":"inline","X-BeenThere":"gcc-patches@gcc.gnu.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Gcc-patches mailing list <gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>","List-Archive":"<https://gcc.gnu.org/pipermail/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-request@gcc.gnu.org?subject=help>","List-Subscribe":"<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>","Reply-To":"Jakub Jelinek <jakub@redhat.com>","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"},"content":"Hi!\n\nOther tests which use fesetround and test rounding behavior use both\nfenv and hard_float effective targets and -frounding-math in dg-options.\n\nThis patch adjusts bitint-31.c to do the same.\n\nTested on x86_64-linux -m64/-m32, committed to trunk as obvious.\n\n2026-04-15  Jakub Jelinek  <jakub@redhat.com>\n\n\t* gcc.dg/bitint-31.c: Require hard_float effective target, add\n\t-frounding-math to dg-options.\n\n\n\tJakub","diff":"--- gcc/testsuite/gcc.dg/bitint-31.c.jj\t2026-03-27 10:17:16.867286142 +0100\n+++ gcc/testsuite/gcc.dg/bitint-31.c\t2026-04-15 09:16:18.706865336 +0200\n@@ -1,7 +1,8 @@\n /* PR c/102989 */\n /* { dg-do run } */\n /* { dg-require-effective-target fenv } */\n-/* { dg-options \"-std=c23\" } */\n+/* { dg-require-effective-target hard_float } */\n+/* { dg-options \"-std=c23 -frounding-math\" } */\n /* { dg-add-options ieee } */\n \n #include <fenv.h>\n","prefixes":["committed"]}