From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id C591A3858D3C for ; Mon, 24 Jan 2022 10:23:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C591A3858D3C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 907862197D; Mon, 24 Jan 2022 10:23:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1643019816; 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=Wv3ufTnX3h8ACibv8Ry+nJYvmHNq/oZaX4f+cHKMj+Q=; b=2en839JBDR1HFRi6QlzIuxbSBHCCm60S6tL/coLykKVFfyu+Z43lLTvFFmbwOOjQImoxbM 1MgdfavojGD5pC3uQtgjoap7bhhqUIljnJ/3hWWB7b/wtBXyTnKhqNxS097oKTo3Wj1/r9 Xb3ioClIFYxbPHTnhfKtIs+Ep12ob50= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1643019816; 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=Wv3ufTnX3h8ACibv8Ry+nJYvmHNq/oZaX4f+cHKMj+Q=; b=ryYpD3oQ6hLA9PEb4c0GqB9nYtdkZaQKeXgeuI+FP/v2TMIjUvx9Ord7Yulqna228or3g6 pLXPdcoTpeL4B1Cw== Received: from suse.cz (unknown [10.100.200.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 5E93EA3B81; Mon, 24 Jan 2022 10:23:36 +0000 (UTC) From: Martin Jambor To: Krishna Cc: GCC Mailing List Subject: Re: Doubts about GCC advancement (GSoC) In-Reply-To: References: User-Agent: Notmuch/0.34.1 (https://notmuchmail.org) Emacs/27.2 (x86_64-suse-linux-gnu) Date: Mon, 24 Jan 2022 11:23:33 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2022 10:23:39 -0000 Hello, I am delighted you found contributing to GCC interesting. Sorry for the delay in replying. I am adding the GCC mailing list in case other GCC developers have something to add to my reply. It is usually a good idea to email the list and not an individual, if only because most of the community is better at timely replies than I am. On Wed, Jan 19 2022, Krishna wrote: > Respected Sir, > > Hello,I am Krishna Narayanan ,an undergraduate pursuing electronics and=20 > telecommunications,I am a beginner and new to this community.I kicked=20 > off by building the gcc from source and I have successfully build the=20 > gcc 10.1 on my linux which had a default of gcc-9.3.0. If you want to contribute new features (as opposed to fixing old bugs), you should really check-out the current development version (master) from our git and build that. If you managed to build gcc 10 from the sources, you should find it easy. But in order to study the sources to plan your project, it is important to look at the current version. Although git master is a moving target, usually that is generally not a problem and until approximately April we are now in bug-fixing stage only, so it really should not be a concern. Later, if there are any big changes in an area related to your GSoC project, your mentor will help you overcome it. > I was surfing for=20 > projects but GCC caught my attention as I was familiar with the=20 > technologies and eager to learn more in depth about the compiler. > > I am not familiar with many terms but trying to cope up with it. This might not be easy but perhaps there is still time to learn the important basics, depending on the area in which you'd like to work. In most cases, you would need at least to know what an Intermediate Language (IR) is and have a general understanding of the relevant one in GCC - which is probably Gimple or the representation used by the front-end (such as Fortran or Rust) if you decide to contribute to one. The "Make cp-demangle non-recursive" project requires "just" good working knowledge of C and how to implement a recursion driven by an explicit stack. > I went=20 > through last year projects read about their definitions what they meant=20 > and what was modified/changed for a better enhancement but I did'nt get=20 > a grasp over it as I have just started. Can you suggest me some good=20 > first issues, No unfortunately I cannot. Perhaps someone else might. But I am afraid there are not very many open easy issues in GCC. Easy issues get fixed quickly. But if you have a specific question abut any particular term or problem, feel free to ask on the mailing list. It might even help us to phrase it better on our wiki. > I have read the simple projects given on the webpage=C2=A0 about=20 > debugging of test suites but I did not get a clear idea about that,can=20 > you suggest me a tutprial or manual which I can follow debugging Perhaps https://dmalcolm.fedorapeople.org/gcc/newbies-guide/index.html and especially https://dmalcolm.fedorapeople.org/gcc/newbies-guide/debugging.html=20 >I read=20 > about project topics but have a doubt regarding their implementation for= =20 > example I understood static analysis pass but how do I implement it in=20 > gcc,!? GCC already has static analyzer, it just needs to be extended (see files in subdirectory src/gcc/analyzer after you have checked out our master). Figuring out how to extend it - with the help of the community(!) - is part of the game. So again, if you have any specific question about it, feel free to ask. Hope this helps at least a little, Martin