Compiling GCC problems

2013-01-23 Thread Alec Teal
configure went well but I keep hitting: ../.././gcc/gengtype.c:963: error: undefined reference to 'lexer_line' ../.././gcc/gengtype.c:1098: error: undefined reference to 'lexer_line' ../.././gcc/gengtype.c:1154: error: undefined reference to 'lexer_line' ../.././gcc/gengtype.c:1164: error: undefi

Re: Compiling GCC problems

2013-01-23 Thread Alec Teal
On 23/01/13 08:16, Alec Teal wrote: configure went well but I keep hitting: ../.././gcc/gengtype.c:963: error: undefined reference to 'lexer_line' ../.././gcc/gengtype.c:1098: error: undefined reference to 'lexer_line' ../.././gcc/gengtype.c:1154: error: undefined reference to 'lexer_line' ../..

Re: Compiling GCC problems

2013-01-23 Thread Alec Teal
On 23/01/13 08:19, Alec Teal wrote: On 23/01/13 08:16, Alec Teal wrote: configure went well but I keep hitting: ../.././gcc/gengtype.c:963: error: undefined reference to 'lexer_line' ../.././gcc/gengtype.c:1098: error: undefined reference to 'lexer_line' ../.././gcc/gengtype.c:1154: error: unde

Re: libatomic multilib testing

2013-01-23 Thread Andreas Schwab
"Steve Ellcey " writes: > Additionally, when the testing is finished I exit with a 'Error 2', but I > think most testing, even when there are problems, should exit with '0'. No, that has never been the case. Run make with -k. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fing

Re: hard typdef - proposal - I know it's not in the standard

2013-01-23 Thread Jonathan Wakely
On 23 January 2013 06:53, Alec Teal wrote: > Why not: > > make an "optional keyword", "hard", have a meaning if before "typedef", I > suggest tokenising "hard" as a normal token (however it is processed now why > change it? I am not sure on GCCs exact grammar for c languages) but if AND > ONLY if i

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Jonathan Wakely
On 23 January 2013 07:11, Uday Khedker wrote: > > This is because no matter what one has done, unless one has contributed > code, one is not considered a contributor to GCC. There are people credited in http://gcc.gnu.org/onlinedocs/gcc/Contributors.html for documentation or bug triage work.

Re: Compiling GCC problems

2013-01-23 Thread Jonathan Wakely
Please use the gcc-help mailing list for discussing using and building GCC, rather than this list. Please take any follow up there, thanks. On 23 January 2013 08:25, Alec Teal wrote: > On 23/01/13 08:19, Alec Teal wrote: >> >> On 23/01/13 08:16, Alec Teal wrote: >>> >>> configure went well but I

Re: hard typdef - proposal - I know it's not in the standard

2013-01-23 Thread Alec Teal
On 23/01/13 08:55, Jonathan Wakely wrote: On 23 January 2013 06:53, Alec Teal wrote: Why not: make an "optional keyword", "hard", have a meaning if before "typedef", I suggest tokenising "hard" as a normal token (however it is processed now why change it? I am not sure on GCCs exact grammar for

Re: hard typdef - proposal - I know it's not in the standard

2013-01-23 Thread Jonathan Wakely
On 23 January 2013 09:15, Alec Teal wrote: > I was fearful of using the word attribute for fear of getting it wrong? What > is "this part" of the compiler called I think attributes are handled in the front end and transformed into something in the compiler's "tree" data structures. FWIW I've usua

Re: Compiling GCC problems

2013-01-23 Thread Martin Jambor
Hi, On Wed, Jan 23, 2013 at 08:16:43AM +, Alec Teal wrote: > configure went well but I keep hitting: > > ../.././gcc/gengtype.c:963: error: undefined reference to 'lexer_line' > ../.././gcc/gengtype.c:1098: error: undefined reference to 'lexer_line' > ../.././gcc/gengtype.c:1154: error: undef

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Richard Kenner
> I think we need to come out of the "documentation" mindset. No amount of > conventional documentation is going to help. What we need is a training > material that included well defined assignments. I agree. At one point, I had a large tutorial presentation. It's dated now, since it's before

Better debugging with!

2013-01-23 Thread Alec Teal
I've been thinking about this for a while and it can't hurt to share it (it'd become shared eventually anyway) and someone might thing "good idea": Obviously -g makes gcc embed a lot of information in the result that is clear already why not that bit more? Arrays will always be integer sized (

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Alec Teal
On 23/01/13 10:26, Richard Kenner wrote: I think we need to come out of the "documentation" mindset. No amount of conventional documentation is going to help. What we need is a training material that included well defined assignments. I agree. At one point, I had a large tutorial presentation.

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Richard Kenner
> Please link it, I enjoy reading it and it couldn't harm! I put it up at http://www.gnat.com/~kenner/gcctut.ppt It's 173 slides, but was last modified in 2000 and wasn't current then. It predates tree-ssa and many of the changes in the way that target macros were handled. But it does talk a

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Diego Novillo
On Wed, Jan 23, 2013 at 5:26 AM, Richard Kenner wrote: >> I think we need to come out of the "documentation" mindset. No amount of >> conventional documentation is going to help. What we need is a training >> material that included well defined assignments. > > I agree. At one point, I had a larg

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Aldy Hernandez
Uday Khedker writes: > I think we need to come out of the "documentation" mindset. No amount > of conventional documentation is going to help. What we need is a > training material that included well defined assignments. FWIW, I initially learned GCC by an internal training program Jeff Law devi

Re: Remove node from cgraph

2013-01-23 Thread Richard Biener
On Mon, Jan 21, 2013 at 6:31 AM, Chassin wrote: > Hi ,i am developing a simple plugin that allows me to delete a node from the > cgraph that match a specific pattern but when i delete the node using > cgraph_remove_node , it seams to delete it ( by printing the cgraph again it > doesn't appear ) ,

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Dodji Seketeli
Alec Teal a écrit: > I'd love to help with GCC, without documentation (in fact, without > instructions) I have no hope of doing so. Maybe instruct/ask people to > do stuff? If I may propose something, I think a reasonable way of starting is to pick an (easy) bug from bugzilla and try to fix it.

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Uday Khedker
I have been trying to do my stuff for a few years. We conduct a programme called "Essential Abstractions in GCC" which is aimed at taking a novice to a level from where she can do independent experimentation with GCC internals. I put together a bunch of teaching assistants (about 15 of them) for

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Richard Biener
Uday Khedker wrote: > >I have been trying to do my stuff for a few years. We conduct a >programme called "Essential Abstractions in GCC" which is aimed at >taking a novice to a level from where she can do independent >experimentation with GCC internals. > >I put together a bunch of teaching assis

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Diego Novillo
On Wed, Jan 23, 2013 at 12:18 PM, Uday Khedker wrote: > I would like to take this training program to the next level but so long > it remains my personal baby, my funding agency does not feel that I have > accomplished much because they feel that if my program has any merit, > the GCC community w

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Alec Teal
On 23/01/13 19:05, Richard Biener wrote: Uday Khedker wrote: I have been trying to do my stuff for a few years. We conduct a programme called "Essential Abstractions in GCC" which is aimed at taking a novice to a level from where she can do independent experimentation with GCC internals. I pu

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Uday Khedker
On Thursday 24 January 2013 12:39 AM, Diego Novillo wrote: On Wed, Jan 23, 2013 at 12:18 PM, Uday Khedker wrote: I would like to take this training program to the next level but so long it remains my personal baby, my funding agency does not feel that I have accomplished much because they

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Alec Teal
On 23/01/13 19:16, Uday Khedker wrote: On Thursday 24 January 2013 12:39 AM, Diego Novillo wrote: On Wed, Jan 23, 2013 at 12:18 PM, Uday Khedker wrote: I would like to take this training program to the next level but so long it remains my personal baby, my funding agency does not feel th

Re: Remove node from cgraph

2013-01-23 Thread Richard Biener
Please keep this on the list. On Wed, Jan 23, 2013 at 5:52 PM, Chassin wrote: > On 01/23/2013 10:55 AM, Richard Biener wrote: > > The callgraph isn't the main data structure to modify here. You probably > still > have references to the function in the IL via calls for example. You > probably >

Long term viability of GCC (was Re: gcc : c++11 : full support : eta?)

2013-01-23 Thread Diego Novillo
[ We have drifted way off the original subject. ] On Wed, Jan 23, 2013 at 2:16 PM, Uday Khedker wrote: > Yes, absolutely. And GCC community should consider it important to bring in > newcomers particularly young students and experimenters from the academia. > > Why is it that most student proje

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Richard Biener
On Wed, Jan 23, 2013 at 8:23 PM, Alec Teal wrote: > On 23/01/13 19:16, Uday Khedker wrote: >> >> >> >> >> >> On Thursday 24 January 2013 12:39 AM, Diego Novillo wrote: >>> >>> On Wed, Jan 23, 2013 at 12:18 PM, Uday Khedker >>> wrote: >>> I would like to take this training program to the next

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread David Edelsohn
On Wed, Jan 23, 2013 at 12:18 PM, Uday Khedker wrote: > I would like to take this training program to the next level but so long > it remains my personal baby, my funding agency does not feel that I have > accomplished much because they feel that if my program has any merit, > the GCC community w

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Alec Teal
On 23/01/13 19:43, Richard Biener wrote: On Wed, Jan 23, 2013 at 8:23 PM, Alec Teal wrote: On 23/01/13 19:16, Uday Khedker wrote: On Thursday 24 January 2013 12:39 AM, Diego Novillo wrote: On Wed, Jan 23, 2013 at 12:18 PM, Uday Khedker wrote: I would like to take this training program

Re: Long term viability of GCC (was Re: gcc : c++11 : full support : eta?)

2013-01-23 Thread Richard Biener
On Wed, Jan 23, 2013 at 8:38 PM, Diego Novillo wrote: > [ We have drifted way off the original subject. ] > > > On Wed, Jan 23, 2013 at 2:16 PM, Uday Khedker wrote: > >> Yes, absolutely. And GCC community should consider it important to bring in >> newcomers particularly young students and experi

Re: Long term viability of GCC (was Re: gcc : c++11 : full support : eta?)

2013-01-23 Thread Alec Teal
On 23/01/13 19:38, Diego Novillo wrote: [ We have drifted way off the original subject. ] On Wed, Jan 23, 2013 at 2:16 PM, Uday Khedker wrote: Yes, absolutely. And GCC community should consider it important to bring in newcomers particularly young students and experimenters from the academia

Re: Fully flow and context sensitive points-to analysis in GCC 4.6.0

2013-01-23 Thread Uday Khedker
Hi Richard, I am trying to understand the full implications of your statement: >> Yes, that's what I say. Any pointer that is dereferenced is first >> copied to >> an SSA name. Basically everything residing in memory first has to be >> loaded to an SSA name before it can be dereferenced. That

Re: Fully flow and context sensitive points-to analysis in GCC 4.6.0

2013-01-23 Thread Richard Biener
On Wed, Jan 23, 2013 at 8:12 PM, Uday Khedker wrote: > Hi Richard, > > I am trying to understand the full implications of your statement: > > >>> Yes, that's what I say. Any pointer that is dereferenced is first >>> copied to >>> an SSA name. Basically everything residing in memory first has to

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread David Edelsohn
On Wed, Jan 23, 2013 at 12:18 PM, Uday Khedker wrote: > I would like to take this training program to the next level but so long > it remains my personal baby, my funding agency does not feel that I have > accomplished much because they feel that if my program has any merit, > the GCC community w

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Uday Khedker
On Thursday 24 January 2013 12:35 AM, Richard Biener wrote: Uday Khedker wrote: I have been trying to do my stuff for a few years. We conduct a programme called "Essential Abstractions in GCC" which is aimed at taking a novice to a level from where she can do independent experimentation wit

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Diego Novillo
On Wed, Jan 23, 2013 at 2:40 PM, Uday Khedker wrote: > This is very different from putting it as one among so many other things on > the wiki. Look at it from the view point of a newcomer. There are so many OK, then. Reorganize GettingStarted to make it prominent and advertise it. Move the oth

Re: Bootstrapping glibc vs. dependency on system headers

2013-01-23 Thread Roland McGrath
As to the general case, I think float.h is probably the best choice and stdarg.h probably just as good. It's been a very long time since anything but GCC itself installed headers by those names. For libc, I think always using $CC -E is fine. You don't need to bother with the MSG_CHECKING and CAC

Re: hard typdef - proposal - I know it's not in the standard

2013-01-23 Thread Lawrence Crowl
On 1/23/13, Jonathan Wakely wrote: > On 23 January 2013 09:15, Alec Teal wrote: >> I was fearful of using the word attribute for fear of getting it wrong? >> What >> is "this part" of the compiler called > > I think attributes are handled in the front end and transformed into > something in the co

GCC Plugin Announcement; CTraps - Lightweight dynamic analysis for concurrent code

2013-01-23 Thread Brandon Lucia
Hi GCC list, I have implemented a GCC plugin that I have found useful for doing dynamic program analysis, debugging, and performance tuning in concurrent code. The plugin is called CTraps, short for Communication Traps. The main idea behind CTraps is that a compiler pass implemented as a GCC plu

Re: hard typdef - proposal - I know it's not in the standard

2013-01-23 Thread Alec Teal
On 23/01/13 23:07, Lawrence Crowl wrote: On 1/23/13, Jonathan Wakely wrote: On 23 January 2013 09:15, Alec Teal wrote: I was fearful of using the word attribute for fear of getting it wrong? What is "this part" of the compiler called I think attributes are handled in the front end and transfo

A pass that worked in gcc-4.6.2 fails in gcc-4.7.2

2013-01-23 Thread Sudakshina Das
Dear all, I am currently updating a pass that was made for gcc-4.6.*, so that it works for gcc.4.7.2. In the pass for gcc-4.6.*, a code fragment from tree-ssa-structalias.c was picked up and used. Given below is the fragment taken form create_function_info_for () . This fragment was used to creat