From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59079 invoked by alias); 27 Mar 2019 08:31:05 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 58974 invoked by uid 89); 27 Mar 2019 08:31:04 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=AWL,BAYES_00,KAM_SHORT,SPF_PASS autolearn=ham version=3.3.1 spammy=struggle, wonderful, months, hear X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 27 Mar 2019 08:31:03 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3BD5FAE50; Wed, 27 Mar 2019 08:30:56 +0000 (UTC) From: Martin Jambor To: Matias Barrientos Cc: gcc@gcc.gnu.org, Manuel =?utf-8?B?TMOzcGV6LUliw6HDsWV6?= Subject: Re: GSoC In-Reply-To: References: User-Agent: Notmuch/0.28.3 (https://notmuchmail.org) Emacs/26.1 (x86_64-suse-linux-gnu) Date: Wed, 27 Mar 2019 08:31:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00231.txt.bz2 Hello Matias, On Thu, Mar 14 2019, Matias Barrientos wrote: > Hello, > > I am Mat=C3=ADas Barrientos, I am in my third year studying computing > engineering at the Pontifical University of Valparaiso. > > I am very interested in contributing at GCC this year in GSoC. I have > followed the steps of the link > (https://gcc.gnu.org/wiki/SummerOfCode), so I was able to do bootstrap > and installation of GCC in my computer. Wonderful, we are delighted you found contributing to GCC interesting and happy to hear that you have got past the first steps. > > On the other hand, I have been studying GCC=E2=80=99s codes, optimization > flags to be more specific. In that time I could realize that the > warnings have their dependence among them, but that is not the case of > optimization. This is how I have had the idea of implementing > dependence among optimization flags by modifying the .opt files. > > It would be as follow: > > 1. Embed the attribute EnabledBy o LangEnabledBy to create the dependence. > 2. Implement the dependency of the optimization flag (=E2=80=9C-O= =E2=80=9D) to > detect the different levels. Unfortunately, this project idea apparently has not quite caught much attention. I myself struggle with understanding what is supposed to be dependent on what and don't think that simply mapping dependencies from optimization levels to individual warning options is a project that should span three months. You'd need to substantially extend the scope somehow or perhaps look for another idea, our wiki still has a few that nobody took up. If I misunderstood something, please feel free to correct me and/or ask anything specific that you'd like to know about GCC. Thanks, Martin