Re: RFC - Alternatives to gengtype

2012-11-17 Thread Basile Starynkevitch
On Fri, Nov 16, 2012 at 07:44:12PM -0800, Xinliang David Li wrote: > > > > > > My strong belief is that a compiler project as gigantic as GCC needs some > > kind > > of garbage collection > > Can you name another compiler written in C/C++ using GC ? :) First, C or C++ is not the best language to

Re: RFC - Alternatives to gengtype

2012-11-17 Thread Hans-Peter Nilsson
On Thu, 15 Nov 2012, Diego Novillo wrote: > === Approach: Move GTY to cc1plus. > > Instead of a separate weak parser, we would make cc1plus > understand GTY attributes. The compiler would emit IL in the > object files instead of generating source. > > This solution would require a first boot stage

Re: RFC - Alternatives to gengtype

2012-11-17 Thread Richard Kenner
> First, C or C++ is not the best language to write a compiler in, It is my strong opinion that the best language to write a compiler in is the language that it is compiling (or the primary language in the case of a multi-language compiler like GCC).

Re: RFC - Alternatives to gengtype

2012-11-17 Thread Basile Starynkevitch
On Sat, Nov 17, 2012 at 07:03:33AM -0500, Richard Kenner wrote: > > First, C or C++ is not the best language to write a compiler in, > > It is my strong opinion that the best language to write a compiler in is > the language that it is compiling (or the primary language in the case > of a multi-l

Re: RFC - Alternatives to gengtype

2012-11-17 Thread Uday Khedker
On Saturday 17 November 2012 08:34 PM, Basile Starynkevitch wrote: On Sat, Nov 17, 2012 at 07:03:33AM -0500, Richard Kenner wrote: First, C or C++ is not the best language to write a compiler in, It is my strong opinion that the best language to write a compiler in is the language that it i

Add an option to bootstrap GCC with asan?

2012-11-17 Thread H.J. Lu
Hi, There is a bad memory access in LTO: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 Should we add an option to bootstrap GCC with asan? -- H.J.

Re: Add an option to bootstrap GCC with asan?

2012-11-17 Thread Markus Trippelsdorf
On 2012.11.17 at 09:37 -0800, H.J. Lu wrote: > Hi, > > There is a bad memory access in LTO: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 > > Should we add an option to bootstrap GCC with asan? I think that's a good idea, but please note that gcc's implementation doesn't catch this part

Re: Add an option to bootstrap GCC with asan?

2012-11-17 Thread H.J. Lu
On Sat, Nov 17, 2012 at 9:38 AM, Ian Lance Taylor wrote: > > On Nov 17, 2012 9:37 AM, "H.J. Lu" wrote: >> >> Hi, >> >> There is a bad memory access in LTO: >> >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 >> >> Should we add an option to bootstrap GCC with asan? > > Sure. What's the worst

Re: *****SPAM***** Re: RFC - Alternatives to gengtype

2012-11-17 Thread Uday Khedker
I wrote some time ago: On Saturday 17 November 2012 09:12 PM, Uday Khedker wrote: On Saturday 17 November 2012 08:34 PM, Basile Starynkevitch wrote: On Sat, Nov 17, 2012 at 07:03:33AM -0500, Richard Kenner wrote: First, C or C++ is not the best language to write a compiler in, It is my s

Re: [Android] -fpic default option

2012-11-17 Thread Alexander Ivchenko
You are right, we are talking about the same things. The only open question I see is regarding: In other cases we can safely assume that the executable will be created and in such case it would be a good idea to use -fPIE. >> I don't see why it would be a good idea to use -fPIE for

Re: RFC - Alternatives to gengtype

2012-11-17 Thread Xinliang David Li
On Sat, Nov 17, 2012 at 12:35 AM, Basile Starynkevitch wrote: > On Fri, Nov 16, 2012 at 07:44:12PM -0800, Xinliang David Li wrote: >> > >> > >> > My strong belief is that a compiler project as gigantic as GCC needs some >> > kind >> > of garbage collection >> >> Can you name another compiler writ

Re: RFC - Alternatives to gengtype

2012-11-17 Thread Gabriel Dos Reis
On Sat, Nov 17, 2012 at 1:33 PM, Xinliang David Li wrote: > My main point is that other main open source compilers like > clang/llvm, open64 and some main commercial compilers I know do not > use GC, which proves that GC is not a must for a compiler to be easy > to work with or to be a good open

gcc-4.7-20121117 is now available

2012-11-17 Thread gccadmin
Snapshot gcc-4.7-20121117 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.7-20121117/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.7 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches