Re: gfortran testsuite failures with 4.3.0 on powerpc64-apple-darwin8.8.0

2006-12-07 Thread Eric Christopher
make -k -j 8 check >& check.log ; make mail-report-with-warnings.log I got results that appear not much different from the powerpc-apple- darwin8.8.0 (i.e., 32-bit) results: http://gcc.gnu.org/ml/gcc-testresults/2006-12/msg00267.html i.e., these results don't show a particular fortran proble

Re: Interface for manipulating the abstract syntax tree

2006-12-07 Thread Revital1 Eres
> /* below I pass a the tree of the current_function_decl a global > variable in tree.h */ > this_cfun = DECL_STRUCT_FUNCTION(current_function_decl); > FOR_EACH_BB_FN(bb, this_cfun) /* Crashes here, Also tried with > FOR_EACH_BB */ > for (bsi = bsi_start(bb); !bsi_end_p(bsi); b

Re: Interface for manipulating the abstract syntax tree

2006-12-07 Thread Ferad Zyulkyarov
Hi Revital, Because of doing copy, paste I forgot to delete one line from the CASE 1 example: Instead: > /* below I pass a the tree of the current_function_decl a global > variable in tree.h */ > this_cfun = DECL_STRUCT_FUNCTION(current_function_decl); > FOR_EACH_BB_FN(bb, this_cfu

Re: Interface for manipulating the abstract syntax tree

2006-12-07 Thread Revital1 Eres
> > And the code crashes at the macro FOR_EACH_BB_FN.. This is exatly as > it is implemented in cgraph_create_edges() function.. but I think that > the problem is because I call it at wrong time (too early, or too late > - before or after parsing).. Could it be? Yes. You can start by calling it

Re: Interface for manipulating the abstract syntax tree

2006-12-07 Thread Ferad Zyulkyarov
Hi again, Yes. You can start by calling it in the same place cgraph_create_edges () is been called. (cgraph_analyze_function ()) To be able to do that, probably I will need to register a new token (i.e. MY_PRAGMA_TOKEN) and build a node of this token within the pragma handler (in c-pragma.c).

Re: compile time testsuite [Re: alias slowdown?]

2006-12-07 Thread Richard Guenther
On 12/3/06, Gerald Pfeifer <[EMAIL PROTECTED]> wrote: Hi Richie, On Tue, 21 Nov 2006, Richard Guenther wrote: > Public monitoring would be more useful. If you have working single-file > testcases that you want be monitored for compile-time and memory-usage > just contact me and I can add them t

Understanding some EXPR nodes.

2006-12-07 Thread Brendon Costa
Hi All, I am trying to understand certain EXPR nodes, when they are generated and how code generated from them behaves in the resulting program. The nodes that have me a little confused are: TRY_CATCH_EXPR TRY_FINALLY_EXPR MUST_NOT_THROW_EXPR EH_FILTER_EXPR Note: I have read the GCC Internals d

gcc-4.0-20061207 is now available

2006-12-07 Thread gccadmin
Snapshot gcc-4.0-20061207 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20061207/ 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

Re: Gfortran and using C99 cbrt for X ** (1./3.)

2006-12-07 Thread Toon Moene
Toon Moene wrote: I can measure the contribution of the cbrt effect in isolation, though (given the above change of HIRLAM source code). Well, the effect of the cbrt change (X ** (1./3.) -> cbrt(X)) is close to zero. Some other change must have diminished the number of pow[f] calls substan

Re: Understanding some EXPR nodes.

2006-12-07 Thread Ian Lance Taylor
Brendon Costa <[EMAIL PROTECTED]> writes: > The nodes that have me a little confused are: > > TRY_CATCH_EXPR > TRY_FINALLY_EXPR > MUST_NOT_THROW_EXPR > EH_FILTER_EXPR Yes, those are a bit mysterious. > TRY_CATCH_EXPR/TRY_FINALLY_EXPR > When code generated from these nodes encounter an exceptio

Re: Understanding some EXPR nodes.

2006-12-07 Thread Brendon Costa
Thanks for the reply. One thing that I didnt quite get... Ian Lance Taylor wrote: TRY_CATCH_EXPR/TRY_FINALLY_EXPR If operand 0 throws an exception, there is an implicit rethrow after executing operand 1. (Of course, operand 1 can prevent that rethrow by doing its own throw, or by callin

ELDK Cross complier hang

2006-12-07 Thread Rajasekaran Periyasamy
Hi, I am trying to build LMBench v3.0 with ELDK (Embedded Linux Development Kit) for ARM Linux cross compiler (GCC 4.1). For a particular file (lat_ops.c) in LMBench, the cross compiler hangs. It worked well with compiler version 3.3.2. I am using Fedora core 4, Intel P4 machine and my target is AR

Re: Understanding some EXPR nodes.

2006-12-07 Thread Ian Lance Taylor
Brendon Costa <[EMAIL PROTECTED]> writes: > >>TRY_CATCH_EXPR/TRY_FINALLY_EXPR > >> > >If operand 0 throws an exception, there is an implicit rethrow after > >executing operand 1. (Of course, operand 1 can prevent that rethrow > >by doing its own throw, or by calling a function which does not > >r

Re: gfortran testsuite failures with 4.3.0 on powerpc64-apple-darwin8.8.0

2006-12-07 Thread Andrew Pinski
On Wed, 2006-12-06 at 10:24 -0800, Steve Kargl wrote: > > > > I have reported no other bootstrap/regtests. So, depending on your > > meaning, perhaps there has never been a "last good bootstrap". > > > > Can you make testsuite/gfortran/gfortran.log available? > I suspect that this is yet anot

Re: messages in objective-C

2006-12-07 Thread Andrew Pinski
On Wed, 2006-12-06 at 17:19 +0100, Come Lonfils wrote: > Hi, > I'm trying to know more about how messages are send to the objects in > objective-C Messages are send via a dynamic lookup using strings. For the GNU runtime, objc_msg_lookup is called to get the function pointer and then we cast it to

Adding New Function Attributes

2006-12-07 Thread Rohit Arul Raj
Hi all, In case i have to support a new function attribute specifically for my target, 1. Do i have to modify the GCC source base like adding a new flag in tree_function_decl(tree.h), adding a new handler to set the flag in c-common.h. or can i do it from the backend itself. 2. Any documentatio