About GCJ compiler

2012-03-16 Thread Mao Ito
To whom may it concern, Nice to meet you. I am Mao Ito and a graduate student at the University of Wisconsin-Madison. I am working on a course project. My topic is something like "High Performance Architecture for Java Programming Language on mobile phones". On this project, I am planning to us

Re: GCC 5? (was Re: GCC 4.7.0RC: Mangled names in cc1)

2012-03-16 Thread Jonathan Wakely
On 16 March 2012 17:19, David Malcolm wrote: > > What I'm really hoping for from GCC is a move towards a collection of > libraries that can be embedded in (license-compatible) apps: LLVM is > gaining ground for the use case of programs that need JIT-compilation > (e.g. the X server, or a JVM).  I a

Re: GCC 5? (was Re: GCC 4.7.0RC: Mangled names in cc1)

2012-03-16 Thread Joseph S. Myers
On Fri, 16 Mar 2012, David Malcolm wrote: > Proposed outcome [...] > Current architectural issues [...] Not many people commented on the architectural goals document Diego and I posted at . Many of your ideas seem potentially useful additions to

Re: GCC 5? (was Re: GCC 4.7.0RC: Mangled names in cc1)

2012-03-16 Thread Gabriel Dos Reis
On Fri, Mar 16, 2012 at 12:19 PM, David Malcolm wrote: > C++ is likely to make it more difficult to embed GCC into such apps > (e.g. nasty ordering issues for globals with non-empty constructors; If you were going to write an API in C and you have no globals that require a dynamic initialization

Re: GCC 5? (was Re: GCC 4.7.0RC: Mangled names in cc1)

2012-03-16 Thread Diego Novillo
On Fri, Mar 16, 2012 at 13:19, David Malcolm wrote: > Hope this is constructive. It is. Parts of your proposal are instances of the modularity effort that has been going on for some time. It also touches on some of the same topics discussed in http://gcc.gnu.org/wiki/ImprovementProjects. It w

GCC 5? (was Re: GCC 4.7.0RC: Mangled names in cc1)

2012-03-16 Thread David Malcolm
On Fri, 2012-03-16 at 16:17 +0100, Ludovic Courtès wrote: > Hello, > > Richard Guenther skribis: > > > 2012/3/16 Ludovic Courtès : > > [...] > > > Well, if you invent new paradigms > > Hmm, I didn’t invent anything here. > > > in your plugin that are not used by GCC itself but use GCC intern

Google Summer of Code 2012 - Call for mentors

2012-03-16 Thread Diego Novillo
We are glad to announce that GCC has been accepted Google's Summer of Code 2012 program (GSoC 2012). Summer of Code is a program sponsored by Google in which students are paid to contribute to open source projects. This will be GCC's 7th year of participation. For more information, see http://

Re: GCC 4.7.0RC: Mangled names in cc1

2012-03-16 Thread Gabriel Dos Reis
On Fri, Mar 16, 2012 at 8:04 AM, Ludovic Courtès wrote: > Right, but the nice thing with GCC plug-ins is they can be implemented > using all GNU extensions. at the risk of having this very discussion. [...] > What about writing it in C++?  Function objects could be passed around > to achieve a

Re: GCC 4.7.0RC: Mangled names in cc1

2012-03-16 Thread Gabriel Dos Reis
On Fri, Mar 16, 2012 at 6:03 AM, Ludovic Courtès wrote: > Hi, > > After writing an Autoconf macro that determines whether to build > plug-ins with gcc or g++ [0], I realized that nested functions, which my > plug-in uses extensively, are not supported in C++. > > Any suggestions on how to address

Re: Second GCC 4.7.0 Release Candidate available from gcc.gnu.org

2012-03-16 Thread Jakub Jelinek
On Fri, Mar 16, 2012 at 03:57:51PM +0100, Georg-Johann Lay wrote: > I was just confused by the "please report bugs" which gives rise to > the (incorrect) assumption that the goal is to actually fix these > bugs -- only if this is possible in a timely manner, of course, and > won't delay the release

Re: GCC 4.7.0RC: Mangled names in cc1

2012-03-16 Thread Ludovic Courtès
Hello, Richard Guenther skribis: > 2012/3/16 Ludovic Courtès : [...] > Well, if you invent new paradigms Hmm, I didn’t invent anything here. > in your plugin that are not used by GCC itself but use GCC internals > (which all plugins have to do ...) then I know where the problem lies > ;) I s

Re: Second GCC 4.7.0 Release Candidate available from gcc.gnu.org

2012-03-16 Thread Georg-Johann Lay
Richard Guenther schrieb: On Fri, 16 Mar 2012, Georg-Johann Lay wrote: Richard Guenther schrieb: GCC 4.7.0 Release Candidate available from gcc.gnu.org A second release candidate for GCC 4.7.0 is available from ftp://gcc.gnu.org/pub/gcc/snapshots/4.7.0-RC-20120314 and shortly its mirrors.

Re: Second GCC 4.7.0 Release Candidate available from gcc.gnu.org

2012-03-16 Thread Jonathan Wakely
On 16 March 2012 13:45, Georg-Johann Lay wrote: > Richard Guenther schrieb: >> >> GCC 4.7.0 Release Candidate available from gcc.gnu.org >> >> A second release candidate for GCC 4.7.0 is available from >> >>  ftp://gcc.gnu.org/pub/gcc/snapshots/4.7.0-RC-20120314 >> >> and shortly its mirrors.  It h

Re: Second GCC 4.7.0 Release Candidate available from gcc.gnu.org

2012-03-16 Thread Richard Guenther
On Fri, 16 Mar 2012, Georg-Johann Lay wrote: > Richard Guenther schrieb: > > GCC 4.7.0 Release Candidate available from gcc.gnu.org > > > > A second release candidate for GCC 4.7.0 is available from > > > > ftp://gcc.gnu.org/pub/gcc/snapshots/4.7.0-RC-20120314 > > > > and shortly its mirrors.

Re: Second GCC 4.7.0 Release Candidate available from gcc.gnu.org

2012-03-16 Thread Georg-Johann Lay
Richard Guenther schrieb: GCC 4.7.0 Release Candidate available from gcc.gnu.org A second release candidate for GCC 4.7.0 is available from ftp://gcc.gnu.org/pub/gcc/snapshots/4.7.0-RC-20120314 and shortly its mirrors. It has been generated from SVN revision 185376. I have so far bootstrapp

Re: GCC 4.7.0RC: Mangled names in cc1

2012-03-16 Thread Basile Starynkevitch
On Fri, Mar 16, 2012 at 02:04:38PM +0100, Ludovic Courtès wrote: > > What about writing it in C++? Function objects could be passed around > to achieve a similar result, at the expense of conciseness and > interoperability with C. Well, if your plugin is compiled with C++ and all of GCC is also

Re: GCC 4.7.0RC: Mangled names in cc1

2012-03-16 Thread Richard Guenther
2012/3/16 Ludovic Courtès : > Hi, > > Richard Guenther skribis: > >> 2012/3/16 Ludovic Courtès : >>> Hi, >>> >>> After writing an Autoconf macro that determines whether to build >>> plug-ins with gcc or g++ [0], I realized that nested functions, which my >>> plug-in uses extensively, are not suppo

Re: target_header_dir vs host-x-host

2012-03-16 Thread Ian Lance Taylor
DJ Delorie writes: >> OK, but what's wrong --with-sysroot=/ ? > > It should work, it just seems "wrong" for a native compiler to have a > sysroot... I agree that it's a bug, but I'm not sure I think it's the same bug that you think it is. Every toolchain has a sysroot, really. I think it's a

Re: GCC 4.7.0RC: Mangled names in cc1

2012-03-16 Thread Ludovic Courtès
Hi, Richard Guenther skribis: > 2012/3/16 Ludovic Courtès : >> Hi, >> >> After writing an Autoconf macro that determines whether to build >> plug-ins with gcc or g++ [0], I realized that nested functions, which my >> plug-in uses extensively, are not supported in C++. >> >> Any suggestions on ho

Re: The state of glibc libm

2012-03-16 Thread Steven Munroe
On Thu, 2012-03-15 at 03:07 +0100, Vincent Lefevre wrote: > On 2012-03-14 14:40:06 +, Joseph S. Myers wrote: > > On Wed, 14 Mar 2012, Vincent Lefevre wrote: > > > > > For double-double (IBM long double), I don't think the notion of > > > correct rounding makes much sense anyway. Actually the d

Re: GCC 4.7.0RC: Mangled names in cc1

2012-03-16 Thread Richard Guenther
2012/3/16 Ludovic Courtès : > Hi, > > After writing an Autoconf macro that determines whether to build > plug-ins with gcc or g++ [0], I realized that nested functions, which my > plug-in uses extensively, are not supported in C++. > > Any suggestions on how to address this? Don't use nested funct

Re: GCC 4.7.0RC: Mangled names in cc1

2012-03-16 Thread Ludovic Courtès
Hi, After writing an Autoconf macro that determines whether to build plug-ins with gcc or g++ [0], I realized that nested functions, which my plug-in uses extensively, are not supported in C++. Any suggestions on how to address this? Thanks, Ludo’. [0] https://gforge.inria.fr/scm/viewvc.php/tr