Started by user snail Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on docker-jenkins-agent in workspace /home/jenkins/agent/workspace/gcc-patch [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] Done The recommended git tool is: NONE using credential 0adb5fc7-caa2-429d-97d2-c7fa2fa1d884 Cloning the remote Git repository Using shallow clone with depth 1 Avoid fetching tags Cloning repository git@github.com:wangliu-iscas/gcc-patch.git/ > git init /home/jenkins/agent/workspace/gcc-patch # timeout=10 Fetching upstream changes from git@github.com:wangliu-iscas/gcc-patch.git/ > git --version # timeout=10 > git --version # 'git version 2.37.2' using GIT_SSH to set credentials patchwork github wangliu-iscas git ssh key Verifying host key using known hosts file, will automatically accept unseen keys > git fetch --no-tags --force --progress --depth=1 -- git@github.com:wangliu-iscas/gcc-patch.git/ +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:wangliu-iscas/gcc-patch.git/ # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 8efc38347a7444dde3fb173f0f2c59a60b7db53d (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8efc38347a7444dde3fb173f0f2c59a60b7db53d # timeout=10 Commit message: "Implement range-op entry for __builtin_copysign." > git rev-list --no-walk 8efc38347a7444dde3fb173f0f2c59a60b7db53d # timeout=10 [EnvInject] - Mask passwords that will be passed as build parameters. [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content GITHUB_REPO=https://github.com/wangliu-iscas/ PATCHWORK_URL=https://patchwork.plctlab.org [EnvInject] - Variables injected successfully. [gcc-patch] $ /usr/bin/env bash /tmp/jenkins16958695605491515090.sh + git config pull.rebase false + git fetch origin master From github.com:wangliu-iscas/gcc-patch * branch master -> FETCH_HEAD + git checkout master Switched to a new branch 'master' branch 'master' set up to track 'origin/master'. + git pull origin master From github.com:wangliu-iscas/gcc-patch * branch master -> FETCH_HEAD Already up to date. + git fetch origin upstream-master From github.com:wangliu-iscas/gcc-patch * branch upstream-master -> FETCH_HEAD + git checkout upstream-master Switched to a new branch 'upstream-master' branch 'upstream-master' set up to track 'origin/upstream-master'. + git remote add upstream https://github.com/gcc-mirror/gcc.git + git pull upstream master From https://github.com/gcc-mirror/gcc * branch master -> FETCH_HEAD * [new branch] master -> upstream/master Already up to date. + git push -u origin upstream-master Everything up-to-date branch 'upstream-master' set up to track 'origin/upstream-master'. + git checkout master Switched to branch 'master' Your branch is up to date with 'origin/master'. + git merge upstream-master Already up to date. + git push -u origin master Everything up-to-date branch 'master' set up to track 'origin/master'. + branchname=series1956-patch2705 ++ git branch -a ++ grep 'series1956-patch2705$' + checkbranch= + checkbranchresult=null + '[' null = series1956-patch2705 ']' + git checkout -b series1956-patch2705 Switched to a new branch 'series1956-patch2705' ++ curl https://patchwork.plctlab.org/api/1.2/series/1956/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1304 100 1304 0 0 46571 0 --:--:-- --:--:-- --:--:-- 46571 + series_response='{"id":1956,"url":"https://patchwork.plctlab.org/api/1.2/series/1956/","web_url":"https://patchwork.plctlab.org/project/gcc-patch/list/?series=1956","project":{"id":1,"url":"https://patchwork.plctlab.org/api/1.2/projects/1/","name":"gcc-patch","link_name":"gcc-patch","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":"https://gcc.gnu.org/mailman/listinfo/gcc-patches","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"name":"Check rvc_normal in real_isdenormal.","date":"2022-10-14T14:30:47","submitter":{"id":16,"url":"https://patchwork.plctlab.org/api/1.2/people/16/","name":"Aldy Hernandez","email":"aldyh@redhat.com"},"version":1,"total":1,"received_total":1,"received_all":true,"mbox":"https://patchwork.plctlab.org/series/1956/mbox/","cover_letter":null,"patches":[{"id":2705,"url":"https://patchwork.plctlab.org/api/1.2/patches/2705/","web_url":"https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/","msgid":"<20221014143047.672008-1-aldyh@redhat.com>","list_archive_url":null,"date":"2022-10-14T14:30:47","name":"Check rvc_normal in real_isdenormal.","mbox":"https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/"}]}' ++ echo '{"id":1956,"url":"https://patchwork.plctlab.org/api/1.2/series/1956/","web_url":"https://patchwork.plctlab.org/project/gcc-patch/list/?series=1956","project":{"id":1,"url":"https://patchwork.plctlab.org/api/1.2/projects/1/","name":"gcc-patch","link_name":"gcc-patch","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":"https://gcc.gnu.org/mailman/listinfo/gcc-patches","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"name":"Check rvc_normal in real_isdenormal.","date":"2022-10-14T14:30:47","submitter":{"id":16,"url":"https://patchwork.plctlab.org/api/1.2/people/16/","name":"Aldy Hernandez","email":"aldyh@redhat.com"},"version":1,"total":1,"received_total":1,"received_all":true,"mbox":"https://patchwork.plctlab.org/series/1956/mbox/","cover_letter":null,"patches":[{"id":2705,"url":"https://patchwork.plctlab.org/api/1.2/patches/2705/","web_url":"https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/","msgid":"<20221014143047.672008-1-aldyh@redhat.com>","list_archive_url":null,"date":"2022-10-14T14:30:47","name":"Check rvc_normal in real_isdenormal.","mbox":"https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/"}]}' ++ jq '.patches[] | (.id|tostring) + "," + .mbox' + patchid_patchurl='"2705,https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/"' + echo '"2705,https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/"' + IFS=, + read -r series_patch_id series_patch_url ++ echo '"2705' ++ sed 's/"//g' + series_patch_id=2705 ++ echo 'https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/"' ++ sed 's/"//g' + series_patch_url=https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++ git rev-parse HEAD + commitid_before=8efc38347a7444dde3fb173f0f2c59a60b7db53d + eval '+++ declare -p bout bret declare -- bout="Applying: Check rvc_normal in real_isdenormal. error: sha1 information is lacking or useless (gcc/value-range.cc). error: could not build fake ancestor hint: Use '\''git am --show-current-patch=diff'\'' to see the failed patch Patch failed at 0001 Check rvc_normal in real_isdenormal. When you have resolved this problem, run \"git am --continue\". If you prefer to skip this patch, run \"git am --skip\" instead. To restore the original branch and stop patching, run \"git am --abort\"." declare -- bret="128" ++ berr='\''++++ git_am https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ patch_url=https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ curl https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ git am -3 --empty=drop % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8852 100 8852 0 0 240k 0 --:--:-- --:--:-- --:--:-- 240k +++ bout='\''\'\'''\''Applying: Check rvc_normal in real_isdenormal. error: sha1 information is lacking or useless (gcc/value-range.cc). error: could not build fake ancestor hint: Use '\''\'\'''\''\'\''\'\'''\'''\''\'\'''\''git am --show-current-patch=diff'\''\'\'''\''\'\''\'\'''\'''\''\'\'''\'' to see the failed patch Patch failed at 0001 Check rvc_normal in real_isdenormal. When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".'\''\'\'''\'' +++ bret=128'\'' ++ declare -p berr declare -- berr="++++ git_am https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ patch_url=https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ curl https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ git am -3 --empty=drop % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8852 100 8852 0 0 240k 0 --:--:-- --:--:-- --:--:-- 240k +++ bout='\''Applying: Check rvc_normal in real_isdenormal. error: sha1 information is lacking or useless (gcc/value-range.cc). error: could not build fake ancestor hint: Use '\''\\'\'''\''git am --show-current-patch=diff'\''\\'\'''\'' to see the failed patch Patch failed at 0001 Check rvc_normal in real_isdenormal. When you have resolved this problem, run \"git am --continue\". If you prefer to skip this patch, run \"git am --skip\" instead. To restore the original branch and stop patching, run \"git am --abort\".'\'' +++ bret=128"' ++ +++ declare -p bout bret /tmp/jenkins16958695605491515090.sh: line 85: +++: command not found ++ declare -- 'bout=Applying: Check rvc_normal in real_isdenormal. error: sha1 information is lacking or useless (gcc/value-range.cc). error: could not build fake ancestor hint: Use '\''git am --show-current-patch=diff'\'' to see the failed patch Patch failed at 0001 Check rvc_normal in real_isdenormal. When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".' ++ declare -- bret=128 ++ ++ 'berr=++++ git_am https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ patch_url=https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ curl https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ git am -3 --empty=drop % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8852 100 8852 0 0 240k 0 --:--:-- --:--:-- --:--:-- 240k +++ bout='\''Applying: Check rvc_normal in real_isdenormal. error: sha1 information is lacking or useless (gcc/value-range.cc). error: could not build fake ancestor hint: Use '\''\'\'''\''git am --show-current-patch=diff'\''\'\'''\'' to see the failed patch Patch failed at 0001 Check rvc_normal in real_isdenormal. When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".'\'' +++ bret=128' /tmp/jenkins16958695605491515090.sh: line 110: ++: command not found ++ ++ declare -p berr /tmp/jenkins16958695605491515090.sh: line 111: ++: command not found ++ declare -- 'berr=++++ git_am https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ patch_url=https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ curl https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ git am -3 --empty=drop % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8852 100 8852 0 0 240k 0 --:--:-- --:--:-- --:--:-- 240k +++ bout='\''Applying: Check rvc_normal in real_isdenormal. error: sha1 information is lacking or useless (gcc/value-range.cc). error: could not build fake ancestor hint: Use '\''\'\'''\''git am --show-current-patch=diff'\''\'\'''\'' to see the failed patch Patch failed at 0001 Check rvc_normal in real_isdenormal. When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".'\'' +++ bret=128' ++ git rev-parse HEAD + commitid_after=8efc38347a7444dde3fb173f0f2c59a60b7db53d + '[' 128 = 0 ']' + [[ ++++ git_am https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ patch_url=https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ curl https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/ ++++ git am -3 --empty=drop % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8852 100 8852 0 0 240k 0 --:--:-- --:--:-- --:--:-- 240k +++ bout='Applying: Check rvc_normal in real_isdenormal. error: sha1 information is lacking or useless (gcc/value-range.cc). error: could not build fake ancestor hint: Use '\''git am --show-current-patch=diff'\'' to see the failed patch Patch failed at 0001 Check rvc_normal in real_isdenormal. When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".' +++ bret=128 =~ sha1 information is lacking or useless ]] + submit_check warning Unresolved https://patchwork.plctlab.org/jenkins/job/gcc-patch/1301/consoleText 'Git am fail log' + check_state=warning + patch_state=Unresolved + repo_url=https://patchwork.plctlab.org/jenkins/job/gcc-patch/1301/consoleText + DESCRIPTION='Git am fail log' + curl -X POST -H 'Authorization: Token [*******]' -F state=warning -F target_url=https://patchwork.plctlab.org/jenkins/job/gcc-patch/1301/consoleText -F context=gcc-patch-check -F 'description=Git am fail log' https://patchwork.plctlab.org/api/patches/2705/checks/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 962 100 422 100 540 11405 14594 --:--:-- --:--:-- --:--:-- 26000 {"id":978,"url":"https://patchwork.plctlab.org/api/patches/2705/checks/978/","user":{"id":1,"url":"https://patchwork.plctlab.org/api/users/1/","username":"snail","first_name":"","last_name":"","email":"wangliu@iscas.ac.cn"},"date":"2022-10-14T17:19:51.874668","state":"warning","target_url":"https://patchwork.plctlab.org/jenkins/job/gcc-patch/1301/consoleText","context":"gcc-patch-check","description":"Git am fail log"}+ curl -X PATCH -H 'Authorization: Token [*******]' -F state=Unresolved https://patchwork.plctlab.org/api/1.2/patches/2705/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0{"id":2705,"url":"https://patchwork.plctlab.org/api/1.2/patches/2705/","web_url":"https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/","project":{"id":1,"url":"https://patchwork.plctlab.org/api/1.2/projects/1/","name":"gcc-patch","link_name":"gcc-patch","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":"https://gcc.gnu.org/mailman/listinfo/gcc-patches","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20221014143047.672008-1-aldyh@redhat.com>","list_archive_url":null,"date":"2022-10-14T14:30:47","name":"Check rvc_normal in real_isdenormal.","commit_ref":null,"pull_url":null,"state":"unresolved","archived":false,"hash":"91b8de119d2586abdab358067f2cbe0f174350a4","submitter":{"id":16,"url":"https://patchwork.plctlab.org/api/1.2/people/16/","name":"Aldy Hernandez","email":"aldyh@redhat.com"},"delegate":null,"mbox":"https://patchwork.plctlab.org/project/gcc-patch/patch/20221014143047.672008-1-aldyh@redhat.com/mbox/","series":[{"id":1956,"url":"https://patchwork.plctlab.org/api/1.2/series/1956/","web_url":"https://patchwork.plctlab.org/project/gcc-patch/list/?series=1956","date":"2022-10-14T14:30:47","name":"Check rvc_normal in real_isdenormal.","version":1,"mbox":"https://patchwork.plctlab.org/series/1956/mbox/"}],"comments":"https://patchwork.plctlab.org/api/patches/2705/comments/","check":"warning","checks":"https://patchwork.plctlab.org/api/patches/2705/checks/","tags":{},"headers":{"Return-Path":"","Delivered-To":["ouuuleilei@gmail.com","gcc-patches@gcc.gnu.org"],"Received":["by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp213876wrs;\n Fri, 14 Oct 2022 07:31:52 -0700 (PDT)","from sourceware.org (server2.sourceware.org.\n [2620:52:3:1:0:246e:9693:128c])\n by mx.google.com with ESMTPS id\n y26-20020a50eb9a000000b004592847889fsi2054739edr.158.2022.10.14.07.31.52\n for \n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 14 Oct 2022 07:31:52 -0700 (PDT)","from server2.sourceware.org (localhost [IPv6:::1])\n\tby sourceware.org (Postfix) with ESMTP id 3A8603857038\n\tfor ; Fri, 14 Oct 2022 14:31:51 +0000 (GMT)","from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by sourceware.org (Postfix) with ESMTPS id 438A93858024\n for ; Fri, 14 Oct 2022 14:30:57 +0000 (GMT)","from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n us-mta-247-sGUfhStbOemC5dEcphUQlQ-1; Fri, 14 Oct 2022 10:30:53 -0400","from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com\n [10.11.54.1])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C6E00886461\n for ; Fri, 14 Oct 2022 14:30:52 +0000 (UTC)","from abulafia.quesejoda.com (unknown [10.39.195.163])\n by smtp.corp.redhat.com (Postfix) with ESMTPS id 5D7BE4043479;\n Fri, 14 Oct 2022 14:30:52 +0000 (UTC)","from abulafia.quesejoda.com (localhost [127.0.0.1])\n by abulafia.quesejoda.com (8.17.1/8.17.1) with ESMTPS id 29EEUnrU672031\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);\n Fri, 14 Oct 2022 16:30:49 +0200","(from aldyh@localhost)\n by abulafia.quesejoda.com (8.17.1/8.17.1/Submit) id 29EEUnEk672030;\n Fri, 14 Oct 2022 16:30:49 +0200"],"X-Google-Smtp-Source":"\n AMsMyM5M96dJ7R3PoSxaiGJkWiLVwewVWhfFjiYZZ+tMl26n6WCboAu5TkbcJVq3aOpjqI3ZsvKM","X-Received":"by 2002:a05:6402:35cd:b0:45c:c4d4:6e11 with SMTP id\n z13-20020a05640235cd00b0045cc4d46e11mr4288725edc.275.1665757912535;\n Fri, 14 Oct 2022 07:31:52 -0700 (PDT)","ARC-Seal":"i=1; a=rsa-sha256; t=1665757912; cv=none;\n d=google.com; s=arc-20160816;\n b=RbouZUJ5yn+HfwYLvCY00WFFrwVq2waaZPoS5IQ8sTE8MO9tvGDgI98s2i7Aqfg4En\n 6q9Of+hXQJko8lMgb4TvwDVZf7ztaSr9KXnCHEJFopEggXrrKZ5f84bwbvIFeNMHpGC7\n 101mHPj9iQjjJQuAxQYS7wpUThLAicjbeQemif2Gcn5u0EFjkwGZWFFoaW8ESFSJIF9G\n fJTSeFbFlVc6+ykNxFG97gEBLTj/ylH6RlSZxKZT2RcjlBmFopjUFvt0vEKw1/QagUP9\n ULTZeZm4wBautpr9TguAOPmKivQnKjsWXi/9Wr8/ZLR7y2IV3MmU075+VSeoEXHOHW7I\n z9fA==","ARC-Message-Signature":"i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20160816;\n h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help\n :list-post:list-archive:list-unsubscribe:list-id:precedence\n :content-transfer-encoding:mime-version:message-id:date:subject:to\n :dmarc-filter:delivered-to:dkim-signature:dkim-filter;\n bh=bjQK2X7r0d74JLw7bHwD0gzx6tXUMsBME3U8p788Esw=;\n b=ha+gbEy04ILic+X+KfNFrCzgoMnMbc+XCVImzcZ95ukcvUvNM5VbN1FKSXUkdNM9qv\n y6rsacQ6yFwWtG9NcJ+8A8EFsAh/QlCcqzyfshWPm7l6SFm/kMA4F7ONyjRad7NIyBsX\n IdYEezHJezmMzxrQpPCSWs+xp/J9/hydN8uVP/8CLERLD0hlnvXwTnlt0exM9JoGTvom\n blELKtMRhypZ2ior77WtfsTeegIBP5e4RDirYKk5T3SCcei33Nbp0ukaSjYrRV/ZcNv/\n spkcg8VP2x0VtRkude+o9krp329HtgevdBJqBPcbfERafi7JRq/xbfmPhq5iBqcud2et\n gQAw==","ARC-Authentication-Results":"i=1; mx.google.com;\n dkim=pass header.i=@gcc.gnu.org header.s=default header.b=TdaRoVZu;\n spf=pass (google.com: domain of\n gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates\n 2620:52:3:1:0:246e:9693:128c as permitted sender)\n smtp.mailfrom=\"gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org\";\n dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org","Received-SPF":"pass (google.com: domain of\n gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates\n 2620:52:3:1:0:246e:9693:128c as permitted sender)\n client-ip=2620:52:3:1:0:246e:9693:128c;","Authentication-Results":"mx.google.com;\n dkim=pass header.i=@gcc.gnu.org header.s=default header.b=TdaRoVZu;\n spf=pass (google.com: domain of\n gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates\n 2620:52:3:1:0:246e:9693:128c as permitted sender)\n smtp.mailfrom=\"gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org\";\n dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org","DKIM-Filter":"OpenDKIM Filter v2.11.0 sourceware.org 3A8603857038","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org;\n\ts=default; t=1665757911;\n\tbh=bjQK2X7r0d74JLw7bHwD0gzx6tXUMsBME3U8p788Esw=;\n\th=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\t List-Help:List-Subscribe:From:Reply-To:Cc:From;\n\tb=TdaRoVZui6522QtoQGMwM7X7YXeXf51ivFGJu1vFFOnTbJexyuNpmTBRWC9C+KPal\n\t LNv/SqmNV+zSue0iH9f70mZ7xCUiyK//w3Y9nrhD3QZLDqine7KJ2tN+8wnsUpxBJX\n\t nM1yenxmAYTjtnU26ICvdwJcqidanC9DCfkmaOvw=","X-Original-To":"gcc-patches@gcc.gnu.org","DMARC-Filter":"OpenDMARC Filter v1.4.1 sourceware.org 438A93858024","X-MC-Unique":"sGUfhStbOemC5dEcphUQlQ-1","To":"Jakub Jelinek ","Subject":"[PATCH] Check rvc_normal in real_isdenormal.","Date":"Fri, 14 Oct 2022 16:30:47 +0200","Message-Id":"<20221014143047.672008-1-aldyh@redhat.com>","MIME-Version":"1.0","X-Scanned-By":"MIMEDefang 3.1 on 10.11.54.1","X-Mimecast-Spam-Score":"0","X-Mimecast-Originator":"redhat.com","Content-Transfer-Encoding":"8bit","Content-Type":"text/plain; charset=\"US-ASCII\"; x-default=true","X-Spam-Status":"No, score=-11.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH,\n DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0,\n RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE,\n TXREP autolearn=ham autolearn_force=no version=3.4.6","X-Spam-Checker-Version":"SpamAssassin 3.4.6 (2021-04-09) on\n server2.sourceware.org","X-BeenThere":"gcc-patches@gcc.gnu.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"Gcc-patches mailing list ","List-Unsubscribe":",\n ","List-Archive":"","List-Post":"","List-Help":"","List-Subscribe":",\n ","From":"Aldy Hernandez via Gcc-patches ","Reply-To":"Aldy Hernandez ","Cc":"GCC patches ","Errors-To":"gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org","Sender":"\"Gcc-patches\" ","X-getmail-retrieved-from-mailbox":"=?utf-8?q?INBOX?=","X-GMAIL-THRID":"=?utf-8?q?1746673768688344724?=","X-GMAIL-MSGID":"=?utf-8?q?1746673768688344724?="},"content":"[Jakub, thanks for pointing this out. OK?]\n\n[-Inf, -Inf] is being flushed to [-Inf, -0.0] because real_isdenormal\nis being overly pessimistic. It is missing a check for rvc_normal.\nThis doesn't cause problems in real.cc because all uses of\nreal_isdenormal are already on the rvc_normal path. The uses in\nvalue-range.cc however, are not.\n\nThis patch adds a check for rvc_normal.\n\ngcc/ChangeLog:\n\n\t* real.h (real_isdenormal): Check rvc_normal.\n\t* value-range.cc (range_tests_floats): New test.\n---\n gcc/real.h | 2 +-\n gcc/value-range.cc | 5 +++++\n 2 files changed, 6 insertions(+), 1 deletion(-)","diff":"diff --git a/gcc/real.h b/gcc/real.h\nindex f9528d765ec..306e9593866 100644\n--- a/gcc/real.h\n+++ b/gcc/real.h\n@@ -290,7 +290,7 @@ extern bool real_issignaling_nan (const REAL_VALUE_TYPE *);\n inline bool\n real_isdenormal (const REAL_VALUE_TYPE *r)\n {\n- return (r->sig[SIGSZ-1] & SIG_MSB) == 0;\n+ return r->cl == rvc_normal && (r->sig[SIGSZ-1] & SIG_MSB) == 0;\n }\n \n /* Determine whether a floating-point value X is finite. */\ndiff --git a/gcc/value-range.cc b/gcc/value-range.cc\nindex 6b4f3dddcd5..ee15eb35df8 100644\n--- a/gcc/value-range.cc\n+++ b/gcc/value-range.cc\n@@ -4014,6 +4014,11 @@ range_tests_floats ()\n r1.clear_nan ();\n r0.intersect (r1);\n ASSERT_TRUE (r0.undefined_p ());\n+\n+ // Make sure [-Inf, -Inf] doesn't get normalized.\n+ r0 = frange_float (\"-Inf\", \"-Inf\");\n+ ASSERT_TRUE (real_isinf (&r0.lower_bound (), true));\n+ ASSERT_TRUE (real_isinf (&r0.upper_bound (), true));\n }\n \n void\n","prefixes":[]}+ exit 1 Build step 'Execute shell' marked build as failure Finished: FAILURE