Re: Tree node questions

2006-10-13 Thread Ian Lance Taylor
Brendon Costa <[EMAIL PROTECTED]> writes: > If I have a FUNCTION_DECL node that returns non-null for > DECL_TEMPLATE_INFO() then it is a template or template instantiation. > How can I tell if it is a full instantiation (I.e. not general > template or partial specialisation)? DECL_TEMPLATE_INSTAN

Re: Additional tree node questions.

2006-10-13 Thread Ian Lance Taylor
Brendon Costa <[EMAIL PROTECTED]> writes: > For each FUNCTION_DECL node I find, I want to determine what its > exception specification list is. I.e. the throws() statement in its > prototype. Look at TYPE_RAISES_EXCEPTIONS (FNDECL). Ian

Abt SIMD Emulation

2006-10-13 Thread Mohamed Shafi
Hello all, For targets which doesn't have simd hardware support like fr30 , simd stuff is emulated? Is there some flags/macros in gcc to indicate that? How is it done in other targets which deosnt have the hardware support? Thanks in advance Regards, Shafi.

Re: Compile time of Expression Templates in C++

2006-10-13 Thread Richard Guenther
On 10/10/06, Jochen Haerdtlein <[EMAIL PROTECTED]> wrote: Hello, I am a PhD student working on the extended use of expression templates for solving partial differential equations. Thus, I did a lot of studying of expression templates papers, articles and expression templates implementations.

gcc for mvs

2006-10-13 Thread Paul Edwards
GCC 3.2.3 has been built for MVS 3.8, MVS/XA, OS/390, Z/OS and VM/CMS. You can find the modified source and binaries here: http://www.softlib.org/GCCMVS/gccmvs.html Only the C compiler has been ported. BFN. Paul.

Migration of Cross Compiler from gcc 3.4.6 to gcc 4.1.1

2006-10-13 Thread Rohit Arul Raj
Hi all, I am upgrading my cross-compiler from 3.4.6 to 4.1.1. It has built successfully. But while running the test suites, one of the errors that i was getting was due to the below mentioned file 20020611-1.c /* PR target/6997. Missing (set_attr "cc" "none") in sleu pattern in cris.md.

GNAT, SJLJ and zero-cost exception handling

2006-10-13 Thread Ludovic Brenta
Hi, after reading [1] and [2] I'm a bit confused. I'd like to know how I should go about building GCC such that I can choose between SJLJ and ZCX at compile time, using --rts=sjlj. From [2] it looks like this is a configure-time option only. Is it necessary to configure gcc twice and produce two

[bugzilla] Remove libf2c component

2006-10-13 Thread François-Xavier Coudert
Hi all, I'm not sure whom to write about the workings of the GCC bugzilla database, so I'm writing here and CCing Daniel Berlin, since IIRC he handles part of that work. I think it would be nice (although not high priority) to remove the libf2c component in bugzilla, since we don't ship libf2c a

Fwd: Migration of Cross Compiler from gcc 3.4.6 to gcc 4.1.1

2006-10-13 Thread Rohit Arul Raj
Hi all, I am upgrading my cross-compiler from 3.4.6 to 4.1.1. It has built successfully. But while running the test suites, one of the errors that i was getting was due to the below mentioned file 20020611-1.c that too while optimizing for size Os. /* PR target/6997. Missing (set_attr "cc" "none

Wiki, documenting Tree SSA passes

2006-10-13 Thread Basile STARYNKEVITCH
Dear All, I am still a newbie on GCC! On the Wiki, http://gcc.gnu.org/wiki/MiddleEnd I am trying to document very briefly the passes on Gimple SSA trees I do know about the chapter 8.4 (Tree SSA passes) of the GCC internal documentation (but some of the passes are not listed there) I cannot ye

Re: Fwd: Migration of Cross Compiler from gcc 3.4.6 to gcc 4.1.1

2006-10-13 Thread Andrew Haley
Rohit Arul Raj writes: > Hi all, > I am upgrading my cross-compiler from 3.4.6 to 4.1.1. It has built > successfully. But while running the test suites, one of the errors > that i was getting was due to the below mentioned file > 20020611-1.c that too while optimizing for size Os. On what arc

Xlib problems, only with GCC 4.1.0

2006-10-13 Thread Marco Gubernati
Hi, I have a simple GUI application written with wxWidgetsGTK-2.6. Well, in practise there's one secondary thread that periodically updates a text control object: in terms of gtk api, it calls a gtk_text_buffer_insert, which, of course, doesn't request for an immediate repaint of the screen, but p

Re: Abt SIMD Emulation

2006-10-13 Thread Ian Lance Taylor
Mohamed Shafi <[EMAIL PROTECTED]> writes: This question is more appropriate for the gcc-help mailing list than for the gcc mailing list. > For targets which doesn't have simd hardware support like fr30 , simd stuff > is emulated? Yes, if you use __attribute__ ((vector_size (NN))) for a target

Re: Wiki, documenting Tree SSA passes

2006-10-13 Thread Ian Lance Taylor
Basile STARYNKEVITCH <[EMAIL PROTECTED]> writes: > On the Wiki, http://gcc.gnu.org/wiki/MiddleEnd I am trying to document very > briefly the passes on Gimple SSA trees Thanks! > I cannot yet submit patches to it (file gcc/doc/passes.texi) yet, because my > copyright assignement form takes some t

Re: Abt SIMD Emulation

2006-10-13 Thread Paolo Bonzini
For targets which doesn't have simd hardware support like fr30 , simd stuff is emulated? Is there some flags/macros in gcc to indicate that? To indicate what? I guess to indicate that the vector is emulated. The TYPE_MODE of the vector type, in that case, is BLKmode or an integer mode.

Re: Xlib problems, only with GCC 4.1.0

2006-10-13 Thread Joe Buck
On Fri, Oct 13, 2006 at 03:32:06PM +0200, Marco Gubernati wrote: > Well, my program works correctly if compiled, for example, with > gcc-3.3.5 (on SuSe and Debian) or gcc-3.4.3 (on Ubuntu). If compiled > with gcc-4.1.0 > (on the latest SuSe 10.1 release) (exactly the same code) the program > crashe

[PATCH] Relocated compiler should not look in $prefix.

2006-10-13 Thread Carlos O'Donell
A relocated compiler should not look in $prefix. A relocated compiler should never search the configured prefix for programs, libraries or start files. A relocated compiler searching for files in the configured prefix is troublesome. The configured prefix may contain a conflicting toolchain, or a

Re: abt compiler flags

2006-10-13 Thread Janis Johnson
On Thu, Oct 12, 2006 at 10:44:59PM -0700, Mohamed Shafi wrote: > Hello all, > > During regression tests if i want to disable some features like trampolines i > can give -DNO_TRAMPOLINES > as an compiler flag. By default, -DNO_TRAMPOLINES is set in testsuite/lib/gcc.exp if the DejaGnu target info

gcc.dg/cpp/_Pragma3.c seems broken...

2006-10-13 Thread David Daney
With svn r117549 bootstrapped on mipsel-none-linux-gnu: The test gcc.dg/cpp/_Pragma3.c basically checks whether _Pragma3.c is not younger than the file mi1c.h in the same directory. The test fails with excess errors if this is not the case: . . . Executing on host: /home/build/gcc-build/gcc/

Re: gcc.dg/cpp/_Pragma3.c seems broken...

2006-10-13 Thread Andrew Pinski
> > With svn r117549 bootstrapped on mipsel-none-linux-gnu: Usually people us gcc_update in contrib to update their sources which fixes this problem by touching the files which need to be touched. Thanks, Andrew Pinski

Re: Including GMP/MPFR in GCC repository?

2006-10-13 Thread Kaveh R. GHAZI
On Thu, 12 Oct 2006, DJ Delorie wrote: > > > Okay for stage1? > > Ok, assuming everyone agrees to those versions ;-) Great, thanks. I haven't heard anyone disagree with those versions, so unless someone objects before stage1 starts I'll use those. By the way, here is a more complete patch which

FW: How does GCC implement dynamic binding?

2006-10-13 Thread Lacefield, Greg \(CNS COE\)
Hello, We are using GCC 3.3.1 and have a requirement imposed upon us by our customer to "...establish that the C++ compiler implements dynamic binding by utilizing static lookup tables..." This implies the need for documentation on GCC's implementation of dynamic binding, which is typically ach

Re: GNAT, SJLJ and zero-cost exception handling

2006-10-13 Thread Eric Botcazou
> I'd like to know how I should go about building GCC such that I can choose > between SJLJ and ZCX at compile time, using --rts=sjlj. $srcdir/configure --enable-languages=ada --disable-libada make [bootstrap] make -C gcc gnatlib-sjlj make install in the $prefix/lib/gcc/$target/$version directory:

Re: FW: How does GCC implement dynamic binding?

2006-10-13 Thread Daniel Berlin
Given all this, I posed this question to the gcc mailing list and received a reply that directed me to the C++ ABI (http://codesourcery.com/cxx-abi/), which is more detailed and has the information I'm looking for. However, I need to confirm, in the case of an FAA audit, that GCC 3.3.1 implements

gcc-4.1-20061013 is now available

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

Re: FW: How does GCC implement dynamic binding?

2006-10-13 Thread Joe Buck
On Fri, Oct 13, 2006 at 03:24:08PM -0500, Lacefield, Greg (CNS COE) wrote: > However, I need to confirm, in the case of > an FAA audit, that GCC 3.3.1 implements dynamic binding in this fashion. > Can anyone on the steering committee "officially" confirm that GCC uses > static v-tables as described

Re: FW: How does GCC implement dynamic binding?

2006-10-13 Thread Michael Eager
Lacefield, Greg (CNS COE) wrote: We are using GCC 3.3.1 and have a requirement imposed upon us by our customer to "...establish that the C++ compiler implements dynamic binding by utilizing static lookup tables..." The short answer is "yes, GCC uses static lookup tables for dynamic binding".

Re: building gcc

2006-10-13 Thread Bob Rossi
On Thu, Oct 12, 2006 at 07:45:52AM -0700, Ian Lance Taylor wrote: > Bob Rossi <[EMAIL PROTECTED]> writes: > > > Hopefully I'll be able to debug gcc nicely after this is built. Two > > more questions that could save me a lot of time. Do you know where the > > abstract syntax tree is stored in GCC a

Re: FW: How does GCC implement dynamic binding?

2006-10-13 Thread David Daney
Michael Eager wrote: Lacefield, Greg (CNS COE) wrote: Given all this, I posed this question to the gcc mailing list and received a reply that directed me to the C++ ABI (http://codesourcery.com/cxx-abi/), which is more detailed and has the information I'm looking for. However, I need to confir

Re: building gcc

2006-10-13 Thread Brendon Costa
Bob Rossi wrote: > Hi Ian, > > Basically, I want to use GCC with C,C++. I want to walk a tree that GCC > creates for the translation units. I would like to know if for these two > languages if I should use a language dependent tree, the generic tree or > the gimple tree. In general, I would like to

Re: Abt SIMD Emulation

2006-10-13 Thread Mohamed Shafi
First thanks for the reply. I want to know what can be done in the back end of a target to indicate that SIMD stuff should be emulated all the way. __attribute__ ((vector_size (NN))) is something that can be done in programs. Is there any target macros or hooks available for that. Will the targ