From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by sourceware.org (Postfix) with ESMTPS id 795173858D35 for ; Thu, 12 Jan 2023 16:35:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 795173858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x62a.google.com with SMTP id vm8so46103308ejc.2 for ; Thu, 12 Jan 2023 08:35:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=OKPAFAXNNTQAkLl5OsTBS9RCFaY2s3MCuyxh3UYaYSM=; b=PGZ+Drc0bOIcjjFPlh7jNh0BhT33JvZ5vb0KZOc22i9I6bsg2MDtlwmKVC5UrurPWZ 7NYJrjKR2ZvE1bJfgZTJT3QlQ3WEtbBcmFR2LVqVjtvyG7pnMzhSYEdZrbY8zMMYfIUn Lpf0nm75HSKfCV7oJHbDxUosvd/JjtNhDh0PjjXbBbI/ZUNYIFpPPq24BaVfFn+oTlJ9 oYAN4V23CEl6pahw3mfviUTqHHP4n8zchYVC7B9bCIykx+bfSKsb6IzKfli7tVXDhype Tox23ves/U1bcVpDrLJJrnJOtZOqW6O0ikjLV7Cj+4mfzOp7sl53q8UJIfrxeh/xHDsA XFXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OKPAFAXNNTQAkLl5OsTBS9RCFaY2s3MCuyxh3UYaYSM=; b=3u9CKUighRn5mqruM3rQ3uF/bqSKXymgjSE9sPdprIAkdkw0zAvJTmugLo/PhNjbie kGyL1jndcu710gHuwR42e1f7belDnq7RMr5x0DoaVm8TNGL/JR8TGd31nbR1sRQKv2mj UFKnggkBEr3+4XdoLaE93LdSffRsDftkie9q4ijWZkXTNZTZm6z+eDS5p8UD5bOmOpO8 NxsYowln/q7cMVdSudHj3y2vzC9JJ783NaOdN8IxeH22j7Ci0DbllS6D62dQbFzhGV4o aYD8TMRGi6nrcN32hOQdphPEyHm+s+60wM5K+cp27xPz/Fm41OUcnwFEZngADBPKndzp cBPQ== X-Gm-Message-State: AFqh2kqcEQX4GY+etP+K2UsVUqT8DAXkcovGclawMZ3NV+94iTIaV4xY 9Qw+/DuSqGH/v5wjaZcDQjmOdZ/yDQs= X-Google-Smtp-Source: AMrXdXuPxjmv6mNaPWoXiN0PzF0UaAxulAhLbktgK/NekZm5Quef0z4ZGozBaABlddw3DhSaPBC7oA== X-Received: by 2002:a17:906:474a:b0:869:8f64:25af with SMTP id j10-20020a170906474a00b008698f6425afmr340885ejs.16.1673541349514; Thu, 12 Jan 2023 08:35:49 -0800 (PST) Received: from smtpclient.apple (dynamic-077-002-127-244.77.2.pool.telefonica.de. [77.2.127.244]) by smtp.gmail.com with ESMTPSA id vb2-20020a170907d04200b0084d32885137sm6823308ejc.207.2023.01.12.08.35.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Jan 2023 08:35:48 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Richard Biener Mime-Version: 1.0 (1.0) Subject: Re: LTO apparently does not support _FloatNx types Date: Thu, 12 Jan 2023 17:35:35 +0100 Message-Id: <1A99F794-8199-4235-A9DC-761C898B0470@gmail.com> References: <20230112161216.d6gnsltu4izgelbm@ws2202.lin.mbt.kalray.eu> Cc: gcc@gcc.gnu.org In-Reply-To: <20230112161216.d6gnsltu4izgelbm@ws2202.lin.mbt.kalray.eu> To: Paul Iannetta X-Mailer: iPhone Mail (20C65) X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP 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: > Am 12.01.2023 um 17:18 schrieb Paul Iannetta via Gcc : >=20 > =EF=BB=BFHi, >=20 > I was investigating an ICE (in our yet to be upstreamed back-end which > has native support for float16), on "gcc.dg/torture/float16-complex.c" > when compiled with lto: >=20 > ./gcc/build/gcc/xgcc -B./gcc/build/gcc/ ./gcc/gcc/testsuite/gcc.dg/torture= /float16-complex.c \ > -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone -lm -o ./float16-c= omplex.exe >=20 > I narrowed it down to the fact that lto-lang does not support _FloatNx > types, the function "lto_type_for_mode" (in gcc/lto/lto-lang.c) and > "c_common_type_for_mode" (in gcc/c-family/c-common.c) are exactly the > same except that "lto_type_for_mode" does not support _FloatNx. >=20 > Is this intentional or an oversight? It=E2=80=99s probably an oversight. > Cheers, > Paul >=20 >=20 >=20 >=20