From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by sourceware.org (Postfix) with ESMTPS id 79A523884607 for ; Wed, 19 Jun 2024 15:41:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 79A523884607 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 79A523884607 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718811666; cv=none; b=H7ZpgTmevunt85u6PkQWdWC7fRGAidWToL783wVWOjiXoNQcSkEAs8G/6GuovWt6EBGvdhOLFnjReTx9SXcnor4QckxYFz24oZ29DmFoKslz3XweDiPH4gDLUrBIKRnK01AopqovXdJSkVMST/ZHi3VQBuW11EW0Yu6aT8/MD2I= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718811666; c=relaxed/simple; bh=sODbrmynAR9nT1r7RcX+lxI/NUOIhTtSI03tda5mL0w=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature: Message-ID:Date:MIME-Version:Subject:From:To; b=qy1/1oD91EQsXCTe4tm3MjIpsFUrRrIVSoIOCRd/utWl4nRaxz9ohd+DPKQ4gSN/SoeLNB2x6z5kcPI7Xe6pgwECzN7wHATEp6giikAe1Iw3/dhPkcDlDdD3MMKmqz+otBQmBGJm62P20HdzdRTVOn5OOhwl/IAobyYP1a21iwM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 561CD1F7EC; Wed, 19 Jun 2024 15:41:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1718811663; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vxE7/hClp96RFa3AmnSRIC1gY1YxIqNY0CKHd8J+myc=; b=nX6oNGU4JaI+JqGWnbWKgv6I7gIBJiBcB8nj1556QRxlRhduhi0e28I5ImYGz38Q7Ekc7v Lm8P7MvnDubcsfuHiQ5dcjSkxei39jwfyZ75EXRoYm0R0OI3GrhKP6ADnUgD0x18aGL8IM ng/znMD79t07/6Z5FxUbw+Y86CLZD6I= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1718811663; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vxE7/hClp96RFa3AmnSRIC1gY1YxIqNY0CKHd8J+myc=; b=12p17Dp+borE9WbvGW+EKtveBILp1lyEstN2XiV7QiZMXrQO1wgwwX2TDv+G8FabPr+/Sr w0XeJIdWDCtTAzDQ== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=nX6oNGU4; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=12p17Dp+ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1718811663; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vxE7/hClp96RFa3AmnSRIC1gY1YxIqNY0CKHd8J+myc=; b=nX6oNGU4JaI+JqGWnbWKgv6I7gIBJiBcB8nj1556QRxlRhduhi0e28I5ImYGz38Q7Ekc7v Lm8P7MvnDubcsfuHiQ5dcjSkxei39jwfyZ75EXRoYm0R0OI3GrhKP6ADnUgD0x18aGL8IM ng/znMD79t07/6Z5FxUbw+Y86CLZD6I= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1718811663; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vxE7/hClp96RFa3AmnSRIC1gY1YxIqNY0CKHd8J+myc=; b=12p17Dp+borE9WbvGW+EKtveBILp1lyEstN2XiV7QiZMXrQO1wgwwX2TDv+G8FabPr+/Sr w0XeJIdWDCtTAzDQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 3272F13AAA; Wed, 19 Jun 2024 15:41:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id 3abKCg/8cmYIKAAAD6G6ig (envelope-from ); Wed, 19 Jun 2024 15:41:03 +0000 Message-ID: <7e0cd6e5-f390-4024-bfe8-2b92d3d3cc5b@suse.de> Date: Wed, 19 Jun 2024 17:42:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] [gdb/exp] Fix target type of complex long double on arm From: Tom de Vries To: Tom Tromey Cc: gdb-patches@sourceware.org References: <20240527032944.19208-1-tdevries@suse.de> <87msoarmy9.fsf@tromey.com> <1d9e21c0-a1ee-4370-8c2f-5a81f7957099@suse.de> Content-Language: en-US In-Reply-To: <1d9e21c0-a1ee-4370-8c2f-5a81f7957099@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-4.50 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; XM_UA_NO_VERSION(0.01)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FUZZY_BLOCKED(0.00)[rspamd.com]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[]; DWL_DNSWL_BLOCKED(0.00)[suse.de:dkim]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; DKIM_TRACE(0.00)[suse.de:+]; DBL_BLOCKED_OPENRESOLVER(0.00)[gnu.org:url,imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns,suse.de:email,suse.de:dkim] X-Rspamd-Action: no action X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Rspamd-Queue-Id: 561CD1F7EC X-Spam-Score: -4.50 X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,SPF_HELO_NONE,SPF_PASS,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 List-Id: On 5/29/24 13:44, Tom de Vries wrote: > On 5/28/24 17:11, Tom Tromey wrote: >>>>>>> "Tom" == Tom de Vries writes: >> >> Tom> For arm-linux, complex long double is 16 bytes, so the target >> type is assumed >> Tom> to be 8 bytes, which is handled by the "case 64", which gets us >> double >> Tom> instead of long double. >> >> Tom> Fix this by searching for "long" in the name_hint parameter, and >> using long >> Tom> double instead. >> >> Can you file a compiler bug report about this and then put the link in a >> comment? >> > > Done ( https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115272 ). I've pushed the v2 of this patch. As for gcc, I posted a prototype patch in bugzilla, and pinged it today, hoping to get some indication on whether it makes sense to do the effort for a proper submission. Thanks, - Tom