{"id":2223102,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2223102/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/patch/20260414131514.942431-1-torbjorn.svensson@foss.st.com/","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":"<20260414131514.942431-1-torbjorn.svensson@foss.st.com>","date":"2026-04-14T13:14:57","name":"testsuite: add missing override to member function","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"f65c7e293cb5c90c1bce54f4476c134900000365","submitter":{"id":84848,"url":"http://patchwork.ozlabs.org/api/1.1/people/84848/?format=json","name":"Torbjörn SVENSSON","email":"torbjorn.svensson@foss.st.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/gcc/patch/20260414131514.942431-1-torbjorn.svensson@foss.st.com/mbox/","series":[{"id":499839,"url":"http://patchwork.ozlabs.org/api/1.1/series/499839/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/list/?series=499839","date":"2026-04-14T13:14:57","name":"testsuite: add missing override to member function","version":1,"mbox":"http://patchwork.ozlabs.org/series/499839/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2223102/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2223102/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 (2048-bit key;\n unprotected) header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256\n header.s=selector2 header.b=lObnJB2h;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.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 (2048-bit key,\n unprotected) header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256\n header.s=selector2 header.b=lObnJB2h","sourceware.org;\n dmarc=pass (p=none dis=none) header.from=foss.st.com","sourceware.org; spf=pass smtp.mailfrom=foss.st.com","server2.sourceware.org;\n arc=pass smtp.remote-ip=52.101.84.65"],"Received":["from vm01.sourceware.org (vm01.sourceware.org [38.145.34.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 4fw4Xg2mh9z1yDF\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 23:16:02 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 2CFCE4BA2E0D\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 13:16:00 +0000 (GMT)","from DB3PR0202CU003.outbound.protection.outlook.com\n (mail-northeuropeazon11010065.outbound.protection.outlook.com [52.101.84.65])\n by sourceware.org (Postfix) with ESMTPS id EF51C4BA2E06\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 13:15:30 +0000 (GMT)","from CWLP265CA0490.GBRP265.PROD.OUTLOOK.COM (2603:10a6:400:18a::14)\n by AS8PR10MB6246.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:54f::8)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9769.48; Tue, 14 Apr\n 2026 13:15:27 +0000","from AMS1EPF0000004E.eurprd04.prod.outlook.com\n (2603:10a6:400:18a:cafe::23) by CWLP265CA0490.outlook.office365.com\n (2603:10a6:400:18a::14) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9769.48 via Frontend Transport; Tue,\n 14 Apr 2026 13:15:27 +0000","from smtpO365.st.com (164.130.1.59) by\n AMS1EPF0000004E.mail.protection.outlook.com (10.167.16.139) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9769.17 via Frontend Transport; Tue, 14 Apr 2026 13:15:26 +0000","from STKDAG1NODE2.st.com (10.75.128.133) by smtpo365.st.com\n (10.250.44.71) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Tue, 14 Apr\n 2026 15:18:35 +0200","from jkgcxl0012.jkg.st.com (10.74.22.122) by STKDAG1NODE2.st.com\n (10.75.128.133) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Tue, 14 Apr\n 2026 15:15:25 +0200"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 2CFCE4BA2E0D","OpenDKIM Filter v2.11.0 sourceware.org EF51C4BA2E06"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org EF51C4BA2E06","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org EF51C4BA2E06","ARC-Seal":["i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1776172531; cv=pass;\n b=G3q5IV9qYOUPhzVEeSohMQNx6/ALateIgOHJWVtPxao6iZKB3ORys4dDDVJmwNBA1HlCVvrk2Ioc0fMVKji4rMSKxRdxbfke2rh5Nyg+FSB7/pfdGrQ/ZoroaDXAZ3uyc+8ry//XjP3mU8hEhSEKvZTqT90neuodzhMRFYYY1sw=","i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=kk2WHVXXfcscCOxh1Ec5v6hp67lU+OmsEhTx1HQPZxF5Vxi73YQnJ8s2YwDh7MIETJLvGvDxKqPnzNLfGIjyf/sjzW6eCRab2PDqkFc1Z5pbyra+Tw9DtVYMNIhx3QxCXrZ97rurW0H+J1VXnzLw4NXIh9xxXHdlKhvNH6jmeIqd7WMABWZijNuiakW0oUzOEApa0V0iMHTMULcAk6Om/lyH9p7jvLJjZZXp081Y39ep5LIWQNZOqYqeCzqwEL1DVVN8n9auhvu3CxLsR+23Fr/3/bJaun3avxk3nUeGqCyI2xKtIuhxnbbX5UTbYsfDXW9Fuy4qqU3JjdbJYGn28w=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776172531; c=relaxed/simple;\n bh=qZaqoLiV4LiU6NVIU0rqCPA5TZkkpb/mtINQD0goZVk=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=At3a59j4Pz59dl9ri87gwAkR4+oovCzyDsT+5LQym5pvKIQvEmWvOqtIRGgNtfnFd0NnFiZHZg0ARjGgy41Bj6A+MJFKEni6jTTY3ogRPE2uv291hC2Cwt3v2PsxSFahXYGM1hLT9x+zh4DROF0UixkCRFhgDVDnZrxr9LLhs2I=","i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=1jbVDwPF2OVfDERgWiH1TjxTpmRt/zGV1gp3o4vP2j8=;\n b=asOYscLBEnOPQ+2aIwCtaXG0AVmiYpApasCN+tBPYpRSk3BK9y3tNHXe47WVshwZT8al1pVFqbl9j2vUNQn2mXiluQhYhqEbcSYKhmYLM6eiSIPlG9kXWF/OGaxB6nQzwWsebb5M7vy23sC+DhE/mUKs0mgQyLWi2kzlQ7L/iiupCg82ea9j+gnkCiyrQps9DdLO6fIEi1UzyFu2BDkscWGoVpg5bEoTZOxUJg57DyWHtj6kNiLlGBt9PfjZ51qWhyVtorouvAFOkXgGCr1dhHRKgbgV1H7oa0tyao93JsRa/zdvhHud2i/FL8n+MeO+bT5MjQyTv7lke15aJHGo6w=="],"ARC-Authentication-Results":["i=2; server2.sourceware.org","i=1; mx.microsoft.com 1; spf=fail (sender ip is\n 164.130.1.59) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=foss.st.com;\n dmarc=fail (p=none sp=none pct=100) action=none header.from=foss.st.com;\n dkim=none (message not signed); arc=none (0)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com;\n s=selector2;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=1jbVDwPF2OVfDERgWiH1TjxTpmRt/zGV1gp3o4vP2j8=;\n b=lObnJB2hAzEg7U+LeGx+NDJWhkhv04ni2nJHGtEnvK/UTnEEK5W/xiIO5ahgxqxRvKsEMyGup5iGOX9QgvIb4uVEphqrKuKOF88TuwIY/ibJJtqZM7CrWXbUYbFb3UZIpU7YmMU0yk091JWcozb/k2+aY59V1kgC/vZXgf6QRb8LuqHzsIDu2eMZ1h3GIkartHWhKWGu5BTzMUSygPrMtPe2n3ug65UjtQSmzyQoCrCW/0eWN9hlm7cS5rKh3ryZwEXX9GMKj50+50NOeTW7GqjNyar8AqocQc6NWT8a1lQCbc6rFmPvfh5nAF3Ah2TBtOGEgccCcRRtVT5HF6abNA==","X-MS-Exchange-Authentication-Results":"spf=fail (sender IP is 164.130.1.59)\n smtp.mailfrom=foss.st.com; dkim=none (message not signed)\n header.d=none;dmarc=fail action=none header.from=foss.st.com;","Received-SPF":"Fail (protection.outlook.com: domain of foss.st.com does not\n designate 164.130.1.59 as permitted sender) receiver=protection.outlook.com;\n client-ip=164.130.1.59; helo=smtpO365.st.com;","From":"=?utf-8?q?Torbj=C3=B6rn_SVENSSON?= <torbjorn.svensson@foss.st.com>","To":"<gcc-patches@gcc.gnu.org>, <dmalcolm@redhat.com>,\n <ro@CeBiTec.Uni-Bielefeld.DE>","CC":"=?utf-8?q?Torbj=C3=B6rn_SVENSSON?= <torbjorn.svensson@foss.st.com>","Subject":"[PATCH] testsuite: add missing override to member function","Date":"Tue, 14 Apr 2026 15:14:57 +0200","Message-ID":"<20260414131514.942431-1-torbjorn.svensson@foss.st.com>","X-Mailer":"git-send-email 2.43.0","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"8bit","X-Originating-IP":"[10.74.22.122]","X-ClientProxiedBy":"ENXCAS1NODE2.st.com (10.75.128.138) To STKDAG1NODE2.st.com\n (10.75.128.133)","X-EOPAttributedMessage":"0","X-MS-PublicTrafficType":"Email","X-MS-TrafficTypeDiagnostic":"AMS1EPF0000004E:EE_|AS8PR10MB6246:EE_","X-MS-Office365-Filtering-Correlation-Id":"35fcf3e6-bed2-4f32-769a-08de9a27e4f1","X-MS-Exchange-SenderADCheck":"1","X-MS-Exchange-AntiSpam-Relay":"0","X-Microsoft-Antispam":"BCL:0;\n ARA:13230040|1800799024|42112799006|376014|36860700016|82310400026|13003099007|18002099003|56012099003;","X-Microsoft-Antispam-Message-Info":"\n OQnXJ6EfwPxZPKNWZZa3k6kBty+gdxKR9ujRyHGHhMipFap9zYPr3vDaxKCgiZvXMlTihVVlaYZH5znxyh7pf+SDZ9svbWY0Fn61uuTeD0EHvE1TXicKsDJRihhVA6ABO/yGMxEOktYz1EG5v4Ssq3ea4VymMMyrwJXqPidg9KjS+zfRsZ5DSwIRkm+mHuxUhz5gx1b6z6MZHt0aAROC3ppWn4FYY3YOaigOodOW7K+Ye6890TEKIxa499gBXblRMECWQJj/6ZMKYUpVZB0ZoOXBaNbmB0sfAumV1zVI+5m2lir5iHG/59uH786jBNjCwzr9xrKvcc2Jhm+GiQp+tQtJFsmtgXBCTzui7JP0an/0x+kH8N/wDKKXUQ2VpnhoqDespCJ+0BebIj2mKqb0+Do7BZTODl6pxUgfV7kA3rfEwaxTezTb4U+EuCmGVx6oZkkz6lA15EF0nwb0vSgXk75ihXVzFx2NjbSTS2qrFtKc1qjFtA4g5zLbacLxQoyB2QgftGA+yA8KvG9/l6s0TEw9UqFE2LtxyiCpuOLWqyampjPUXG8K/jQjVEck96ynB9V0aT/Rj2pOylRczIsyJQbUBAh2KMIKIa2DL7h2DIAdLq7fhsiHNuyGUv/vFesnKUJ5M5rAnbG5c5pLyYaR8n2cB3MV4lJ9N0x3cD+xyJgLOJxKiwAS11njmiHggD+3XXZXGpE6d5xcDXEBn9jQ1tZ5Hul6vQsCuGoVjH8vbTI=","X-Forefront-Antispam-Report":"CIP:164.130.1.59; CTRY:IT; LANG:en; SCL:1; SRV:;\n IPV:CAL; SFV:NSPM; H:smtpO365.st.com; PTR:InfoDomainNonexistent; CAT:NONE;\n SFS:(13230040)(1800799024)(42112799006)(376014)(36860700016)(82310400026)(13003099007)(18002099003)(56012099003);\n DIR:OUT; SFP:1101;","X-MS-Exchange-AntiSpam-MessageData-ChunkCount":"1","X-MS-Exchange-AntiSpam-MessageData-0":"\n 5C+tG0zqf/pto3zV7xFRq9Ac+DqI0GBomFAe5LmRleXPTTAqSAJOHNpWFL8bueLLwbugXwhByboI1dkVaYJuuP4I+iYmLHOaKYm6HZ0ShQXngLVyB6NWI3iHAo4u5Eu45gFg7xfn1L73pW66TviNzhh+YiyfyiifMDilPx2Simmu53C12eITfQiURDudIIhPfGLaN+fnNWIxLui+eMoSBnrdfV5hz8bXKoK0CEAe1uChv5HlF7rR+I7AHb5FX0GpctEUlBpqj9OQu7DyWOfGjweTO18kDXSwk2oalQrUILz0ATwhSIRZ4rY+svJaLev+mJEBp+Ujy0/8+vyr0WDw7Mek6abZqd2gGg+kajjJXdy//DsDDpmBPFErZbRzPXmbx6ta24g36WPGulwLbvDhXTs2D8tQQSAOHW0nRJVzhHt/RodmOXIGWK3PkIO5ciNW","X-OriginatorOrg":"foss.st.com","X-MS-Exchange-CrossTenant-OriginalArrivalTime":"14 Apr 2026 13:15:26.7701 (UTC)","X-MS-Exchange-CrossTenant-Network-Message-Id":"\n 35fcf3e6-bed2-4f32-769a-08de9a27e4f1","X-MS-Exchange-CrossTenant-Id":"75e027c9-20d5-47d5-b82f-77d7cd041e8f","X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp":"\n TenantId=75e027c9-20d5-47d5-b82f-77d7cd041e8f; Ip=[164.130.1.59];\n Helo=[smtpO365.st.com]","X-MS-Exchange-CrossTenant-AuthSource":"\n AMS1EPF0000004E.eurprd04.prod.outlook.com","X-MS-Exchange-CrossTenant-AuthAs":"Anonymous","X-MS-Exchange-CrossTenant-FromEntityHeader":"HybridOnPrem","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"AS8PR10MB6246","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>","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"},"content":"Ok for trunk?\n\n--\n\nWithout this patch, this ends up in the logs with llvm as the default\ncompiler for the host:\n\n/build/gcc_src/gcc/testsuite/gcc.dg/plugin/analyzer_known_fns_plugin.cc:122:8: warning: 'matches_call_types_p' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]\n  122 |   bool matches_call_types_p (const call_details &cd) const\n      |        ^\n/build/r16-8473-g5cc0ead3625fe6/bin/../lib/gcc/arm-none-eabi/16.0.1/plugin/include/analyzer/common.h:301:16: note: overridden virtual function is here\n  301 |   virtual bool matches_call_types_p (const call_details &cd) const = 0;\n      |                ^\n1 warning generated.\n\ngcc/testsuite/ChangeLog:\n\n\t* gcc.dg/plugin/analyzer_known_fns_plugin.cc: Add missing\n\toverride to member function.\n\nSigned-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>\n---\n gcc/testsuite/gcc.dg/plugin/analyzer_known_fns_plugin.cc | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/gcc/testsuite/gcc.dg/plugin/analyzer_known_fns_plugin.cc b/gcc/testsuite/gcc.dg/plugin/analyzer_known_fns_plugin.cc\nindex 7080fe3b984..15821d5c3e4 100644\n--- a/gcc/testsuite/gcc.dg/plugin/analyzer_known_fns_plugin.cc\n+++ b/gcc/testsuite/gcc.dg/plugin/analyzer_known_fns_plugin.cc\n@@ -119,7 +119,7 @@ public:\n     }\n   };\n \n-  bool matches_call_types_p (const call_details &cd) const\n+  bool matches_call_types_p (const call_details &cd) const override\n   {\n     return cd.num_args () == 3;\n   }\n","prefixes":[]}