Problem compiling GCC source code in AIX

2006-07-24 Thread Kithsiri Lekamge
Hi All, I am in great difficult compiling GCC source code in AIX box. I installed the binary of GCC 3.3.2 and using this compiler I started to compile the GCC 3.4.6 source codes. After 5 hrs of compiling I received the following error. 46286 Segmentation fault: Configure-target-libstdc++-v3 M

[boehms-gc] Performance results

2006-07-24 Thread Laurynas Biveinis
Hi, (This email is quite long; if you are not interested in performance data, scroll down for my questions that you might be able to answer) Below are some performance results with --with-gc=boehm. This collector since the last posted results at http://gcc.gnu.org/ml/gcc/2006-06/msg00729.html, h

Re: [boehms-gc] Performance results

2006-07-24 Thread Andrew Pinski
On Jul 24, 2006, at 1:45 AM, Laurynas Biveinis wrote: 4) I have configured Linux compilers with "--disable-checking". I was quite surprised to see that GGC times have disappeared from the "-Q -ftime-report -fmem-report" output. Is this expected by design behaviour? What minimum configure option

Re: [boehms-gc] Performance results

2006-07-24 Thread Laurynas Biveinis
> 4) I have configured Linux compilers with "--disable-checking". I was > quite surprised to see that GGC times have disappeared from the "-Q > -ftime-report -fmem-report" output. Is this expected by design > behaviour? What minimum configure options will cause GGC time to > reappear? Yes that is

Re: [boehms-gc] Performance results

2006-07-24 Thread Andrew Pinski
On Jul 24, 2006, at 4:22 AM, Laurynas Biveinis wrote: So does that mean that there is no way to get GGC debug output with --disable-checking? Is there any very cheap --enable-checking option that would be give that or am I better off to hack GCC to do it with --disable-checking? No, GC is ju

Re: [boehms-gc] Performance results

2006-07-24 Thread Laurynas Biveinis
2006/7/24, Andrew Pinski <[EMAIL PROTECTED]>: No, GC is just not running as you have too much memory to cause it to run with --disable-checking :). Oh! Now my performance results have totally different interpretation under Linux... -- Laurynas

Re: MIPS RDHWR instruction reordering

2006-07-24 Thread Atsushi Nemoto
On 22 Jul 2006 20:58:16 -0700, Ian Lance Taylor <[EMAIL PROTECTED]> wrote: > OK, patch is approved, with a ChangeLog entry, and assuming it passes > the testsuite. Thanks, here is a patch with a ChangeLog entry. I can cross-build gcc and glibc successfully, but unfortunately I can not build and r

Re: Problem compiling GCC source code in AIX

2006-07-24 Thread David Edelsohn
> Kithsiri Lekamge writes: Kithsiri> I am in great difficult compiling GCC source code in AIX box. Kithsiri> I installed the binary of GCC 3.3.2 and using this compiler I started Kithsiri> to compile the GCC 3.4.6 source codes. Kithsiri> After 5 hrs of compiling I received the following err

Re: MIPS RDHWR instruction reordering

2006-07-24 Thread Andreas Schwab
Atsushi Nemoto <[EMAIL PROTECTED]> writes: > Index: gcc/config/mips/mips.md > === > --- gcc/config/mips/mips.md (revision 115370) > +++ gcc/config/mips/mips.md (working copy) > @@ -5450,6 +5450,9 @@ > ; MIPS 32r2 specification, b

cross gcc - working gcc, but cannot compile C++

2006-07-24 Thread Danny Backx
Hi, I'm trying to build a cross-development system and I'm 99% successful. My host is a standard Linux PC, target is a PDA (arm-wince-pe). Versions of all tools are below. I can build a cross-gcc as long as I tell it to support only C. When trying to get C++ compiled as well, I always end up get

Re: MIPS RDHWR instruction reordering

2006-07-24 Thread Richard Sandiford
Thanks for tackling this. Atsushi Nemoto <[EMAIL PROTECTED]> writes: > On 22 Jul 2006 20:58:16 -0700, Ian Lance Taylor <[EMAIL PROTECTED]> wrote: >> OK, patch is approved, with a ChangeLog entry, and assuming it passes >> the testsuite. > > Thanks, here is a patch with a ChangeLog entry. > > I can

RE: cross gcc - working gcc, but cannot compile C++

2006-07-24 Thread Dave Korn
On 24 July 2006 18:31, Danny Backx wrote: > I can build a cross-gcc as long as I tell it to support only C. When > trying to get C++ compiled as well, I always end up getting the error > message below. > > I've tried patching gas because I had the feeling that gcc is producing > an option that g

Documentation for loop infrastructure

2006-07-24 Thread Zdenek Dvorak
Hello, this patch adds documentation for loop analysis and representation of loops, as well as other loop-related analyses, and for functions to manipulate loops. As I am not a native English speaker, there are probably many language errors in the document, so I would appreciate if someone could

RE: cross gcc - working gcc, but cannot compile C++

2006-07-24 Thread Danny Backx
I've run ./xgcc -dumpspecs but I don't know what to look at. That one doesn't contain the string "Qy". However, when I do the same with my native gcc (the one I got from Mandriva), it does contain that : *asm: %{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} You might have noted tha

RE: cross gcc - working gcc, but cannot compile C++

2006-07-24 Thread Danny Backx
Dave, I'd used some search engines for the -Qy error but never really found the solution. Your reply prompted me to do that yet again, and I found http://www.cygwin.com/ml/cygwin/1997-06/msg00457.html which basically says configure creates a softlink in gcc object directory to the new versio

why the difference of two global pointers is not a constant?

2006-07-24 Thread Rafael EspĂ­ndola
I am trying to build a table with offsets of global pointers from a given pointer: void *fs[] = {f1 - f1, f2 - f1}; where f1 and f2 are functions. GCC is able to figure out that (f1 - f1) is 0, but says "initializer element is not constant" when trying to compute (f2 - f1). It is possible to s

Use of compound_literal_expr in c vs target_expr in c++ for compound literals

2006-07-24 Thread Fariborz Jahanian
gcc generates two separate trees for compound literals in c and c++. As in this test case: struct S { int i,j; }; void foo (struct S); int main () { foo((struct S){1,1}); } In c it generates compound_literal_expr and in c++ it generates target_expr. But gimplifier treats

Re: Use of compound_literal_expr in c vs target_expr in c++ for compound literals

2006-07-24 Thread Andrew Pinski
> > > gcc generates two separate trees for compound literals in c and c++. > As in this test case: > > struct S { > int i,j; > }; > void foo (struct S); > > int main () > { > foo((struct S){1,1}); > } > On the other hand, such a guard does not exist for a > compound_

Re: Use of compound_literal_expr in c vs target_expr in c++ for compound literals

2006-07-24 Thread Fariborz Jahanian
On Jul 24, 2006, at 3:07 PM, Andrew Pinski wrote: gcc generates two separate trees for compound literals in c and c++. As in this test case: struct S { int i,j; }; void foo (struct S); int main () { foo((struct S){1,1}); } On the other hand, such a guard does not e

Re: Use of compound_literal_expr in c vs target_expr in c++ for compound literals

2006-07-24 Thread Fariborz Jahanian
On Jul 24, 2006, at 3:07 PM, Andrew Pinski wrote: gcc generates two separate trees for compound literals in c and c++. As in this test case: struct S { int i,j; }; void foo (struct S); int main () { foo((struct S){1,1}); } On the other hand, such a guard does not e

RE: Searching configured and relocated prefix.

2006-07-24 Thread Eric Weddington
-Original Message- From: Ian Lance Taylor [mailto:[EMAIL PROTECTED] Sent: Sunday, July 23, 2006 3:57 PM To: Andrew Pinski Cc: Mark Mitchell; Carlos O'Donell; gcc@gcc.gnu.org Subject: Re: Searching configured and relocated prefix. Andrew Pinski <[EMAIL PROTECTED]> writes: > On Jul 23, 20

Re: why the difference of two global pointers is not a constant?

2006-07-24 Thread Gabriel Dos Reis
"Rafael EspĂ­ndola" <[EMAIL PROTECTED]> writes: | I am trying to build a table with offsets of global pointers from a | given pointer: | | void *fs[] = {f1 - f1, f2 - f1}; | | where f1 and f2 are functions. | | GCC is able to figure out that (f1 - f1) is 0, but says "initializer | element is not

Re: Documentation for loop infrastructure

2006-07-24 Thread Daniel Berlin
Zdenek Dvorak wrote: > Hello, > > this patch adds documentation for loop analysis and representation of > loops, as well as other loop-related analyses, and for functions to > manipulate loops. As I am not a native English speaker, there are > probably many language errors in the document, so I w

help installing gcc 4.0.3

2006-07-24 Thread Gichuru Riria
hi all, i help installing gcc 4.0.3

[Fwd: C++ cross-devel from Linux : success]

2006-07-24 Thread Danny Backx
Dave, After removing the gcc/as file as I wrote yesterday, the build does work and it is possible to cross-compile a working hello-world app. Danny Forwarded Message > From: Danny Backx <[EMAIL PROTECTED]> > To: CeGCC Development List <[EMAIL PROTECTED]> > Subject: C++