Re: The AST tree modification. Edited.

2011-10-06 Thread Andi Hellmund
Hi, as an addition to Balaji's answer. Please find attached an extract of a sample front-end generating various types of tree nodes (e.g. arrays, structs, ...). This used to work with an older version of GCC, but I'm not sure if this still works with the most recent version. Anyway, it should

Re: Interested In Doing Documentation Project

2011-07-17 Thread Andi Hellmund
Hi Selma, I am interested in doing the front end documentation project. How do I sign up for that, or learn what is going on with it at this current time please? Perfect and thanks for your interest in doing documentation for GCC. Andi Hellmund and i have actually done alot of work into

Re: gcov/-ftest-coverage instrumentation for uninstantiated C++ function templates

2011-04-29 Thread Andi Hellmund
Hey Manuel, I would like to be able to change this behaviour so non-instantiated code templates are considered as blocks (I think this is the term used by GCC/GCov). This would help me greatly to uncover unused/untested codes in a header/template-only library. First of all: Is this feasible

Re: gcc terms of use

2011-04-04 Thread Andi Hellmund
Hey, When I build my software products via gcc can I use it with third party's proprietary software (not open source)? Yes. When I build my software products via gcc I must provide source code of my products in any case? No. You don't need to publish _your_ source code in this case. There are

"White paper" about GCC front-end internals

2011-03-06 Thread Andi Hellmund
Hey ALL, after some time of source code investigations, testing and experiments, I finally bundled my experiences with GCC front-ends in a "white paper" about the internals of GCC front-ends. It is not really structured like a tutorial, but it should hopefully be usuable by GCC newbies to spee

Re: HelloGcc 2011 Workshop calling for topic speakers

2011-02-23 Thread Andi Hellmund
Hey Hui, I put the GCC development mailing list on CC ... Andi HelloGcc Working Group was set up in 2007 by Chinese free software fans and developers in Beijing. With the goal of constructing a free, open, sharing technical community, we not only discuss and learn about GNU system tools(such a

Re: PL/1 frontend

2010-11-11 Thread Andi Hellmund
Nice. Thanks for doing this. If it's not already there, could you add a link to this in http://gcc.gnu.org/wiki/GettingStarted ? Sure, Phil (Herron) and I could post it there. Ideally, we should also have a more-or-less thorough documentation in the gcc internals document about howto im

Re: PL/1 frontend

2010-11-11 Thread Andi Hellmund
Hey Tom, You need to define a lang_tree_node type, even if its empty. See the lto frontend example. You could also look at this site (http://code.redbrain.co.uk/cgit.cgi/gcc-dev/tree/gcc/gcalc?h=documentation). It contains the front-end code for a very simple front-end showing the general/ex

Re: “x--” would self-add before opration "-- " ?

2010-06-07 Thread Andi Hellmund
> I am not familar with both c++ and compiler implementation, donot konw > why the results are differnt for gcc and clang. Anyone could help and > explain this difference for me? The ISO C standard says that the evaluation order of function arguments is unspecified [ISO C99, 6.5.2.2-11], though th

[LTO] Open items in the ToDo list

2010-04-25 Thread Andi Hellmund
Hey, I was recently reading through the wiki pages of the LTO branch and found several open items in the ToDo list which are generally interesting. I mainly kept an eye on item 7 (Browsing/dumping tools for LTO files), which seems for me to be a good task to deepen the knowledge about GCC in

Re: Why not contribute? (to GCC)

2010-04-24 Thread Andi Hellmund
Richard Guenther wrote: Indeed - we do not need another piece of infrastructure. Note that good patch review takes a lot of time and we (unfortunately again) do not have many active patch reviewers. So it happens that patches from people with excellent track history get approved quickly but ot

Re: Why not contribute? (to GCC)

2010-04-24 Thread Andi Hellmund
Hey, are these documents, copyright assignment and employer disclaimer, publicly available in the WEB or do I need to explicitly request these documents? I plan to start contributing in the near future and I'm currently in the process to get the approval from my employer. After getting the c