Re: libffi on Macintel?

2006-11-16 Thread Eric Christopher
On Nov 15, 2006, at 8:59 PM, Jack Howarth wrote: Mike, The problem is that the Geoff rejected the configure.in patch that removes libgcj from noconfigdirs... http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00642.html ...as being too invasive for gcc 4.2. If you manually apply that, it should

gcc3.4.6: std::min and std::max

2006-11-16 Thread BG / Galaxy
Hello, I recently upgraded my system from Solaris2.5.1/gcc3.3.2 to Solaris7/gcc3.4.6. When recompiling my project, I often get errors in gcc files complaining about lines using std::min or std::max, ie: In file included from /usr/local/lib/gcc/sparc-sun-solaris2.7/3.4.6/../../../../include/c++/3.

32bit Calling conventions on linux/ppc.

2006-11-16 Thread Joslwah
Looking at the Linux 32bit PowerPC ABI spec, it appears to me that floats in excess of those that are passed in registers are supposed to be promoted to doubles and passed on the stack. Examing the resulting stack from a gcc generated C call it appears they are passed as floats. Can someone co

libgcj-2.95.1

2006-11-16 Thread ac
hello, I'm trying to compile libgcj, but there are some errors. Can somebody help me? Thanks! checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for Cygwin environment... no checking for mingw32 environment... no checking host system type... i686

Re: libgcj-2.95.1

2006-11-16 Thread Andrew Haley
[EMAIL PROTECTED] writes: > hello, > I'm trying to compile libgcj, but there are some errors. Can somebody help > me? > Thanks! > > > checking whether build environment is sane... yes > checking whether make sets ${MAKE}... yes > checking for Cygwin environment... no > checking for min

Re: gcc3.4.6: std::min and std::max

2006-11-16 Thread Ian Lance Taylor
"BG / Galaxy" <[EMAIL PROTECTED]> writes: > I recently upgraded my system from Solaris2.5.1/gcc3.3.2 to > Solaris7/gcc3.4.6. > When recompiling my project, I often get errors in gcc files complaining > about lines using std::min or std::max, > ie: ... > /usr/local/lib/gcc/sparc-sun-solaris2.7/3.

Re: build failure, GMP not available

2006-11-16 Thread Kaveh R. GHAZI
On Thu, 2 Nov 2006, Gerald Pfeifer wrote: > On Mon, 30 Oct 2006, Geoffrey Keating wrote: > > configure: error: Building GCC requires GMP 4.1+ and MPFR 2.2+. Try the > > --with-gmp and/or --with-mpfr options. > > Indeed, as a user I ran into problems with this on a system where both of > these act

Testsuite for GlobalGCC: QMTest or DejaGNU?

2006-11-16 Thread Alvaro Vega Garcia
Hi all, I'm beginning to work on GGCC project(1) and I proposed to continue with DejaGNU Testsuite for these project when I was asked about better testing framework. Then I read about "QMTest and the G++ testsuite" thread (2) of year 2002, but now I think that is more adequate to ask it here. What

Re: vectorizer data dependency graph

2006-11-16 Thread Dorit Nuzman
> On 11/15/06, Steven Bosscher <[EMAIL PROTECTED]> wrote: > > On 11/15/06, Sebastian Pop <[EMAIL PROTECTED]> wrote: > > > > > There is a ddg in this patch if somebody wants the classic Allen&Kennedy > > > way to look at the dependences: > > > http://gcc.gnu.org/wiki/OptimizationCourse? > action=Att

Re: Zdenek Dvorak and Daniel Berlin appointed loop optimizer maintainers

2006-11-16 Thread Zdenek Dvorak
Hello, > I am pleased to announce that the GCC Steering Committee has > appointed Zdenek Dvorak and Daniel Berlin as non-algorithmic maintainers > of the RTL and Tree loop optimizer infrastructure in GCC. > > Please join me in congratulating Zdenek and Daniel on their new > role. Zde

Re: Zdenek Dvorak and Daniel Berlin appointed loop optimizer maintainers

2006-11-16 Thread Andrew Haley
Zdenek Dvorak writes: > Hello, > > >I am pleased to announce that the GCC Steering Committee has > > appointed Zdenek Dvorak and Daniel Berlin as non-algorithmic maintainers > > of the RTL and Tree loop optimizer infrastructure in GCC. > > > >Please join me in congratulating Zdenek

Re: Zdenek Dvorak and Daniel Berlin appointed loop optimizer maintainers

2006-11-16 Thread Richard Guenther
On 11/16/06, Andrew Haley <[EMAIL PROTECTED]> wrote: Zdenek Dvorak writes: > Hello, > > >I am pleased to announce that the GCC Steering Committee has > > appointed Zdenek Dvorak and Daniel Berlin as non-algorithmic maintainers > > of the RTL and Tree loop optimizer infrastructure in GCC.

Re: Zdenek Dvorak and Daniel Berlin appointed loop optimizer maintainers

2006-11-16 Thread David Edelsohn
> Richard Guenther writes: Richard> I would rather open a new section if this idiom is supposed to spread more ;-) The plan is to appoint more developers as Non-Algorithmic maintainers. David

Re: Testsuite for GlobalGCC: QMTest or DejaGNU?

2006-11-16 Thread Daniel Berlin
On 11/16/06, Alvaro Vega Garcia <[EMAIL PROTECTED]> wrote: Hi all, I'm beginning to work on GGCC project(1) and I proposed to continue with DejaGNU Testsuite for these project when I was asked about better testing framework. Then I read about "QMTest and the G++ testsuite" thread (2) of year 2002

Re: regenerating reliably GCC configure files

2006-11-16 Thread David Fang
> > > I made some suggestions on the Wiki > > > > > > http://gcc.gnu.org/wiki/AboutGCCConfiguration > > > > > > Again, feel free to edit the above page (and/or incorporate parts of > > > it into the documentation). Looks like it was relocated to: http://gcc.gnu.org/wiki/Regenerating_GCC_Configur

Re: regenerating reliably GCC configure files

2006-11-16 Thread Basile STARYNKEVITCH
Le Thu, Nov 16, 2006 at 03:33:23PM -0500, David Fang écrivait/wrote: > > > > I made some suggestions on the Wiki > > > > > > > > http://gcc.gnu.org/wiki/AboutGCCConfiguration > > > > > > > > Again, feel free to edit the above page (and/or incorporate parts of > > > > it into the documentation). >

Re: Testsuite for GlobalGCC: QMTest or DejaGNU?

2006-11-16 Thread ALVARO VEGA GARCIA
> > Err, your best bet is to file assignment papers with the FSF, and do > your work on a branch in gcc's svn, and just use whatever gcc is using > for it's testsuite (IE dejagnu right now). > Thats for advice! You can be sure of that. Álvaro

gcc-4.0-20061116 is now available

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

EXPR_HAS_LOCATION seems to always return false

2006-11-16 Thread Brendon Costa
Hi all, I am trying to obtain location information (file, line) for a number of expr nodes (CALL_EXPR, THROW_EXPR and ADDR_EXPR) and it seems that every expression node i call EXPR_HAS_LOCATION on returns false. If it returns true i then use: EXPR_LINENO(), EXPR_FILENAME() to obtain the requ

PowerPC code gen question

2006-11-16 Thread Michael Eager
rs6000.c contains the following: rs6000_hard_regno_mode_ok (int regno, enum machine_mode mode) { . . . /* The float registers can only hold floating modes and DImode. */ if (FP_REGNO_P (regno)) return (GET_MODE_CLASS (mode) == MODE_FLOAT && FP_REGNO_P (regno + HARD_REGNO_

Re: EXPR_HAS_LOCATION seems to always return false

2006-11-16 Thread Steven Bosscher
On 11/17/06, Brendon Costa <[EMAIL PROTECTED]> wrote: Is there something i should be doing before using EXPR_HAS_LOCATION() ? Compile with -g, perhaps? Gr. Steven

Re: EXPR_HAS_LOCATION seems to always return false

2006-11-16 Thread Brendon Costa
Steven Bosscher wrote: On 11/17/06, Brendon Costa <[EMAIL PROTECTED]> wrote: Is there something i should be doing before using EXPR_HAS_LOCATION() ? Compile with -g, perhaps? I tried that and it didnt seem to make any difference.

Re: Testsuite for GlobalGCC: QMTest or DejaGNU?

2006-11-16 Thread Mike Stump
On Nov 16, 2006, at 7:26 AM, Alvaro Vega Garcia wrote: I'm beginning to work on GGCC project(1) and I proposed to continue with DejaGNU Testsuite for these project when I was asked about better testing framework. The main problem is that any framework other than dejagnu is just different, a

Re: PowerPC code gen question

2006-11-16 Thread David Edelsohn
> Michael Eager writes: Michael> Can someone explain to me why FP regs should contain int values? Michael> Is this to support the fcfid conversion instruction? Yes, for FP conversion instructions. Michael> What keeps FP regs from being used to contain integer values? Nothin

Re: EXPR_HAS_LOCATION seems to always return false

2006-11-16 Thread Brendon Costa
Brendon Costa wrote: Hi all, I am trying to obtain location information (file, line) for a number of expr nodes (CALL_EXPR, THROW_EXPR and ADDR_EXPR) and it seems that every expression node i call EXPR_HAS_LOCATION on returns false. If it returns true i then use: EXPR_LINENO(), EXPR_FILENAM

Re: build failure, GMP not available

2006-11-16 Thread Matt Fago
I have been struggling with this issue, and now that I have successfully built GCC I thought I would share my results. Hopefully it can help someone better versed in autotools to improve the build of GCC with GMP/MPFR. For reference, a few older threads I've found: http://gcc.gnu.org/ml/gc

Abt RTL expression

2006-11-16 Thread Rohit Arul Raj
Hi all, Can any one get me the information/implementation of below mentioned functions? 1. operands[0] = gen_rtx_REG (SImode,REGNO (set_dest)); 2. operands[0] = gen_highpart (SImode, set_dest); Are both functionalities similiar if i use the above functions to get the 32 bit word from a 64 bit

build gcc with distcc

2006-11-16 Thread Weidong Cui
Hi, Everyone: I am trying to build gcc with distcc on 3 linux boxes. But when I build gcc with option '--enable-bootstrap', the 'distcc' doesn't work. So I disabled bootstrap , then 'distcc' worked effective. My question is: how to build gcc bootstrap with distcc correctly.

Re: build gcc with distcc

2006-11-16 Thread Basile STARYNKEVITCH
Hello Le/On Fri, Nov 17, 2006 at 07:26:55AM +, Weidong Cui écrivait/wrote: > I am trying to build gcc with distcc on 3 linux > boxes. But when I build gcc with option '--enable-bootstrap', > the 'distcc' doesn't work. So I disabled bootstrap , then 'distcc' > worked effective. No distc

Re: building gcc4-4.3.0-20061104/11 failure on OSX 10.3

2006-11-16 Thread Mike Stump
On Nov 14, 2006, at 3:13 AM, Dominique Dhumieres wrote: Since the problem is still there in gcc4-4.3.0-2006 and I did not get any answer, I tried the following: (1) I replaced gcc/config/darwin.h by the file from gcc4-4.3.0-20061028, and the build was done without obvious problem. (2)

Re: building gcc4-4.3.0-20061104/11 failure on OSX 10.3

2006-11-16 Thread Mike Stump
On Nov 14, 2006, at 12:43 PM, Geoffrey Keating wrote: Mike was considering simply declaring that GCC 4.3 won't work on Mac OS 10.3. No, not really. I'll declare that using things older than 10.3.9 are gonna be hard, as the required cctools package was built for 10.3.9, however, if one get