From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id C63453858D39 for ; Mon, 6 Mar 2023 16:48:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C63453858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678121297; h=from:from:reply-to:subject:subject: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=JTQApB5PjJAr1xNlN/O4qAB9AC4YoFT+gcUmLi9GahQ=; b=BDTQrBshb98XXvpd39zD/KIVv0bFCxBr43LP8rPIEueXiGltvAN3vrn17VHLYaOPEJNeef Xejn1G46DG9KADRi3+68R0NX2/ghoqxrtKK04kGfv5Yu/3hE8Klej1tX1PLOq+s2zreLUe 4YQ/dClCVQqJ2qwR3lpozOCKnm48L4M= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-428-q2_oCTprMoaZQ3xvcS3MFQ-1; Mon, 06 Mar 2023 11:48:16 -0500 X-MC-Unique: q2_oCTprMoaZQ3xvcS3MFQ-1 Received: by mail-qk1-f200.google.com with SMTP id y1-20020a05620a09c100b0070630ecfd9bso5712889qky.20 for ; Mon, 06 Mar 2023 08:48:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678121296; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JTQApB5PjJAr1xNlN/O4qAB9AC4YoFT+gcUmLi9GahQ=; b=fz6g87VnQ+dg4N+JwQpuz6cEOAihe/EHz6RTrfRyo5xEy4d9W2aGNVI0+01qSE7ElE /ALb2/tqssvzH0afUR5wGfi7L0lXZy5u5n/TvrsOkfiOt4z/eqQ5abafBjTYSUrJk8v3 lK/9mOunORA6CPFA3EnB1AC0coRHF70IBMmDONbkGD5vVYLcXNr5t55DdL9BJf3ao5fU IwlsPiUwRtGBVR/S6Sa4hhKNTqVHVKBr1vg2yo9PnfqSHyz4YiaWfBBhRyAyJgs+vGVB F1y9vx+xbIkJJrr2xqixBZIFnp9NM6+o+esBtQtdF/gbqK4+pjvfG2hFv5bopjPrwtR2 fUgg== X-Gm-Message-State: AO0yUKVtYQpOLOSloQ2jI7l5X77lUXM/y8WdWS4StV/+eGPC+qKvVbNW GEc19oiv3USzKYGmxc1us+3I5J9BtB3wXEUQK0y9oi4mGAkaZSNLM6iYIWCp9nvDTOyuOWk2cd4 rum9fS5g= X-Received: by 2002:ac8:5b85:0:b0:3bf:d0d2:142d with SMTP id a5-20020ac85b85000000b003bfd0d2142dmr16953622qta.24.1678121296082; Mon, 06 Mar 2023 08:48:16 -0800 (PST) X-Google-Smtp-Source: AK7set9VAoPUoUKx+dw8gn2KJ/aU9ObDAUpR/Z5ZgVZfQzheET0heKECF3kA6q6yG7t2Kb2HsmIlug== X-Received: by 2002:ac8:5b85:0:b0:3bf:d0d2:142d with SMTP id a5-20020ac85b85000000b003bfd0d2142dmr16953605qta.24.1678121295845; Mon, 06 Mar 2023 08:48:15 -0800 (PST) Received: from t14s.localdomain (c-73-69-212-193.hsd1.ma.comcast.net. [73.69.212.193]) by smtp.gmail.com with ESMTPSA id m19-20020a05622a055300b003b2957fb45bsm8000797qtx.8.2023.03.06.08.48.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 08:48:15 -0800 (PST) Message-ID: <59e73dc35716cd1e966a83bcdffdbc4ccebf8ab2.camel@redhat.com> Subject: Re: [GSoC] Introduction and query on LTO object emmission project From: David Malcolm To: Jan Hubicka , Peter Lafreniere Cc: GCC Date: Mon, 06 Mar 2023 11:48:14 -0500 In-Reply-To: References: User-Agent: Evolution 3.44.4 (3.44.4-1.fc36) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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 Fri, 2023-03-03 at 19:28 +0100, Jan Hubicka via Gcc wrote: > Hello, > > Hi! I've been interested in compiler development for a while, and > > would love to > > work with any of you as part of GSoC, or even just as a side- > > project on my own. > >=20 > > I'm an 18 year-old student going into university next year with a > > passion for all > > things open source and low level. I consider myself fluent in c, > > and proficient > > with c++, rust, and x86 assembly, but unfamiliar with practical > > compiler design. > > I have done some reading on the theoretical aspects of compilers, > > however. Hi Peter BTW, in case you haven't seen it, I've written a guide aimed at new GCC contributors here: https://gcc-newbies-guide.readthedocs.io/en/latest/index.html A good first step would be to try to build gcc from source, add try adding a simple warning that emits: "hello world, I'm compiling function 'foo'" for each function being compiled, and compile something with that... then try stepping through cc1 doing that in the debugger. There are instructions about that in the guide above. Hope this is helpful Dave