Message ID | 20240301190122.162094-1-david.faust@oracle.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=oracle.com header.i=@oracle.com header.a=rsa-sha256 header.s=corp-2023-11-20 header.b=ox2eMnNQ; dkim=pass (1024-bit key; unprotected) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-oracle-onmicrosoft-com header.b=F9S0WcEk; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Tmcrs0FpGz23q3 for <incoming@patchwork.ozlabs.org>; Sat, 2 Mar 2024 06:01:48 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id ED6F33858416 for <incoming@patchwork.ozlabs.org>; Fri, 1 Mar 2024 19:01:46 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by sourceware.org (Postfix) with ESMTPS id 2A4A33858C5F for <gcc-patches@gcc.gnu.org>; Fri, 1 Mar 2024 19:01:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2A4A33858C5F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oracle.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2A4A33858C5F Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=205.220.165.32 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709319667; cv=pass; b=R/nVJPrk7ww6z2YHlvJ5PA3BOswGAmGMhNRM7/0k4mMQBwgukljl8ASJYKCXYt1BJwWTjIChls1UIEy1AY5klQzG4PUiFhftRzMAmkZO7Y4Bg2eRKvn71Uyv/JdUqpalANPJQhkJmT5kbdMHs1yUy6eHrKvtI6U4cw09G1IV8ws= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709319667; c=relaxed/simple; bh=TAIl3+wFZQyCrTDN9FByrEiX/9liglFqqZF9pVY74Y8=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=T1/UhORo+hNpCe16F18PfWJaKKyzYJh/F6yz90OcozVSGFrjRZ+nWKejPx11Klue/FzgMbD3rWQmIv5GTEltIUTEOO5keLOWvcNafhSuvVRpr1qFDFJ7IjNZvTehh1Ty0AOutBWwhfGU5YNG/tdhrvur7bC7HzIKdTOL/foixe0= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 421GBhHb016017 for <gcc-patches@gcc.gnu.org>; Fri, 1 Mar 2024 19:01:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2023-11-20; bh=lDFHMxLahjRyGRIXINUSNJhSiWFNDh19ipjtGaoKPrw=; b=ox2eMnNQmHxu9an9cjBZH4nmkR9sRhNeqrFnviL3Xpk6e9JJrq9eLfBWT0xsDXXqzawr aXMRqK2QUTMOMQZo4nfbVUleXMkD/pcwKuaMS+j7QlUVlR9sR1L9CuAig3yO7QR36NJS 8epk6qLJguu8swFDOYbo4E5I8uP12zqjfeMJmp6CGQ7UsHnKNhv2cC0HX9MLb5fdruSn +vV+BQjVy5MvCelQj1hy7wo+JmW23UIzugYK+38L6J0K5CYDZ5na/Vfn3eZRSiPD/za2 u/5Negjuqyfp48CSFpkodLbMHMyhehQHsRTYrVdI0JrQkc0Yc96kreYmtf7LoJCogGhv +Q== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3wf8bbhcn1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <gcc-patches@gcc.gnu.org>; Fri, 01 Mar 2024 19:01:03 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 421IitBs005748 for <gcc-patches@gcc.gnu.org>; Fri, 1 Mar 2024 19:01:01 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2168.outbound.protection.outlook.com [104.47.59.168]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3wjrrcfm5b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <gcc-patches@gcc.gnu.org>; Fri, 01 Mar 2024 19:01:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hc3lD1VpkH/S+tj52hys3vv9X2HgURzR+FmNuu7gTacD/jwPlGUHK1YQxkFIIDga69C2zIPzPBPy6F4akcHhd4TuT/BFkGXEnWurOQ9Lpk7mHopSu3WPzRiwjygwePqm619dbkAyT6HmmURii8n72iIX5UcvqyT9LMDnn3GAE9SlM4ZOe2FxFBdSMSlJSvP/8XZEmJQP93VgQAoalsTLoou7ymDDpYL0tkBkGs79U36hGZ+ROdU4xB77p+0huBjih3e8JhgZwqYEMQ2GoqL0O2QavwI+tRRqg5zUSYyyIFaBfBT5KxI971WSNQW/tj4hkBqnF+q7CFdyziU3lvVWsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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; bh=lDFHMxLahjRyGRIXINUSNJhSiWFNDh19ipjtGaoKPrw=; b=N2kJ8dZwwLBrAtw54HH/2Amh1BKoZ1OJUafje4laryC7e3LgXVoJojMgmVe0GIiNTvnz5X2XWcd4MRpbzQaWdC1PnrT3PuTE5xWQnD+IWwW/HN4xn2UPK90tB9GO6NsOeNkjyfQy7DMqFQVwMlBH5Tr4cbPvsr4QXAKv/I03ebzzPteHAi1+hfp2C/gJnFgQTiAVsmhflXSMKaP2qUFoMkRZewfsUdUnLBL5NBEa4bUrDHaQhYwTAJGlTaxBRDNaoylVrOuvQW6vLLvopzO2YadxiV4czCXOCqAOBrGOMUnQnepd/LpVTlg/+ZY00DJuWUMuH0PlrLCCSj0c9ZlglQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lDFHMxLahjRyGRIXINUSNJhSiWFNDh19ipjtGaoKPrw=; b=F9S0WcEkfvj4Z3Zsjv9xFz4SqNBXwQXk9YV0RAJOOyOinXi5BnhzVogTUNDyug645EGmfEVHu6qyY1JwgAMT9P+2wvV0y6MZu7abhcIPUm2Lizu/pvobXU5yxWdkRTeJ5r3NnHay0S0uabbfYmvYpTeL/n+QSXAOMdV5xhqd448= Received: from DS0PR10MB7953.namprd10.prod.outlook.com (2603:10b6:8:1a1::22) by BN0PR10MB5190.namprd10.prod.outlook.com (2603:10b6:408:12b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.33; Fri, 1 Mar 2024 19:00:59 +0000 Received: from DS0PR10MB7953.namprd10.prod.outlook.com ([fe80::c0b9:6482:3e36:a112]) by DS0PR10MB7953.namprd10.prod.outlook.com ([fe80::c0b9:6482:3e36:a112%3]) with mapi id 15.20.7316.039; Fri, 1 Mar 2024 19:00:59 +0000 From: David Faust <david.faust@oracle.com> To: gcc-patches@gcc.gnu.org Cc: indu.bhagat@oracle.com Subject: [PATCH] testsuite: ctf: make array in ctf-file-scope-1 fixed length Date: Fri, 1 Mar 2024 11:01:22 -0800 Message-ID: <20240301190122.162094-1-david.faust@oracle.com> X-Mailer: git-send-email 2.43.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW4PR04CA0259.namprd04.prod.outlook.com (2603:10b6:303:88::24) To DS0PR10MB7953.namprd10.prod.outlook.com (2603:10b6:8:1a1::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB7953:EE_|BN0PR10MB5190:EE_ X-MS-Office365-Filtering-Correlation-Id: 4a9a7ad0-6237-41a4-54f8-08dc3a21eeee X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MIbl0Ba1uAoLshFs8Bf2dnfiAPgmSMZDB915QdFYjKl24kO3hKBfB43Flqj2tXCHuAHAxwjfIrMb3rxFjLZTn+gPaSpnLyE5Q3Ys4Bq1YayYXH/74AURFZxUNHUQXmD0w8lcyvFIG4uPNPrNPryHPZBmFmTXTA/6V4Bcv+Yx1XR7295IFd/Bf94nbhS0yExcwp6ZCsvr9b2L6nxS4pAvVlhWm7jIrthiR+Y87gVsKWydkwIfNK3EfZU9m7wwmaggYjbSiyyoov7VVMde3QVC3+ulid9C07BAb07MT7pYHlctjK0Yap/2C797sBKaEfieS6cN4rPq3ogOb8s3omIUwBOqXcNrkWZrwi3ImN6EcXhui2/Ns4Gk+KYboMUWRKQ3CfiwqiwiDT8gBBHy6N8kfXYB0X/nCz+AukItLiUywfFqGccSYSLPua3Qd2YvPEI651ZsJu4sV10vAyimb4BB5cxjtapbkdGLQMNNuyzgGnzjCWiW9M0LMgwiuQyw8dQD7D5TyikOLVMltR+xwgaH3TlI/eNTTKeiOExn3wJBmvOaizkUd99/jcI4cwMFpoQ1xYLs4jL5IP4r/lrDxnzLhA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR10MB7953.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Y0uu1d8qYxaAWPqOaNT/51cUVys+IdB+pSPZdsmW7q+H8hXue2lJfag1XOyw8q/bpM6oZg0+AjQXZdG43SGD7IiQiwBcPbfYaDB5opktcwtJjLnhgvd56mZjyLT3RPxxumpWSnoaIaoi36qSLXQ9t0mOV1RIqI1emYOxExxunOi33vymQIcHrvGUhikm94DZnF237w3jE0uJzcuFipGsgCrkGIznAjiwcUPpqG6q/XmMdej+uRRVZZsaNO9Kqz7RRW3Vxdh0egrYW0tKoHAlqNmkXXgzkoDnoM5uXDWhLzG4pVG1AjFwAB7n3XpLRTQqh0lKgg7Ezj+UU0vOUIyTdTMTfMys6O4a4aQxEoy+nALu0foqQNAoCFMB5MikVRDKe4qBUHHgRq2f1lzFPmWO8SqLZ7uRZyQy2KT3bb+vygDq7FFh6Vq71J3aqRO5xSVTqJjY6/5l+E/M/hrtnEeNhLQaA0t7HIW+F7jGKUQpOqFMGt6aUSbSjhxyYxdxk9bOrQz7wfCYLiwuG/Wz4ashj0gVpixTe2+NHmyQZt7sj29MYafChpBorWqey4DHOKNI9fzFMTn0qnIcAUtCCyRn4aN4cStCrkbJqbgngBHugK3go/uipG99SdR9hIlbfs1QqNW/ITMzqUlpZkaE1qoikq2NvHSprkU9qai0QXvAqkG/TXWAlUaGHiOi9eAosiJSFYriew89uysroDABjq6QMIQUrCqzugclduT4JenGaoNNN2QH5L2JZxxbPTinuvwi3lEuW5SII04jT0SsZCFgRXLUvCq4srMxSTHATbCSGh3Kd9SC6hB4RJ+8i5ooQxaY5t9piioziuTnpCrCCPGytCtz24XqjMICUIy0jgik7PTkmu66KNyeIaCSYAjX340uXlxM2+9ZODXss7b9rkRMC8n0kTjyxrfeqnplbv0FVQHxfEFH4xI6w7Pj4XMFq5qSI/9EH3xgBlLdkePuoR5zQo/pT5B6bVxW6ox5zBEO/z9uRmmY8MgSyUJt1AE2lA67iBu9Pqv9UusZrPPi+lFNMzaSUv2BTrraeOM3j/s72ZxJAbWfiJ7F3gJAY++9OP++nTs45/tsvt/WCss/+sZQnA8CK1HvzZsoRzypGEqgEsnrh63UgF2BUJAv7gT4YMZebT6IncsuiU/Gu46NBHzThdoJMyW4qpTMFaHU6pRmvdepFuID9ZBwb7shiwun+ZyLXrUskUw6moIJ3nDXzuSTSKeh67qW6W4ad6rNGG3VDUyze7AWXIj+hMOnp3hy/Hd5fz577j+OUy44pwN+mJKtBLz1xaqC76PgqwnMcrRAezYj32Va0B7/28TrF0pZHt5ozztZXFuCZUwRLO9deVp9jpVJ6kBA5Sw2rQhVFjp4thJCwj55URzE7Q7H4I+l0Yzj1oWFxtzLmVToQ5L6fpHPCEmHIYPKAc//RXfPcXXGXZbkBPkgbpI6Bgjgnn0elsLRsFrLxgwlb4x9ACrKWmi/afJN+rnZzb5yogOTL5NPInxSDI+i9frzjoxCqEj+CNnAteE3TPxvTTCrsPTR/dOkMQ7XVbKqluJK1Ju7SgVeY0AQKtYSuls8ISTiLFPAE+N2w78mWhXVFdRVVemUIOfzRA== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: mMALBVlYE7Xc5D9J3wLaPL32dT8JAeAOhiU+yf3/ODhy096doqRCyYuuP7/DOBNXmf27eFaJ7r5ogVFYNth5aKRCnHUsGhWtiJ19HIWmxI0+qenIwa57Dw9j0mncLgsNi1FaFnpsxYjFjo/ZRieaSipM+0Jk+sxNRnOkTij4cFWfsMPbry9+JLVlMjwjiDjUc7JfV8rxKLbDbMXPuX6vSrAWy1/o3LWMXVZ6PpEOxlW25nYtBULjh2MDRjj5FR5wkUO4051anjtqy3xRBjxL9zanQf+wpJDkZiN2YgzQmqoMcY95oEeMr/n/ujKbyYJXi+1B8o8ctH3teHtja6aanFeAbUWhhmfC2QC0aBGiVlWBstU9MX7v/DTBaRchRnq49WBYHmctL7F4pXPPyw3SFXpK9BuiYv7mwmFIwSeGvj5VnV1ys5TBKqlrjSVq1cJERe741JebgNWWNHeBygIyvMVro4pJaSY3pxMtrPz6e344uEqJDIzHqiUf/ougN6aG0eje20QJDsc+ldDU+VPVF7f+bP1yZm7FOSgp/9JGHXV65Rm1ntUATB7Ev6CCbbS7C3l1S0ABNaXUMzCTTDJdjEsa9uK5mCTHchPbhR3MOlI= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4a9a7ad0-6237-41a4-54f8-08dc3a21eeee X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB7953.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2024 19:00:59.7551 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 06VoID4X509sUse+F/VE8EOq8S2uI1dzxzfrQCnUlT78IzjDGuHE6z9yCnJXdiDoNNZum38VyZBkvvptWuBDeg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5190 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-01_20,2024-03-01_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 phishscore=0 mlxlogscore=999 malwarescore=0 spamscore=0 mlxscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2403010156 X-Proofpoint-GUID: yUMbgFogcdQ7yrQypqOjH16aXUdpeCni X-Proofpoint-ORIG-GUID: yUMbgFogcdQ7yrQypqOjH16aXUdpeCni X-Spam-Status: No, score=-13.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org 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>, <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>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
testsuite: ctf: make array in ctf-file-scope-1 fixed length
|
expand
|
On 3/1/24 11:01, David Faust wrote: > The array member of struct SFOO in the ctf-file-scope-1 caused the test > to fail for the BPF target, since BPF does not support dynamic stack > allocation. The array does not need to variable length for the sake of > the test, so make it fixed length instead to allow the test to run > successfully for the bpf-unknown-none target. > > Tested on x86_64-linux-gnu, and on x86_64-linux-gnu host for > bpf-unknown-none target. > LGTM. Thanks! > gcc/testsuite/ > > * gcc.dg/debug/ctf/ctf-file-scope-1.c (SFOO): Make array member > fixed-length. > --- > gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c > index a683113e505..ddfb31da405 100644 > --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c > +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c > @@ -9,7 +9,7 @@ > > int foo (int n) > { > - typedef struct { int a[n]; } SFOO; > + typedef struct { int a[6]; } SFOO; > > SFOO a; > __attribute__ ((noinline)) SFOO gfoo (void) { return a; }
diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c index a683113e505..ddfb31da405 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c @@ -9,7 +9,7 @@ int foo (int n) { - typedef struct { int a[n]; } SFOO; + typedef struct { int a[6]; } SFOO; SFOO a; __attribute__ ((noinline)) SFOO gfoo (void) { return a; }