From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) by sourceware.org (Postfix) with ESMTPS id 3B0163858D33 for ; Tue, 28 Feb 2023 10:57:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3B0163858D33 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-qt1-x831.google.com with SMTP id r5so9896443qtp.4 for ; Tue, 28 Feb 2023 02:57:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=hC/J3r2gBdKsHTTGXn7xTc0Xpplv2s+FMEYU5NI4mqM=; b=qDhLVM8q3DeRcaYuHJkXbCbxDvxAuZsiaKvMMNsgmX+9D/MUQjHboSgZBLKdarAxho F5Aw/vn4/xGJqXFuGCAO6CpH6FkpVyHf85dlBrPE4euhff7cMlPqcVOFxMgB5Mg8WL00 ilObs8C6lpvkoS3vPIVIMFGMEBtgBIAvMus0/FXhhwIRWDIDNM7vXfeYGp64c9e4Hm1w ItTRqaEkCB3gUCHC74JFwluiQQLaFj9Yvw7v2x6++Au24ONNv56VoxM2LeTv7QNo9Etp CHVCy71GmCeAT3I00Aq26HXqqmsJn8GzEPe/3p6AEgELA6Cv4cSVe4Ui/4bp1i//Wk2i ncXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hC/J3r2gBdKsHTTGXn7xTc0Xpplv2s+FMEYU5NI4mqM=; b=8GY7XXGFA4ag++8lUiQdvDK0Qwop48vz+HbWFFmd5c5ay2qvQUDjZxASMrGx+u189W ujGFwr79vuJxLr2hLR35Uf7VlMiK09akVndGwBhU5VTwj8fSTPsOywQ4wTF/Ys+y8AvU jE7xdMEo7OU0PsJh0BC3POPqYZZdT9EjmTV7wxIXiVoTZ+zBAJUa2vAmXtNHNsrPqGCS h4TT4R65gIsCKbdB2XOIP0M8B70jsw0+D7dWwBXb/7+LooaKqboKETY7/Heqcec95VQq WLqSzqqEIN8TiJh4dt+fVKDh+5GFphZ5wN0DntXNRW+T3Th8RJm6x5ec+FKju22k4EBT 4BfQ== X-Gm-Message-State: AO0yUKVuQtAb7+4ZYioqMoG5tVqt2UrUcoKZyUCw20Xz3SkR0XOMzSg3 0odKRd/wlc5K0tSL8qloNYQgjIVeTLsRp0KlHFxGi0x3TFE= X-Google-Smtp-Source: AK7set8jI9DAvCqTt90XGDV4mxVupm/mMC84e2yk2ATGaWcgE1X0oH7JPHBgQwqviKDigvSbLvBEaQWwNOUraoMfHa8= X-Received: by 2002:ac8:5602:0:b0:3bf:df46:3eaf with SMTP id 2-20020ac85602000000b003bfdf463eafmr671201qtr.9.1677581868300; Tue, 28 Feb 2023 02:57:48 -0800 (PST) MIME-Version: 1.0 From: Berke Yavas Date: Tue, 28 Feb 2023 13:57:37 +0300 Message-ID: Subject: [GSoC][C++: Implement compiler built-in traits for the standard library traits] To: gcc@gcc.gnu.org Content-Type: multipart/alternative; boundary="000000000000577ec405f5c07760" X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,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: --000000000000577ec405f5c07760 Content-Type: text/plain; charset="UTF-8" Hi, I am Berke. I am interested in the project C++: Implement compiler built-in traits for the standard library traits for the upcoming GSoC. I am a Software Engineer with a year of experience. I am very excited to have a chance to work on gcc. So far, I have built gcc from source, runned tests. Have a few follow up questions. 1. Project is related with C++ frontend and library development, so during the development there should be no issue configuring with --disable-bootstrap --disable-multilib --disablelibstdcxx-pch(Thanks to irc folks who suggested the latter 2, I just wanted to confirm) right? 2. Is there any other built-in compiler traits that are not in the file `gcc/cp/cp-trait.def`? 3. __is_same built in is already used in a couple of places in libstdc++. File: libstdc++-v3/include/bits/c++config 840 #if _GLIBCXX_HAS_BUILTIN(__is_same) 841 # define _GLIBCXX_HAVE_BUILTIN_IS_SAME 1 842 #endif Is this the file where gcc checks if the compiler built in is available? So other compiler built-ins should be checked here too? I will prepare a draft of the proposal and send it here for review as soon as possible. Best regards, Berke --000000000000577ec405f5c07760--