[gimple] ICE "verify_gimple error"

2009-07-31 Thread Дмитрий Дьяченко
Hello, current (gcc version 4.5.0 20090727 (experimental) [trunk revision 150136] (GCC)) for code #include class a; class b; class c { public: b *p; bool isNull() const { return p == 0; } }; class d : public c { virtual ~d() {}; }; std::map z; void foo(d x) { x.isNull();

Re: [gimple] ICE "verify_gimple error"

2009-07-31 Thread Richard Guenther
On Fri, Jul 31, 2009 at 9:53 AM, Дмитрий Дьяченко wrote: > Hello, > current (gcc version 4.5.0 20090727 (experimental) [trunk revision > 150136] (GCC)) > > for code > > #include > > class a; > class b; > > class c { > public: >    b *p; >    bool isNull() const { return p == 0; } > }; > > cla

Re: Output sections

2009-07-31 Thread Mohamed Shafi
2009/7/18 Dave Korn : > Mohamed Shafi wrote: >> Hello all, >> >> Is it possible to emit a assembler directive at the end of each sections? >> Say like section_end >> Is there any support for doing something like this in the back-end files? >> Or should i need to the make changes in the gcc sources?

Re: MELT tutorial on the wiki

2009-07-31 Thread Tom Tromey
> "Basile" == Basile STARYNKEVITCH writes: Basile> My current belief is that MELT is easier built (and used) as a Basile> GCC-trunk (or future GCC-4.5) plugin melt.so. Yeah, I looked at this, but I really wanted something where I did not have to do much work... no applying patches or hacking

Re: [gimple] ICE "verify_gimple error"

2009-07-31 Thread Дмитрий Дьяченко
You are right. In rev.150316 there are no ICE. Thanks, Dmitry 2009/7/31 Richard Guenther : > On Fri, Jul 31, 2009 at 9:53 AM, Дмитрий Дьяченко wrote: >> Hello, >> current (gcc version 4.5.0 20090727 (experimental) [trunk revision >> 150136] (GCC)) >> >> for code >> >> #include >> >> class

Re: MELT tutorial on the wiki

2009-07-31 Thread Tom Tromey
Tom> I looked into this a little. It looks like the PPL checks don't work Tom> properly in the case where PPL is a system library. I guess I need Tom> --with-ppl=/usr ... I will try that later. This worked but now I get an error because melt_generated_dir is not defined in gcc/Makefile. I don't

Re: The future of concepts

2009-07-31 Thread Jason Merrill
On 07/28/2009 10:47 AM, Ed Smith-Rowland wrote: We need a gcc branch for concepts. Probably, if someone is working on them, just as for any ongoing project. That leaves open the question of whether the ConceptGCC branch is the one. No. Doug felt that much of ConceptGCC needed to be rewritt

Re: The future of concepts

2009-07-31 Thread Ed Smith-Rowland
Jason Merrill wrote: On 07/28/2009 10:47 AM, Ed Smith-Rowland wrote: We need a gcc branch for concepts. Probably, if someone is working on them, just as for any ongoing project. That leaves open the question of whether the ConceptGCC branch is the one. No. Doug felt that much of ConceptGC

Re: MELT tutorial on the wiki

2009-07-31 Thread Basile STARYNKEVITCH
Tom Tromey wrote: Tom> I looked into this a little. It looks like the PPL checks don't work Tom> properly in the case where PPL is a system library. I guess I need Tom> --with-ppl=/usr ... I will try that later. I don"t know really how to fix that quickly! I must confess that autoconf relate

Re: Output sections

2009-07-31 Thread Dave Korn
Mohamed Shafi wrote: > I am looking for adding something to the end of each section in the > generated .s file. Using TARGET_ASM_NAMED_SECTION i will be able to > keep track of the sections that are being emitted. But from > TARGET_ASM_FILE_END hook how can i re-enter into each section. Are the > s

Re: MELT tutorial on the wiki

2009-07-31 Thread Dave Korn
Tom Tromey wrote: > I looked into this a little. It looks like the PPL checks don't work > properly in the case where PPL is a system library. I guess I need > --with-ppl=/usr ... I will try that later. Were you using a --prefix? The PPL checks (by design I think) only look for PPL in your p

Re: Output sections

2009-07-31 Thread Mohamed Shafi
2009/8/1 Dave Korn : > Mohamed Shafi wrote: >> I am looking for adding something to the end of each section in the >> generated .s file. Using TARGET_ASM_NAMED_SECTION i will be able to >> keep track of the sections that are being emitted. But from >> TARGET_ASM_FILE_END hook how can i re-enter int

Re: MELT tutorial on the wiki

2009-07-31 Thread Basile STARYNKEVITCH
Dave Korn wrote: Tom Tromey wrote: I looked into this a little. It looks like the PPL checks don't work properly in the case where PPL is a system library. I guess I need --with-ppl=/usr ... I will try that later. Were you using a --prefix? The PPL checks (by design I think) only look fo

Re: MELT tutorial on the wiki

2009-07-31 Thread Dave Korn
Basile STARYNKEVITCH wrote: > Dave Korn wrote: >> Tom Tromey wrote: >> >>> I looked into this a little. It looks like the PPL checks don't work >>> properly in the case where PPL is a system library. I guess I need >>> --with-ppl=/usr ... I will try that later. >> >> Were you using a --prefix?