libgomp: Thread creation failed: Invalid argument

2006-08-15 Thread Tim Schmielau
I am very happy to see that gfortran from current gcc snapshots can successfully compile an 18000 lines Fortran 77 numerics program I wrote. Results are indeed the same as obtained with other compilers (g77, PGI, ifort), and also execution speed seems roughly comparable, although I haven't yet

Re: libgomp: Thread creation failed: Invalid argument

2006-08-15 Thread Diego Novillo
Tim Schmielau wrote on 08/15/06 10:15: > How to further debug this problem? > I am currently using gcc-4.2-20060812 on i686 and x86_64 SuSE 10.0 Linux > systems. > Please submit a bug report including the code you are trying to compile. ( http://gcc.gnu.org/bugs.html) How many threads are you t

Re: libgomp: Thread creation failed: Invalid argument

2006-08-15 Thread Tim Schmielau
On Tue, 15 Aug 2006, Diego Novillo wrote: > Tim Schmielau wrote on 08/15/06 10:15: > > > How to further debug this problem? > > I am currently using gcc-4.2-20060812 on i686 and x86_64 SuSE 10.0 Linux > > systems. > > > Please submit a bug report including the code you are trying to compile. >

Re: libgomp: Thread creation failed: Invalid argument

2006-08-15 Thread Asher Langton
Tim Schmielau wrote on 08/15/06: The problem appears for any OMP_NUM_THREADS value other than 1 (I tried up to 8 on an 8-way machine). Extracting a testcase from the 18.000 lines of code will probably require some work, so I was looking for easier things to chek first. But I'll try to do that, th

Re: type consistency of gimple

2006-08-15 Thread Nick Clifton
Hi Diego, Jeff's point about our optimizers is also true. Nick, remember that issue with MIPS optimizations you were discussing with Jeff a few days ago? I didn't follow most of the details, but it involved ivopts and sign issues. Could you send a summary? Sure: I was looking at how a gc

copyright assignment form

2006-08-15 Thread Jack Howarth
Please seend me the copyright assignment form required for contribution to gcc. Thanks in advance. Jack Howarth

Re: type consistency of gimple

2006-08-15 Thread Kenneth Zadeck
Nick Clifton wrote: > Hi Diego, > >> Jeff's point about our optimizers is also true. Nick, remember that >> issue with MIPS optimizations you were discussing with Jeff a few days >> ago? I didn't follow most of the details, but it involved ivopts and >> sign issues. Could you send a summary? > >

Re: libgomp: Thread creation failed: Invalid argument

2006-08-15 Thread Tim Schmielau
On Tue, 15 Aug 2006, Asher Langton wrote: > Tim Schmielau wrote on 08/15/06: > > The problem appears for any OMP_NUM_THREADS value other than 1 (I tried > > up to 8 on an 8-way machine). > > Extracting a testcase from the 18.000 lines of code will probably require > > some work, so I was looking f

Re: type consistency of gimple

2006-08-15 Thread Diego Novillo
Kenneth Zadeck wrote on 08/15/06 11:57: > We should be looking at the back end to see where it cannot see what it > needs to see rather than trying to stop getting the middle end code into > a reasonable form. > You're confused. This is a middle-end mis-optimization. However, it is true that we

Re: libgomp: Thread creation failed: Invalid argument

2006-08-15 Thread Asher Langton
On 8/15/06, Tim Schmielau <[EMAIL PROTECTED]> wrote: On Tue, 15 Aug 2006, Asher Langton wrote: > Tim Schmielau wrote on 08/15/06: > > The problem appears for any OMP_NUM_THREADS value other than 1 (I tried > > up to 8 on an 8-way machine). > > Extracting a testcase from the 18.000 lines of code

Re: type consistency of gimple

2006-08-15 Thread Jeffrey Law
On Tue, 2006-08-15 at 11:57 -0400, Kenneth Zadeck wrote: > Nick Clifton wrote: > > Hi Diego, > > > >> Jeff's point about our optimizers is also true. Nick, remember that > >> issue with MIPS optimizations you were discussing with Jeff a few days > >> ago? I didn't follow most of the details, but

Re: type consistency of gimple

2006-08-15 Thread Kenneth Zadeck
Diego Novillo wrote: > Kenneth Zadeck wrote on 08/15/06 11:57: > > >> We should be looking at the back end to see where it cannot see what it >> needs to see rather than trying to stop getting the middle end code into >> a reasonable form. >> >> > You're confused. This is a middle-end mis-

Re: type consistency of gimple

2006-08-15 Thread Daniel Berlin
Kenneth Zadeck wrote: > Nick Clifton wrote: >> Hi Diego, >> >>> Jeff's point about our optimizers is also true. Nick, remember that >>> issue with MIPS optimizations you were discussing with Jeff a few days >>> ago? I didn't follow most of the details, but it involved ivopts and >>> sign issues.

Re: How to GTYize a struct properly?

2006-08-15 Thread Laurynas Biveinis
At the risk of stating the obvious, those parentheses after "GTY" look unbalanced to me. Of course, these were fixed very soon :) -- Laurynas

Re: How to GTYize a struct properly?

2006-08-15 Thread Laurynas Biveinis
gengtype doesn't support anonymous structures or unions, you need to give them a name. (I don't remember if this is simply a limitation of the existing implementation or if it's more fundamental.) OK, naming them has helped. Out of curiosity, why does following typedef int *lambda_vector; typ

Re: Feature request - error for implicit int return in pointer context

2006-08-15 Thread Joe Buck
On Mon, Aug 14, 2006 at 08:38:38PM -0400, Pavel Roskin wrote: > On Mon, 2006-08-14 at 22:44 +0200, Andreas Schwab wrote: > > Try -Werror-implicit-function-declaration. Not the same, but pretty > > close. > > Thanks! I know. In fact, I'm using at least "-Wall -Werror" for my > code and for the c

RE: does gcc support multiple sizes, or not?

2006-08-15 Thread Meissner, Michael
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Mark Mitchell > Sent: Monday, August 14, 2006 12:50 PM > To: DJ Delorie > Cc: [EMAIL PROTECTED]; gcc@gcc.gnu.org > Subject: Re: does gcc support multiple sizes, or not? > > DJ Delorie wrote: > >> And ba

Re: Feature request - error for implicit int return in pointer context

2006-08-15 Thread Pavel Roskin
On Tue, 2006-08-15 at 10:06 -0700, Joe Buck wrote: > On Mon, Aug 14, 2006 at 08:38:38PM -0400, Pavel Roskin wrote: > > On Mon, 2006-08-14 at 22:44 +0200, Andreas Schwab wrote: > > > Try -Werror-implicit-function-declaration. Not the same, but pretty > > > close. > > > > Thanks! I know. In fact,

define_expand

2006-08-15 Thread Michael Eager
I'm having trouble understanding part of the machine description for PowerPC floating point operations. There are a number of places where there are pairs of templates, one with define_expand, the other with define_insn or define_insn_and_split. For example, the fp negate templates: (define_exp

Re: define_expand

2006-08-15 Thread Daniel Jacobowitz
On Tue, Aug 15, 2006 at 10:52:01AM -0700, Michael Eager wrote: > (define_expand "negsf2" > [(set (match_operand:SF 0 "gpc_reg_operand" "") > (neg:SF (match_operand:SF 1 "gpc_reg_operand" "")))] > "TARGET_HARD_FLOAT" > "") > I've read the docs (sect 13.15) which describe define_expand,

Re: [C frontend] Wtraditional / Wconversion and decimal float

2006-08-15 Thread Manuel López-Ibáñez
On 14/08/06, Manuel López-Ibáñez <[EMAIL PROTECTED]> wrote: Does this mean that I should remove the corresponding code from gcc/c-typeck.c:convert_arguments() and also remove gcc.dg/dfp/Wconversion-2.c ? add also the testcase gcc.dg/dfp/wtr-conversion-1.c to the list.

Re: does gcc support multiple sizes, or not?

2006-08-15 Thread DJ Delorie
> I think having pointers be the same size is ingrained in the whole > compiler, not just the front ends. Having *implicit* pointers be *a specific* size certainly is. Made the m32c project a lot harder. There's a lot of places that use POINTER_SIZE instead of MODE_SIZE(x), or Pmode instead of

Re: does gcc support multiple sizes, or not?

2006-08-15 Thread DJ Delorie
> I'm not sure if I understand. In ISO C++, it would be fine for "char *" > to have more bits than all other pointers. The standard says X* -> Y* > -> X* is value-preserving if Y has no stricter alignment than X. Since > "char" has weak alignment requirements, Y can be "char". Is that what > y

RE: GCC 3.4.5 has been released

2006-08-15 Thread nainjeet
Is this version for windows or linux? Gabriel Dos Reis <[EMAIL PROTECTED]> wrote: > >I'm pleased to announce that GCC 3.4.5 has been released. > >   This version is a minor release, from the 3.4.x series, fixing >regressions with respect to previous versions of GCC.  It can be >downloaded from th

Re: GCC 3.4.5 has been released

2006-08-15 Thread Andrew Pinski
> All the above and more. It is a source release of GCC. -- Pinski

incorrect semantics of 'using'

2006-08-15 Thread Alexey Starovoytov
Hi, for the following test case: struct A { virtual int x () {return 1;} }; struct B: A { virtual int x () {return 0;} }; struct C: B{ using A::x; }; int main() { C c; return c.x(); } all g++ 4.x will return 1 It seems C++ standard would want to see 0. Using-declaration introduces t

Re: building gcc 4.1.1 on HP-UX 10.20

2006-08-15 Thread John David Anglin
> > Bug reports should be filed for these two problems. Do you have > > PHCO_20721 and PHCO_26158 installed? Locale might the behavior > > of awk in generating options.h. > > I have PHCO_20721 installed, but not PHCO_26158. And I just wasted > about a half hour of my life trying to *find* it.

Wannabe Contributor: Questions related to Dev Box setup and other issues

2006-08-15 Thread Mahafuzur Rahaman
Hi, I guess will refer me to read the web site. While I am doing that, I am not clear about my issue. It goes.. I want to contribute to GCC dev and I will start at basic projects for beginners. While I am setting up my dev box for GCC work, I want to know? 1) Any advise on selecting Linux distr

Re: Wannabe Contributor: Questions related to Dev Box setup and other issues

2006-08-15 Thread Mike Stump
On Aug 15, 2006, at 6:11 PM, Mahafuzur Rahaman wrote: 1) Any advise on selecting Linux distro? This is akin to asking ones religion. :-) We generally don't push religion around here... gnu.misc.discuss would be the usual place to discuss religious questions. Just select one and follow i

Re: Wannabe Contributor: Questions related to Dev Box setup and other issues

2006-08-15 Thread DJ Delorie
> 1) Any advise on selecting Linux distro? Any one will do. Or Windows, MS-DOS, AIX, IRIX, Solaris, Mac OS/X, or any other platform GCC runs on. Use whatever you're comfortable with.

Re: GCC 3.4.5 has been released

2006-08-15 Thread Gabriel Dos Reis
[EMAIL PROTECTED] writes: | Is this version for windows or linux? this is not a binary release; it is source release. -- Gaby

Wannabe Contributor: My plan + Need guidance

2006-08-15 Thread Mahafuzur Rahaman
Thanks DJ & Mike for your quick replies. This is to summarise my plan so that others can guide/help me. Considering that GCC has no garbage code (Right? Mike!) I would like to rephrase my task as removing dead code, unwanted code, any fat that we can get rid of from the source tree .. [Somebody

Re: Wannabe Contributor: Questions related to Dev Box setup and other issues

2006-08-15 Thread Randy.Dunlap
On Tue, 15 Aug 2006, Mike Stump wrote: > On Aug 15, 2006, at 6:11 PM, Mahafuzur Rahaman wrote: > > 1) Any advise on selecting Linux distro? > > This is akin to asking ones religion. :-) We generally don't push > religion around here... gnu.misc.discuss would be the usual place to > discuss reli

Re: Wannabe Contributor: Questions related to Dev Box setup and other issues

2006-08-15 Thread Laurynas Biveinis
> 1) Any advise on selecting Linux distro? Any one will do. Or Windows, MS-DOS, AIX, IRIX, Solaris, Mac OS/X, or any other platform GCC runs on. Use whatever you're comfortable with. But note that on Windows (Cygwin) GCC testsuite runs several orders of magnitude slower than on Linux: it lite

Re: define_expand

2006-08-15 Thread Paolo Bonzini
(define_expand "negsf2" [(set (match_operand:SF 0 "gpc_reg_operand" "") (neg:SF (match_operand:SF 1 "gpc_reg_operand" "")))] "TARGET_HARD_FLOAT" "") (define_insn "*negsf2" [(set (match_operand:SF 0 "gpc_reg_operand" "=f") (neg:SF (match_operand:SF 1 "gpc_reg_operand" "f")))] "