Re: GCC GSOC 2019

2019-04-03 Thread Martin Jambor
Hello Shubham, On Fri, Mar 29 2019, Shubham Narlawar wrote: > Hi, here is my proposal for the above idea. Please review and suggest > necessary changes. > > https://docs.google.com/document/d/11MNhuuD7dbwAfSW6ZgFrAys9My1Lw1PuMVcAqeNGr7A/edit?usp=sharing I have had a quick look and the proposal se

Re: [GSoC 2019] [extending Csmith for fuzzing OpenMp extensions]

2019-04-03 Thread Martin Jambor
Hello Joshi, On Mon, Apr 01 2019, sameeran joshi wrote: > HI, > Discussing the project with Andi, I have drafted a proposal, please > review and suggest > necessary changes. > If some OpenMP experts from GCC have some ideas or changes please suggest. > > https://docs.google.com/document/d/1axElw-I

Re: [GSoC 2019] [extending Csmith for fuzzing OpenMp extensions]

2019-04-04 Thread Martin Jambor
Hi, On Wed, Apr 03 2019, sameeran joshi wrote: > On 4/3/19, Martin Jambor wrote: >> Hello Joshi, >> >> On Mon, Apr 01 2019, sameeran joshi wrote: >>> HI, >>> Discussing the project with Andi, I have drafted a proposal, please >>> review and s

Re: GSoC OMPD

2019-04-04 Thread Martin Jambor
Hello Bryan, On Wed, Apr 03 2019, Bryan Carroll wrote: > Hi, > > I know my first email is vague. I wanted to throw it out there since > the April 9th deadline is coming up. I was hoping Jakub Jelinek, who would be the mentor, would chime in earlier. But unfortunately he has probably not been onl

Re: GSoC

2019-04-04 Thread Martin Jambor
ny case, remember to read "Before you apply" section of our GSoC wiki page at https://gcc.gnu.org/wiki/SummerOfCode#Before_you_apply and make sure you are able to build, install and test GCC and then have it generate dumps and step through some function during compilation. Good luck, Martin Jambor

Re: [GSoC] TySan

2019-04-04 Thread Martin Jambor
Hello, On Wed, Apr 03 2019, Youssef Mohamed wrote: > Hi, > > I hope you are healthy and all well 3> > I was applying to GCC GSoC and I want to implement TySan in GCC we are very happy to hear that you find contributing to GCC interesting. Unfortunately, I am quite confident that I will not be ab

Re: Google Summer of Code

2019-04-05 Thread Martin Jambor
us... but not this year I am afraid. Good luck, Martin Jambor

Re: GSOC

2019-04-08 Thread Martin Jambor
Hello, On Sun, Apr 07 2019, ashwina kumar wrote: > Hi , > > While working I just figured out that -Wconversion is buggy. Please see the > below code- - > > $ cat b.c > #include > > void main (void) > { > //contains build errors > uint16_t x = 1; > uint16_t y = 2; >

Re: dg-extract-results broken since rev 268511, was Re: Status of 9.0.1 20190415 [trunk revision 270358] on x86_64-w64-mingw32

2019-04-16 Thread Martin Jambor
Hi, On Tue, Apr 16 2019, Jakub Jelinek wrote: > On Tue, Apr 16, 2019 at 02:49:13PM +0200, Christophe Lyon wrote: >> > I executed the dg-extract-results.sh manually in the gcc/testsuite >> > directory after a complete testsuite run which didn't give the correct >> > results. Rev. 240429 gives the e

Re: GSoC'19 Thanks for acceptance

2019-05-08 Thread Martin Jambor
Hello Ray, On Wed, May 08 2019, 김규래 wrote: > Hi everyone, > Thanks for accepting my proposal Implementing OpenMP Work Stealing > Scheduling for GSoC 2019. I'll do my best to accomplish the proposed > goals. Ii is a pleasure, we are looking forward to your contributions. > Right now the semester

GCC GSoC 2019 projects: announcement and a mandatory first step

2019-05-08 Thread Martin Jambor
[Sorry for a re-post, I forgot to write a subject and as a consequence the email did not make it through to the mailing list] Hello, I am pleased to announce that six students will be working on GCC or GCC-related Google Summer of Code (GSoC) projects: - JeanHeyd Meneide will be working on imp

Re: copyright assignment form

2019-05-20 Thread Martin Jambor
Hello, On Sat, May 18 2019, David Čepelík wrote: > Dear GCC devs, > > in accordance with [1] I'd like to ask you to provide me > with the copyright assignment form (the "for all future > changes" variant). I'll be submitting a larger patch soon. I believe the right process is to email the followi

Re: About GSOC.

2019-05-20 Thread Martin Jambor
Hello Tejas, On Wed, May 08 2019, Tejas Joshi wrote: > Hello. > I can't figure out from the documentation how to add test cases in the > testsuite and inspect the results. How can I do that? Although, Taking > the mentioned conditions under consideration, I have made another > patch, attached. in

Re: [GSoC'19, libgomp work stealing] baseline benchmark results

2019-05-30 Thread Martin Jambor
Hi, On Thu, May 30 2019, 김규래 wrote: > ​Hi everyone, > Just wanted to share some quick baseline benchmark results [3]. > I ran LU decomposition on a AMD Ryzen Threadripper 1950x 16C/32T system. > LAPACK is currently plain loop parallel BLAS as far I believe. > And the upstream version of PLASMA use

Re: About GSOC.

2019-05-30 Thread Martin Jambor
Hi, On Thu, May 30 2019, Tejas Joshi wrote: > Hello. > I tried to check the values for significand words using _Float128 > using a test program with value larger than 64 bit. > Test program : > > int main () > { > _Float128 x = 18446744073709551617.5; (i.e. 2^64 + 1.5 which is > certainly lo

Re: About GSOC.

2019-05-31 Thread Martin Jambor
On Thu, May 30 2019, Segher Boessenkool wrote: > On Thu, May 30, 2019 at 07:08:45PM +0200, Martin Jambor wrote: >> Interesting, I was also puzzled for a moment. But notice that: >> >> int main () >> { >> _Float128 x = 18446744073709551617.5f128; >>

Committing patches and other conventions (Was: Re: About GSOC)

2019-06-06 Thread Martin Jambor
Hi, On Mon, Jun 03 2019, Tejas Joshi wrote: > Hello. > I have already sent a patch for roundeven implementation but I do not > know how do I commit my changes to GCC. Am I supposed to create a > branch or anything etc? You don't have to create a branch unless you think it would make ease your own

Re: Committing patches and other conventions (Was: Re: About GSOC)

2019-06-13 Thread Martin Jambor
Hi Tejas, On Wed, Jun 12 2019, Tejas Joshi wrote: > Hello. > Is this the correct sequence for regression test: > 1. Revert back all the changes I made and then configure, build along with > make bootstrap > make -k check > collect the *.sum files > 2. Apply the patch and do the configuration, buil

Re: Expanding roundeven (Was: Re: About GSOC.)

2019-06-13 Thread Martin Jambor
Hi Tejas, On Thu, Jun 13 2019, Tejas Joshi wrote: > Hello. > As further part of implementing roundeven is inlining, I was studying > machine descriptions and I have a few questions. > > As suggested, builtin functions provided a strong model for > implementing roundeven. Keeping that in mind, I tr

Re: Expanding roundeven (Was: Re: About GSOC.)

2019-06-14 Thread Martin Jambor
Hi, On Fri, Jun 14 2019, Tejas Joshi wrote: >> Of course the instruction is not present there, that is the next step in >> your project :-) > > Yes, of course, but what I meant was that instructions for existing > round/ceil functions and not roundeven. If inlining for these > functions is availab

Re: RFC on a new optimization

2019-07-02 Thread Martin Jambor
Hi, On Tue, Jul 02 2019, Richard Biener wrote: > On Mon, Jul 1, 2019 at 11:58 PM Gary Oblock wrote: >> >> I've been looking at trying to optimize the performance of code for >> programs that use functions like qsort where a function is passed the >> name of a function and some constant parameter(

Re: [GSoC-19] Implementing narrowing functions like fadd

2019-07-29 Thread Martin Jambor
Hi, On Sat, Jul 27 2019, Tejas Joshi wrote: > Hello. > >>> You'll need something different from CASE_MATHFN - these are a different >>> kind of functions that need handling in a different way, because they are >>> parametrized over certain *pairs* of types, rather than over a single >>> type. >> f

Expansion of narrowing math built-ins into power instructions

2019-07-29 Thread Martin Jambor
Hi Segher, as you might know, Tejas is our Google Summer of Code student working on adding built-in functions for some new math functions added in ISO/IEC TS 18661. His next step is to expand "functions rounding result to narrower type" (so fadd, fsub and possibly fmul and fdiv described in http:

Re: How does one traverse all the global decls

2019-08-22 Thread Martin Jambor
Hi, On Wed, Aug 21 2019, Gary Oblock wrote: > I'm trying to do some analysis code for an optimization > that involves my code looking at all the declarations and > types there of during the link time optimizations. > > Note, doing this for the local variables seems to be trivial > because of FOR_E

Re: Expansion of narrowing math built-ins into power instructions

2019-08-23 Thread Martin Jambor
ple alternatives I do not see. Tejas, of course cases for other fadd variants should at least be added to expand_builtin. Thanks, Martin 2019-08-23 Tejas Joshi Martin Jambor * builtins.c (expand_builtin_binary_conversion): New function. (expand_

Re: [PATCH] Builtin function roundeven folding implementation

2019-08-25 Thread Martin Jambor
Hi, On Sun, Aug 25 2019, Tejas Joshi wrote: > I have made the respective changes and fixed the indentations and it > passes the testing. Great, please send the patch (to me and to the mailing list too), so that I can commit it. Thanks, Martin

Re: Expansion of narrowing math built-ins into power instructions

2019-08-26 Thread Martin Jambor
Hi, On Sat, Aug 24 2019, Richard Sandiford wrote: > Martin Jambor writes: ... >> >> 2. direct_internal_fn_supported_p on which replacement_internal_fn >>depends to expand built-ins as internal functions cannot handle >>conversion optabs... and narrowing is a

Re: Deprecate -traditional-cpp?

2019-09-05 Thread Martin Jambor
Hi, On Thu, Sep 05 2019, Nathan Sidwell wrote: > Is it time to deprecate traditional preprocessing? It's been 30 years > since C89. Are (non-compiler) tools that use it still things? xrdb runs .Xdefaults and I believe .Xresources files through the pre-processor and I still use the latter to c

Re: Commit messages and the move to git

2019-11-04 Thread Martin Jambor
On Mon, Nov 04 2019, Richard Earnshaw (lists) wrote: > Some tools, particularly gitk or git log --oneline, can use one-line > summaries from a commit's log message when listing commits. It would be > nice if we could start adopting a style that is compatible with this, so > that in future commi

Re: GIT conversion: question about tags & release branches

2020-01-09 Thread Martin Jambor
Hi, On Thu, Jan 09 2020, Martin Liška wrote: > Hi. > > I have question about release branches and release tags. For the current > git mirror, we do have release tags living on release branches. Example: > > commit 64e1a4df1bc9dbf4cedb3a842c4eaff6b3425a66 > Author: jakub > Date: Mon Aug 12 08:40

GCN back-end branch

2017-03-16 Thread Martin Jambor
t for GCC and I would like to invite everyone interested to help tackling them, Martin 2017-03-10 Jan Hubicka Martin Jambor * config.sub: Added amdgcn cases. gcc/ * common/config/gcn/gcn-common.c: New file. * config/gcn/constraints.md: Likewise. *

Re: Fwd: GCC front end and GCC internals

2017-03-30 Thread Martin Jambor
Hello, I am not sure if I can help you but... On Thu, Mar 30, 2017 at 08:05:07AM +0200, Andre Groenewald wrote: > I am discovering the awesome world of GCC internals. I managed to > develop a basic front end. It can call internal and external functions > and link with standard libraries. All is g

Re: Fwd: GCC front end and GCC internals

2017-03-31 Thread Martin Jambor
CTION_TYPE, is there an easy way to > turn it into a METHOD_TYPE, like a single tree call. > That will take care of consistency. > None that I know of, but there is build_method_type_directly that you should be able ti use instead of build_function_type_array. Martin > > On Thu, M

Re: Help with getting started with adding IPA-related attribute

2017-05-03 Thread Martin Jambor
Hi, On Sat, Apr 29, 2017 at 06:28:31AM -0500, Daniel Santos wrote: > Brievity is not my forte, so let me start with the questions. Can somebody > please point me to the pass and/or function where gcc > > 1.) decides rather or not to inline a function, There are two inlining passes. Early-inlin

Re: dejagnu version update?

2017-05-15 Thread Martin Jambor
Hi, On Wed, Sep 16, 2015 at 01:25:18PM -0400, Trevor Saunders wrote: > On Wed, Sep 16, 2015 at 10:36:47AM -0600, Jeff Law wrote: > > ... > > I'd rather just move to 1.5 and get on with things. If some systems don't > > have a new enough version, I'm comfortable telling developers on those > > p

Re: RFC: Improving GCC8 default option settings

2017-09-16 Thread Martin Jambor
Hi, On Thu, Sep 14, 2017 at 11:55:21AM +0200, Richard Biener wrote: > On Wed, Sep 13, 2017 at 5:08 PM, Allan Sandfeld Jensen > wrote: > > On Mittwoch, 13. September 2017 15:46:09 CEST Jakub Jelinek wrote: > >> On Wed, Sep 13, 2017 at 03:41:19PM +0200, Richard Biener wrote: > >> > On its own -O3 d

Re: pass manager question

2017-10-03 Thread Martin Jambor
Hi, On Mon, Oct 02, 2017 at 01:27:05PM -0600, Sandra Loosemore wrote: > Is there an idiom for target-specific back end code to ask the pass manager > if a particular pass (e.g., "split1") has already run? (I might be wrong but) I don't think there is. But it might be a useful thing to have gener

Google Summer of Code 2018: Call for mentors and ideas

2018-01-17 Thread Martin Jambor
Hi, following a discussion at IRC about an upcoming deadline to register GCC as an independent organization for Google Summer of Code 2018 (GSoC), I have volunteered to serve as the org-admin for GCC if: - there is not another volunteer (so step up if you are!), - the community does not obje

Re: Google Summer of Code 2018: Call for mentors and ideas

2018-01-19 Thread Martin Jambor
Hi Joseph, On Wed, Jan 17 2018, Joseph Myers wrote: > On Wed, 17 Jan 2018, Martin Jambor wrote: > >> 3?) Joseph Myers brought up idea to do "built-in functions for TS 18661 >> floating-point functions - which has the feature that there are a >> lot of simil

Re: Google Summer of Code 2018: Call for mentors and ideas

2018-01-19 Thread Martin Jambor
Hi Joel, On Wed, Jan 17 2018, Joel Sherrill wrote: > On 1/17/2018 11:54 AM, Martin Jambor wrote: >> Hi, >> >> following a discussion at IRC about an upcoming deadline to register GCC >> as an independent organization for Google Summer of Code 2018 (GSoC), I >>

Re: Google Summer of Code 2018: Call for mentors and ideas

2018-01-19 Thread Martin Jambor
Hi, On Thu, Jan 18 2018, Martin Liška wrote: > On 01/17/2018 06:54 PM, Martin Jambor wrote: > ... >> >> 2) Martin Liška is willing to mentor either: >>2a) -fsanitize=type (He provided URL https://reviews.llvm.org/D32197 >>but it gives me a 404 error)

Re: Google Summer of Code 2018: Call for mentors and ideas

2018-01-19 Thread Martin Jambor
On Fri, Jan 19 2018, Martin Jambor wrote: > Hi, > > On Thu, Jan 18 2018, Martin Liška wrote: >> On 01/17/2018 06:54 PM, Martin Jambor wrote: >> > ... >>> >>> 2) Martin Liška is willing to mentor either: >>>2a) -fsanitize=type (He provided UR

Re: Google Summer of Code 2018: Call for mentors and ideas

2018-01-19 Thread Martin Jambor
Hi, On Thu, Jan 18 2018, Joseph Myers wrote: > On Thu, 18 Jan 2018, Eric Gallager wrote: > >> Would it make sense to recycle old GSoC projects that never got >> completed? in principle that is definitely possible, but... >>I'm wondering about the "replace libiberty with gnulib" one > > I'd like

Re: Google Summer of Code 2018: Call for mentors and ideas

2018-01-19 Thread Martin Jambor
Hi Andi, On Thu, Jan 18 2018, Andi Kleen wrote: > Martin Jambor writes: >> >> Therefore I would like to ask all seasoned GCC contributors who would >> like to mentor a GSoC student to send a reply to this thread with their >> idea for a project. If you have an idea

Re: Status of m32c target?

2018-01-22 Thread Martin Jambor
Hi, On Fri, Jan 19 2018, Sandra Loosemore wrote: > On 01/19/2018 10:14 AM, Jeff Law wrote: > >> cc0 needs to die. That doesn't mean that any particular target needs to >> be dropped -- it just means that someone has to step forward to do the >> conversion. > > Unifying two parallel threads: mig

Re: Google Summer of Code 2018: Call for mentors and ideas

2018-01-23 Thread Martin Jambor
Hi, On Wed, Jan 17 2018, Martin Jambor wrote: > Hi, > > following a discussion at IRC about an upcoming deadline to register GCC > as an independent organization for Google Summer of Code 2018 (GSoC), I > have volunteered to serve as the org-admin for GCC if: > > -

Re: Google Summer of Code 2018: Call for mentors and ideas

2018-01-23 Thread Martin Jambor
Hi, On Tue, Jan 23 2018, Prathamesh Kulkarni wrote: > On 23 January 2018 at 16:26, Martin Jambor wrote: >> Hi, >> >> On Wed, Jan 17 2018, Martin Jambor wrote: >>> Hi, >>> >>> following a discussion at IRC about an upcoming deadline to register G

Re: Google Summer of Code 2018: Call for mentors and ideas

2018-02-13 Thread Martin Jambor
Hi, I am happy to announce that we were selected as a Google Summer of Code 2018 mentor organization. At this point I am being asked to "invite mentors," so I will soon invite all the people who have expressed interest in the January email thread (or on IRC). If anybody has an additional idea fo

Re: Google Summer of Code 2018: Call for mentors and ideas

2018-02-15 Thread Martin Jambor
Hi, On Wed, Feb 14 2018, Janus Weil wrote: > Hi Martin, > >> I am happy to announce that we were selected as a Google Summer of Code >> 2018 mentor organization. > > good to hear! > > >> At this point I am being asked to "invite mentors," so I will soon >> invite all the people who have expressed

Re: Google Summer of Code 2018: Call for mentors and ideas

2018-02-15 Thread Martin Jambor
Hi Christopher, On Thu, Feb 15 2018, Janus Weil wrote: > Hi Christopher, > > 2018-02-15 11:52 GMT+01:00 Christopher Dimech : >> I am the administrator of GNU Behistun, a package designed >> to image the internal constituents of the subsurface using seismic waves. >> It is written in Fortran and us

Re: GSoC

2018-02-24 Thread Martin Jambor
Hi Thejazeto, I apologize for replying this late, I've been traveling and did not manage to write to you earlier as a consequence. On Wed, Feb 21 2018, Thejazeto Lhousa wrote: > Hello, > > I went through the GSoC 2018 idealist and found 'Improving GCC > Developer Documentation' to be interesting

Re: GSOC 2018 - Textual LTO dump tool project

2018-02-25 Thread Martin Jambor
Hello Hrishikesh, I apologize for replying to you this late, this has been a busy week and now I am traveling. On Mon, Feb 19 2018, Hrishikesh Kulkarni wrote: > Hi, > > I am Hrishikesh Kulkarni currently studying as an undergrad student in > Computer Engineering at Pune University, India. I find

Re: eliminate dead stores across functions

2018-03-06 Thread Martin Jambor
Hi Bin, On Tue, Mar 06 2018, Bin Cheng wrote: > On Tue, Mar 6, 2018 at 2:28 PM, Richard Biener >> >> Do you think the situation happens often enough to make this worthwhile? > There is one probably more useful case. Program may use global flags > controlling > how it does (heavy) computation. Su

Re: Regarding Google summer of code.

2018-03-06 Thread Martin Jambor
Hello Chaitanya, On Fri, Mar 02 2018, Sai Chaitanya wrote: > Hello, > I am Chaitanya.while checking the organisation for GSOC I am very > confused,sir I have skills in C,C++, Java and little bit of python,till now > I didn't take part in any big projects. > Please guide me which organisation and w

Re: Further for GSoC.

2018-03-06 Thread Martin Jambor
Hello, Tejas, On Fri, Mar 02 2018, Joseph Myers wrote: > On Fri, 2 Mar 2018, Tejas Joshi wrote: > >> I have some university level experience of working and programming assembly >> language under Intel 80386DX architecture. I think it may help for >> implementing supports for other architectures. J

Re: GCC GSOC Participation

2018-03-06 Thread Martin Jambor
Hello Prateek, On Sat, Mar 03 2018, Prateek Kalra wrote: > Hello GCC Community, > My name is Prateek Kalra.I am pursuing integrated dual > degree(B.tech+M.tech) in Computer Science Software Engineering,from Gautam > Buddha University,Greater Noida.I am currently in 8th semester of the > programme.

Re: about the gsoc

2018-03-07 Thread Martin Jambor
Hello Jagmeet, On Wed, Mar 07 2018, Jagmeet Singh wrote: > Any one for help me > > I want to ask question about the ideas > > reply please please ask your question directly to this mailing list (gcc@gcc.gnu.org). Martin

Re: GSOC

2018-03-14 Thread Martin Jambor
Hello Prashant, On Thu, Mar 08 2018, prashant kumar wrote: > Hello sir my self *Prashant kumar *second year B.TECH student and i am > interesting in *"GCC plugin Api" *project .i have a good hand in c,c++ > languages .Can u tell me what the further process i have to do and what > kind of thing i h

Re: Queries on GSoC project on OMPD interface

2018-03-14 Thread Martin Jambor
Hello Siyuan, On Mon, Mar 12 2018, LIU SIYUAN wrote: > Dear all, > > Hi, my name is Siyuan and this is my first time using the GCC mailing list! Welcome! > > I’m a senior CS student from Nanyang Technological University, Singapore who > is interested in the GSOC project related to OMPD. > > I p

Re: GSoC (Improvements to GCC on Windows)

2018-03-14 Thread Martin Jambor
Hello, On Tue, Mar 13 2018, Ko Phyo wrote: > Hello > > I want to apply the project "Improvements to GCC on Windows" of GCC > foundation. As a student, I have some theorectical knowledges about C/C++ > and compiler technologies. And I am sure that the Windows platform has > steps that are l

Re: GSoC (Making C++ concepts conform to the current standard)

2018-03-14 Thread Martin Jambor
Hello Maria, On Wed, Mar 14 2018, Maria Kalikas wrote: > Hello anyone this concerns, > > My name is Maria Kalikas and I am a senior majoring in Computer Science at > The University of Akron. > > My familiarity and continuous reading of the C++ Standard has encouraged me > to extend the previously

Re: GSoC

2018-03-15 Thread Martin Jambor
Hello Gurav, On Thu, Mar 15 2018, Gaurav Ahuja wrote: > I had a query, while choosing project for GSoC. Actually I'm > contributing to GCC for the first time, and I am not sure about what > is expected of me. > > So, can you please explain me about , what GCC organisation expects me > to do, like

Re: GSOC proposal

2018-03-26 Thread Martin Jambor
Hello Ismael, On Wed, Mar 21 2018, Ismael El Houas Ghouddana wrote: > Dear Mr./Mrs, > > First of all, I really appreciate your time and attention. I am Ismael El > Houas an aerospace engineer student with knowledge of Google Cloud Platform > and I want to express my interest in working on your pro

Re: Google Summer of Code 2018: Call for mentors and ideas

2018-03-29 Thread Martin Jambor
Hi, I was wondering how much I should announce publicly about GSoC proposals since students are not supposed to know in advance that we want any particular one before they are officially accepted or not by google, but I hope I will not overstep any line by saying the following: (I am willing to i

RE: Google Summer of Code 2018: Call for mentors and ideas

2018-04-03 Thread Martin Jambor
Hi Sebastian, On Tue, Apr 03 2018, Sebastian Peryt wrote: > Hi Martin, > > Frankly speaking I believe that students who discussed topics on mailing list > might > eventually just decide that they were too challenging for them and also > competition > appeared too difficult. As far as I remembe

GSoC 2018: Hrishikesh Kulkarni has been selected to work on LTO dumping tool

2018-04-24 Thread Martin Jambor
Hello, I am pleased to announce that Hrishikesh Kulkarni will be working on "Textual Representation of LTO Object Files (Textual LTO dump tool project)" as his Google Summer of Code 2018 project. I believe I write on behalf of everybody in the GCC community when I congratulate him and wish him su

Re: I want to dump something when I compile the program. How should I do ?

2018-05-17 Thread Martin Jambor
Hi, On Thu, May 17 2018, 冠人 王 via gcc wrote: > My work is to modify the gcc source code so as to customize the warning > message, when the programmer writing the program violating some rules.  > When the violation occurs, I want to reveal some message such as "guanjen375 > warning: the rule ###

Re: I want to know the information about the function arguments

2018-06-06 Thread Martin Jambor
Hi, On Wed, Jun 06 2018, 冠人 王 via gcc wrote: > When I modify the gcc source code, sometimes I do not know what parameters > does the function call. > For example,  > bool warn_if_unused_value(const tree exp,location_t locus){    function > declaration ... > } > I want to know what "exp" and "loc

Re: How to get GCC on par with ICC?

2018-06-11 Thread Martin Jambor
Hi Steve, On Fri, Jun 08 2018, Steve Ellcey wrote: > On Thu, 2018-06-07 at 12:01 +0200, Richard Biener wrote: >>  >> When we do our own comparisons of GCC vs. ICC on benchmarks >> like SPEC CPU 2006/2017 ICC doesn't have a big lead over GCC >> (in fact it even trails in some benchmarks) unless you

Re: [GSOC] LTO dump tool project

2018-06-18 Thread Martin Jambor
Hi, On Sun, Jun 17 2018, Hrishikesh Kulkarni wrote: > Hi, > > I am trying to isolate the dump tool into real lto-dump tool. I have > started with the copy&paste of lto.c into lto-dump.c and done the > changes to Make-lang.in and config-lang.in suggested by Martin (patch > attached). However when I

Re: Gcc Plugin Api

2018-06-18 Thread Martin Jambor
Hi, On Fri, Jun 15 2018, Shubham Narlawar wrote: > Hello all, I have been figuring out to work on some project. So while > searching I found GCC Plugin API project quite interesting. > So, please can I get some more information and links about gcc Plugin API > project. > Can anyone help me please.

Re: RTL compression in GCC

2018-08-20 Thread Martin Jambor
Hello Alfonso, On Sat, Aug 18 2018, ALFONSO LUIS CASTANO MARIN wrote: > Dear Martin, > > I am interested in contributing to GCC to speed-up the compiler and I > thought that the issues related with RTL are very interesting. I wonder if > still there has not been done any job in RTL compression and

Re: To Steering Committee: RFC for patch revert policy (PR48403, bootstrap broken on many targets)

2011-04-05 Thread Martin Jambor
Hi, On Mon, Apr 04, 2011 at 03:51:21PM -0700, Ian Lance Taylor wrote: > Steven Bosscher writes: > > > My proposal would be: A patch may be reverted immediately by anyone > > with SVN write access if bootstrap is broken for more than 24 hours on > > any primary target. With proper notification to

[PATCH 0/7] Change of call graph interface - cgraph_node function removal

2011-04-06 Thread Martin Jambor
Hi, I'm sending this email describing the set of patches also to the gcc mailing list because quite a few people do not follow the gcc-patches mailing list (where I am sending the individual patches). The patch set changes the interface of call graph and tries to avoid lazy call graph node creati

Re: the interface for cloning function

2011-06-16 Thread Martin Jambor
Hi, On Wed, Jun 15, 2011 at 07:20:47PM +0200, Feng LI wrote: > Hi, > > Is there an interface provided in GCC to clone the current function? > I searched in the source code but failed, just in case I'm going wrong. > There are at least two. If you want to clone from within an ordinary intra-pro

Re: [google] Merged gcc-4_6-branch -> google/gcc-4_6

2011-06-29 Thread Martin Jambor
t; PR tree-optimization/49419 > * tree-vrp.c (execute_vrp): Call init_range_assertions > before estimate_numbers_of_iterations, call > free_number_of_iterations_estimates before calling > remove_range_assertions. > > * gcc.c-torture/execute/p

Re: All my bootstraps fail with: /usr/bin/ld: cannot find crti.o in stage 2.

2011-07-02 Thread Martin Jambor
Hi, On Sat, Jul 02, 2011 at 04:05:59PM +0200, Toon Moene wrote: > E.g. > > /home/toon/compilers/obj-t/./gcc/xgcc > -B/home/toon/compilers/obj-t/./gcc/ > -B/tmp/c/x86_64-unknown-linux-gnu/bin/ > -B/tmp/c/x86_64-unknown-linux-gnu/lib/ -isystem > /tmp/c/x86_64-unknown-linux-gnu/include -isystem > /t

Re: How could I cast the return type of a function created by gimple_build_call?

2011-12-08 Thread Martin Jambor
Hi, On Thu, Dec 08, 2011 at 10:38:24AM +0100, Feng LI wrote: > Hi, > > I'm building a function with > fread = build_decl (LOCATION, FUNCTION_DECL, get_identifier (name), type); > > and then use it in gimple with > gimple gfread = gimple_build_call (fread, 1, offset); > gimple_call_set_lhs (fread

Re: Modifying the datatype of a formal parameter

2011-12-19 Thread Martin Jambor
Hi, On Sun, Dec 18, 2011 at 01:57:17PM +1100, Matt Davis wrote: > I am using 'ipa_modify_formal_parameters()' to change the type of a function's > formal parameter. After my pass completes, I get a 'gimple_expand_cfg()' > error. I must be missing some key piece here, as the failure points to a NU

Re: Modifying the datatype of a formal parameter

2011-12-21 Thread Martin Jambor
wrote: > > Hi Martin and thank you very much for your reply.  I do have some more > > resolution to my issue. > > > > On Mon, Dec 19, 2011 at 8:42 PM, Martin Jambor wrote: > >> Hi, > >> > >> On Sun, Dec 18, 2011 at 01:57:17PM +1100, Matt Davis

Re: [trans-mem] cgraph edges vs function cloning

2009-07-29 Thread Martin Jambor
Hi, On Tue, Jul 28, 2009 at 04:26:12PM -0700, Richard Henderson wrote: > On 07/28/2009 10:44 AM, Richard Henderson wrote: > >I guess I'll poke at cleaning this up today. I've got to > >familiarize myself with how virtual clones work... > > The virtual clones that ipa-cp makes seems to be easy. >

hppa testsuite stalls?

2009-09-08 Thread Martin Jambor
Hi, the testsuite on the hppa machine (gcc61 on the compile farm) has always hanged for me from time to time. However, lately (at least since I returned from vacation last Monday) it hangs every time. I have the compiler configured for c and c++ only, without bootstrap. I run the testsuite witho

Re: hppa testsuite stalls?

2009-09-08 Thread Martin Jambor
On Tue, Sep 08, 2009 at 09:31:14AM -0700, Steve Ellcey wrote: > Is gcc61 running HP-UX or Linux? I haven't seen any hangs in > my hppa HP-UX testing. I don't do any hppa Linux testing. > I guess I should have specified that. It indeed does run Linux. Thanks, Martin

Not using DECL_VALUE_EXPR for callee-copied parameters?

2009-09-11 Thread Martin Jambor
hi's patch verifying such decls don't leak to the IL (and then try to use the mechanism above to keep the debug info). Thanks, Martin 2009-09-11 Martin Jambor * function.c (gimplify_parameters): Do not set a value-expr on callee-copied parm decls. Index:

Re: Not using DECL_VALUE_EXPR for callee-copied parameters?

2009-09-13 Thread Martin Jambor
On Fri, Sep 11, 2009 at 06:39:10PM -0700, Ian Lance Taylor wrote: > Martin Jambor writes: > > > I have run the testsuite on hppa with the following patch and I > > successfully bootstrapped and tested it on x86_64. Unless someone > > objects, I will bootstrap it on hppa

How to stream trees in lto-cgraph.c?

2009-12-28 Thread Martin Jambor
Hi, in order to implement all sorts of IPA-devirtualization in WHOPR, I need to store type of OBJ_TYPE_REF_OBJECT when streaming a call graph edge. I assume that lto_output_tree and lto_input_tree are what I need to use. Unfortunately, I have not been really able to use neither. The problem wit

Re: a gcc plugin to show cfg graphically when debug gcc

2010-03-02 Thread Martin Jambor
Hi, On Thu, Feb 25, 2010 at 11:48:44AM +0100, Richard Guenther wrote: > I've been using the attached in debug sessions a lot (and I have > similar patch for the cgraph). I'd be interested in that, can you post it as well? I meant to write something like that for myself a few times but in the en

Peculiar XPASS of gcc.dg/guality/inline-params.c

2010-03-29 Thread Martin Jambor
Hi, I have run the testcase with the early inliner disabled and noticed that gcc.dg/guality/inline-params.c XPASSes with early inlining and XFAILs without it. The reason for the (expected) failure is that IPA-CP removes a parameter which is constant (but also unused?). I reckon this is the reaso

Re: Peculiar XPASS of gcc.dg/guality/inline-params.c

2010-03-30 Thread Martin Jambor
mark. So, OK for trunk? Thanks (I hope that's the end of various testsuite trivia for now), Martin 2010-03-30 Martin Jambor * inline-params.c: Disable early inlining. Index: gcc/testsuite/gcc.dg/guality/inline-params.c

Re: Peculiar XPASS of gcc.dg/guality/inline-params.c

2010-03-30 Thread Martin Jambor
Hi, On Tue, Mar 30, 2010 at 10:14:16AM -0700, Janis Johnson wrote: > On Tue, Mar 30, 2010 at 7:09 AM, Martin Jambor wrote: > > On Tue, Mar 30, 2010 at 12:43:39AM +0200, Jan Hubicka wrote: > >> > I have run the testcase with the early inliner disabled and noticed > >>

Re: Copy assignments for non scalar types

2010-04-14 Thread Martin Jambor
Hi, On Wed, Apr 14, 2010 at 01:31:05PM +0200, Richard Guenther wrote: > On Wed, 14 Apr 2010, Diego Novillo wrote: > > > On Wed, Apr 14, 2010 at 04:40, Richard Guenther wrote: > > > > > No. make_rename_temp should go away. Please. > > > > I don't disagree, in principle (less code is always go

Are non-DECL_COMDAT nodes in same_comdat_group lists OK?

2010-04-21 Thread Martin Jambor
Hi, when putting together a patch to fix PR 43812 I wanted to extend the call graph verifier to verify that 1) the same_comdat_group linked lists are indeed circular, 2) there are no one element lists, and 3) all nodes in such lists have the flag DECL_COMDAT (node->decl) set. However, the third

Re: [EMAIL PROTECTED]: Results for 4.4.0 20081106 (experimental) [trunk revision 141636] (GCC) testsuite on m32c-unknown-elf]

2008-11-07 Thread Martin Jambor
Hi, On Thu, Nov 06, 2008 at 04:01:13PM -0500, DJ Delorie wrote: > > This new failure seems to have been caused by r141613: > > +2008-11-05 Martin Jambor <[EMAIL PROTECTED]> > + > + PR middle-end/37861 > + * tree-ssa-forwprop.c (forward_propaga

Re: [EMAIL PROTECTED]: Results for 4.4.0 20081106 (experimental) [trunk revision 141636] (GCC) testsuite on m32c-unknown-elf]

2008-11-07 Thread Martin Jambor
al on Monday (or Tuesday) if there are no new regressions. If you get a chance, can you please test it for me on the affected arch? Thanks, Martin 2008-11-07 Martin Jambor <[EMAIL PROTECTED]> * tree-ssa-forwprop.c (forward_propagate_addr_exp

get_ref_base_and_extent() semantics

2008-12-11 Thread Martin Jambor
Hi, today I have encountered an unpleasant problem with the function get_ref_base_and_extent() when it claimed a known and constant offset for the expression insn_4(D)->u.fld[arg.82_3].rt_rtvec. (arg being a default_def parameter of the function, insn is an rtx). Moreover, it also retu

Re: get_ref_base_and_extent() semantics

2008-12-12 Thread Martin Jambor
Hi, On Fri, Dec 12, 2008 at 12:26:38PM +0100, Richard Guenther wrote: > On Fri, Dec 12, 2008 at 11:59 AM, Jan Hubicka wrote: > >> On Fri, Dec 12, 2008 at 12:29 AM, Martin Jambor wrote: > >> > Hi, > >> > > >> > today I have encount

Re: get_ref_base_and_extent() semantics

2008-12-12 Thread Martin Jambor
On Fri, Dec 12, 2008 at 03:05:32PM +0100, Martin Jambor wrote: > In this particular case, the ofset of var_array + its max_size (the > size of its element, as the function computes it, this is something I > also do not really understand) No, it's not the element size, it

A question about SRA and out-of-bounds array accesses

2009-01-20 Thread Martin Jambor
Hi, I have found the testcase gcc/testsuite/gcc.dg/noncompile/920507-1.c failing when I was testing my new SRA. The testcase is quite simple, should error out but no longer does: int * x(void) { register int *a asm("unknown_register"); /* { dg-error "

TREE_ADDRESSABLE types and SRA?

2009-03-09 Thread Martin Jambor
Hi, The description of TREE_ADDRESSABLE macro in tree.h says: "In ..._TYPE nodes, it means that objects of this type must be fully addressable. This means that pieces of this object cannot go into register parameters, for example." Yet the current tree-sra does not check this fla

Re: Questionable function renaming

2009-06-16 Thread Martin Jambor
Hi, On Tue, Jun 16, 2009 at 06:49:58AM -0700, Bingfeng Mei wrote: > Thanks, I didn't notice both functions have different arguments after > transformation. > However, gprof produces T.251 in its statistics, completely unknown > to user. Could GCC use more informative name here, e.g., > saveInp

<    1   2   3   4   >