Re: PATCH RFA: Build stages 2 and 3 with C++

2011-07-16 Thread Ian Lance Taylor
Andrew Pinski writes: > On Fri, Jul 15, 2011 at 11:52 PM, Ian Lance Taylor wrote: >> I would like to propose this patch as a step toward building gcc using a >> C++ compiler.  This patch builds stage1 with the C compiler as usual, >> and defaults to building stages 2 and 3 with a C++ compiler bu

Re: PATCH RFA: Build stages 2 and 3 with C++

2011-07-16 Thread Basile Starynkevitch
On Sat, 16 Jul 2011 00:04:58 -0700 Ian Lance Taylor wrote: > Andrew Pinski writes: > > > On Fri, Jul 15, 2011 at 11:52 PM, Ian Lance Taylor wrote: > >> I would like to propose this patch as a step toward building gcc using a > >> C++ compiler.  This patch builds stage1 with the C compiler as u

Re: Updating the CFG after function modifcation

2011-07-16 Thread Eric Botcazou
> I have an IPA pass (implemented as a plugin) which executes after all IPA > passes. My pass transforms functions by adding code and also modifying the > function prototypes. I have had this work on a per-function basis, via a > GIMPLE_PASS, which calls update_ssa verify_ssa and cleanup_cfg afte

Re: RFH: Impose code-movement restrictions and value assumption (for ASYNCHRONOUS/Coarrays)

2011-07-16 Thread Richard Guenther
On Thu, Jul 14, 2011 at 5:31 PM, Michael Matz wrote: > Hi, > > On Thu, 14 Jul 2011, Richard Guenther wrote: > >> Sure ;)  What the middle-end currently lacks is explicit tracking of >> what escapes through a function return as opposed to what escapes >> somewhere else.  Once that is implemented a

Re: PATCH RFA: Build stages 2 and 3 with C++

2011-07-16 Thread Diego Novillo
On Sat, Jul 16, 2011 at 02:52, Ian Lance Taylor wrote: > 2011-07-15  Ian Lance Taylor   > >        * configure.ac: Add --enable-build-poststage1-with-cxx.  If set, >        make C++ a boot_language.  Set and substitute >        POSTSTAGE1_CONFIGURE_FLAGS. >        * Makefile.tpl (POSTSTAGE1_CONFI

[Melt] Runfile Mode and rest of compilation

2011-07-16 Thread Romain Geissler
Hello, I just noticed some strange behavior some days ago while trying the HelloWorld Melt tutorial. So a file as simple as (code_chunk trace #{ printf("Melt file is executed !\n"); }# ) will print a trace as expected when using with -fmelt-mode=runfile -fmet-ar

Re: [Melt] Runfile Mode and rest of compilation

2011-07-16 Thread Basile Starynkevitch
On Sat, 16 Jul 2011 18:11:07 +0200 Romain Geissler wrote: > Hello, > > I just noticed some strange behavior some days ago while trying the > HelloWorld Melt tutorial. So a file as simple as > > (code_chunk trace > #{ > printf("Melt file is executed !\n"); > }# > ) >

Re: [Gm2] gnu modula-2 + cygwin compilerfehler.... mit loesung

2011-07-16 Thread Dragiša Durić
Bilo bi lijepo da se odgovor na ovo pitanje napiše i jezicima ostalih učesnika na listi pošto ne sumnjam da i druge zanima tematika. :) Hvala, dd On Fri, 2011-07-15 at 15:38 +0200, Robert Bergermann wrote: > Hallo gcc@gcc.gnu.org g...@nongnu.org ! > > Als erstes moechte ich meine Begeisterung z

Re: PATCH RFA: Build stages 2 and 3 with C++

2011-07-16 Thread Toon Moene
On 07/16/2011 08:52 AM, Ian Lance Taylor wrote: I would like to propose this patch as a step toward building gcc using a C++ compiler. This patch builds stage1 with the C compiler as usual, and defaults to building stages 2 and 3 with a C++ compiler built during stage 1. I just completed a ru

possible race condition in make install?

2011-07-16 Thread Jack Howarth
I have had a report of i386 darwin10 failing to build gcc 4.4.6 in fink which I've reproduced myself. The failure looks quite odd... /usr/bin/install -c -m 644 ./libiberty.a /sw/src/fink.build/root-gcc44-4.4.6-1001/sw/lib/gcc4.4/lib/`/sw/src/fink.build/gcc44-4.4.6-1001/darwin_objdir/./gcc/xgc

Re: possible race condition in make install?

2011-07-16 Thread Jack Howarth
On Sat, Jul 16, 2011 at 04:40:22PM -0400, Jack Howarth wrote: >I have had a report of i386 darwin10 failing to build gcc 4.4.6 in fink > which I've reproduced > myself. The failure looks quite odd... > > /usr/bin/install -c -m 644 ./libiberty.a > /sw/src/fink.build/root-gcc44-4.4.6-1001/sw/l

Re: GSOC - Student Roundup

2011-07-16 Thread Gerald Pfeifer
Pierre, On Wed, 6 Jul 2011, Pierre Vittet wrote: > I feel sad, not being able to use IRC from my web access (in my > school)... and so only communicating by mail with the GCC community. are you aware of http://www.mibbit.com/ and similar clients, that just use plain http, or are you saying that

gcc-4.7-20110716 is now available

2011-07-16 Thread gccadmin
Snapshot gcc-4.7-20110716 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.7-20110716/ 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/trunk

Re: PATCH RFA: Build stages 2 and 3 with C++

2011-07-16 Thread Ian Lance Taylor
Diego Novillo writes: > On Sat, Jul 16, 2011 at 02:52, Ian Lance Taylor wrote: > >> 2011-07-15  Ian Lance Taylor   >> >>        * configure.ac: Add --enable-build-poststage1-with-cxx.  If set, >>        make C++ a boot_language.  Set and substitute >>        POSTSTAGE1_CONFIGURE_FLAGS. >>      

Re: PATCH RFA: Build stages 2 and 3 with C++

2011-07-16 Thread Ian Lance Taylor
Basile Starynkevitch writes: > I think that we might also want to have some easy & documented way to build > the stage1 > directly with g++, assuming (or when) it is already available. We already do: configure with --enable-build-with-cxx. Ian

PARM_DECL to SSA_NAME

2011-07-16 Thread Matt Davis
Hello, I have a PARM_DECL node that I am passing to a function. Previously, my code was working, but since I have made my optimization pass operate as an IPA pass, versus a GIMPLE pass, I think I am missing some verification/resolution call that I need to make. Of course, when I pass the PARM_DEC