From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by sourceware.org (Postfix) with ESMTPS id 79E6A3858D32 for ; Fri, 13 Jan 2023 07:15:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 79E6A3858D32 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-lj1-x22e.google.com with SMTP id bx6so21667143ljb.3 for ; Thu, 12 Jan 2023 23:15:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Rj813jQs/5/4R4X1zQ9WbAVZdoSQI7285S2fMLy3/Ko=; b=Z7Ybb7nr2endM/O90u0hxMxRwR6mPavDqgF8wXRT7TqsywDMyOXlh3FE7SMcDPNLZ7 Z9n0Itf6FkRkCKC9KTCHRrrcKcYI+ZDzWlDtjHlChdjNXKc6+MU+h1+mkPtsaKm9RRkh ByFf+CKiyZ+cGQKuIg4IulX2PUiXGqemttOc+TfyGxp4gkvr8Qwwn1imm/cGdFFU6jll N8Q7aAc42hg3TyrNfoH1xfK4TpvsU2G31BPy6QrxwOMvl/uXORIit3411ao+mxqb7MAY ttZLeRR0GGKdI54U9hoNpxpqxSwU67KPuxgnPJmo7GLRBibfCvw3YxZ0k7o8ZjlzybPp iNBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Rj813jQs/5/4R4X1zQ9WbAVZdoSQI7285S2fMLy3/Ko=; b=3M+6ObSEkDmNcwQrb+tMKM+30zyyZSpno/eLnzh3sx1Yr/Lc1rpkU5LsCFco3ScikN 5o+EobfPvdpMCE0dcAlJro59CwUW4DWnrV5lQwnpOCvXF7MPo0CQ0yotoSa+MgLZoEsH NCrDXaMjWg15njWtWeCrDROrr6/y743QCRdPK16WjEuniqcrdu4GL6Gu4RaYNYmbHzBn YUtinSTUyRyNgIPbsuw7wU3wC+3RxWskn7Qluz5tDIn7kJ/yvDngZ8iUIkO9ugpwqu2o eGh3ADD/lF6IkDA4OiiRlV5ivK1Ol/GDiMtXtwyrCXE2u0R4fQD7nDQCR7AjCvGWO82Z Viqw== X-Gm-Message-State: AFqh2kqT2P8hxPdBbYCkoZgsUi5Lg42wpynajj8+1XNvufgjmNFWGy8A OD5w9X4bkr8pLgT14pvtZzNffpTOh/zkh9a1DAE= X-Google-Smtp-Source: AMrXdXvyComzvRYAFxgpKaiUBRsDxKAN/AqFwv7Jbcu3a7zVUh9Vq3lHtiqTul0QtQ97yoqUlRJMsoeYn2t44YKIl0k= X-Received: by 2002:a2e:9683:0:b0:282:ee9d:6589 with SMTP id q3-20020a2e9683000000b00282ee9d6589mr1422632lji.253.1673594146624; Thu, 12 Jan 2023 23:15:46 -0800 (PST) MIME-Version: 1.0 References: <20230112161216.d6gnsltu4izgelbm@ws2202.lin.mbt.kalray.eu> <1A99F794-8199-4235-A9DC-761C898B0470@gmail.com> In-Reply-To: <1A99F794-8199-4235-A9DC-761C898B0470@gmail.com> From: Richard Biener Date: Fri, 13 Jan 2023 08:15:34 +0100 Message-ID: Subject: Re: LTO apparently does not support _FloatNx types To: Paul Iannetta Cc: gcc@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.6 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: On Thu, Jan 12, 2023 at 5:35 PM Richard Biener wrote: > > > > > Am 12.01.2023 um 17:18 schrieb Paul Iannetta via Gcc : > > > > =EF=BB=BFHi, > > > > 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: > > > > ./gcc/build/gcc/xgcc -B./gcc/build/gcc/ ./gcc/gcc/testsuite/gcc.dg/tort= ure/float16-complex.c \ > > -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone -lm -o ./float1= 6-complex.exe > > > > 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. > > > > Is this intentional or an oversight? > > It=E2=80=99s probably an oversight. I'm testing a patch to sync them up. Richard. > > > Cheers, > > Paul > > > > > > > >