Re: externs and thread local storage

2006-07-07 Thread Robert Dewar
Richard Henderson wrote: On Sun, Jul 02, 2006 at 12:23:34PM -0700, Gary Funck wrote: In my view, this is implementation-defined, and generally can vary depending upon the underlying linker and OS technology. Further, there is at least one known platform (IA64) which seems to not impose this res

Re: In which library is __register_frame_info defined??

2006-07-07 Thread Mike Stump
On Jul 7, 2006, at 7:14 AM, jacob navia wrote: Where is the library I should link with? nm libgcc_eh.a | grep register_frame 00e4 T ___register_frame_info It is automatically linked with. I think you probably have the wrong number of _ at the front, try removing one. After that, try nm

Re: Visibility and C++ Classes/Templates

2006-07-07 Thread Mark Mitchell
Jason Merrill wrote: > Hmm, I'm starting to be convinced that ignoring #pragma visibility for > all template instantiations and specializations will be a simpler rule > for users to understand. I think I argued for that earlier; in any case, I agree. -- Mark Mitchell CodeSourcery [EMAIL PROTECTE

Re: [PATCH] config/arm/arm.c: Use GOT instead of GOTOFF when XIP

2006-07-07 Thread Shaun Jackman
Any comments on this patch? This patch, or something like it, is absolutely necessary to support execute-in-place (XIP) on uClinux. Please cc me in your reply. Cheers, Shaun On 6/29/06, Shaun Jackman <[EMAIL PROTECTED]> wrote: This patch forces the use of GOT relocations instead of GOTOFF when

Re: request of copyright assignment form

2006-07-07 Thread Mike Stump
On Jul 7, 2006, at 5:33 PM, Gerald Pfeifer wrote: I believe I recall we were not supposed to have either, but you raise a good point. I will double check this with RMS, and if he agrees, I will make sure to add the questionnaire (and buy Mike a drink next time I meet him). I'd welcome them

Re: request of copyright assignment form

2006-07-07 Thread Gerald Pfeifer
On Fri, 7 Jul 2006, James E Wilson wrote: > I thought it was the actual legal forms that weren't supposed to be on > the web site, but that the questionnaire was OK. I believe I recall we were not supposed to have either, but you raise a good point. I will double check this with RMS, and if he ag

Re: request of copyright assignment form

2006-07-07 Thread Richard Kenner
> I thought it was the actual legal forms that weren't supposed to be on > the web site, but that the questionnaire was OK. The legal forms can't > be on the web site because too many people fill them out incorrectly, > wasting the FSF's time and money. The questionnaire on the other hand > is in

Re: externs and thread local storage

2006-07-07 Thread Richard Henderson
On Sun, Jul 02, 2006 at 12:23:34PM -0700, Gary Funck wrote: > In my view, this is implementation-defined, and generally can vary > depending upon the underlying linker and OS technology. Further, > there is at least one known platform (IA64) which seems to not impose > this restriction. You're ki

Re: GCC dejagnu testsuite: how to check for non-zero exit code?

2006-07-07 Thread Jim Wilson
FX Coudert wrote: I'd like to include cases in the gfortran testsuite to check that we correctly issue a run-time error, and exit with non-zero code. Try dg-error. There are lots of examples to look at in existing testcases, including in the gfortran.dg directory. -- Jim Wilson, GNU Tools Su

gcc-4.1-20060707 is now available

2006-07-07 Thread gccadmin
Snapshot gcc-4.1-20060707 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-20060707/ 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: request of copyright assignment form

2006-07-07 Thread James E Wilson
On Fri, 2006-07-07 at 13:38, Gerald Pfeifer wrote: > I'm afraid I have to ask you to remove this again. RMS explicitly > requested we do not provide this on our web pages, or I would have > added it years ago. I thought it was the actual legal forms that weren't supposed to be on the web site, b

Re: request of copyright assignment form

2006-07-07 Thread Mike Stump
On Jul 7, 2006, at 1:38 PM, Gerald Pfeifer wrote: I'm afraid I have to ask you to remove this again. Done.

Re: request of copyright assignment form

2006-07-07 Thread Gerald Pfeifer
On Fri, 7 Jul 2006, Mike Stump wrote: > On Jul 6, 2006, at 1:48 PM, Jim Wilson wrote: >> Please see the form in >> http://gcc.gnu.org/ml/gcc/2003-06/msg02298.html >> One of these days I will have to put this into the wiki. > Added: > > http://gcc.gnu.org/wiki/Copyright%20assignment > > Link t

Re: GCC dejagnu testsuite: how to check for non-zero exit code?

2006-07-07 Thread Mike Stump
On Jul 6, 2006, at 1:48 PM, FX Coudert wrote: I'd like to be able to check that this code indeed issue the error message on stderr and indicate to dejagnu that non-zero exit codes does not mean that the test FAILed). How can I do that? There are two strategies, first would be to write a driv

Re: request of copyright assignment form

2006-07-07 Thread Mike Stump
On Jul 6, 2006, at 1:48 PM, Jim Wilson wrote: Please see the form in http://gcc.gnu.org/ml/gcc/2003-06/msg02298.html One of these days I will have to put this into the wiki. Added: http://gcc.gnu.org/wiki/Copyright%20assignment Link to it added to: http://gcc.gnu.org/wiki/HomePage see

Re: replace_rtx

2006-07-07 Thread Ian Lance Taylor
Rajkishore Barik <[EMAIL PROTECTED]> writes: > I am doing some modification to gcc's RTL code. I am trying to split a > pseudo (old) into two pseudos (old and new) > and rewriting some part of the code to replace the "old" pseudo by the > "new" pseudo. I am using the "replace_rtx" function > to

Re: Different invariants about the contents of static links

2006-07-07 Thread Ian Lance Taylor
"Rodney M. Bates" <[EMAIL PROTECTED]> writes: > The following example C code and disassembly is compiled by gcc 3.4.3, > for i686. It uses two different invariants for what the value of > a static link is. Everywhere inside P, static link values are consistently > the same as base pointer (%ebp

Re: Addressing modes question

2006-07-07 Thread Rask Ingemann Lambertsen
On Thu, Jul 06, 2006 at 02:23:24PM -0700, Matt Lee wrote: > Hi, > > Is it possible for me to write a backend that accepts certain > addressing modes for loads, while rejecting them for stores? I am not > sure how to do this with the GO_IF_LEGITIMATE_ADDRESS macro. I know > that this is not very sa

Re: gcc 4.2 more strict check for "function called through a non-compatible type"

2006-07-07 Thread Gabriel Dos Reis
Yuri Pudgorodsky <[EMAIL PROTECTED]> writes: | Gabriel Dos Reis wrote: | > Yuri Pudgorodsky <[EMAIL PROTECTED]> writes: | > | > [...] | > | > | The result of calling function pointer casted to sufficiently different | > | type is | > | a real example an undefined behavior. | > | > As I said earlie

Re: gcc 4.2 more strict check for "function called through a non-compatible type"

2006-07-07 Thread Yuri Pudgorodsky
Gabriel Dos Reis wrote: > Yuri Pudgorodsky <[EMAIL PROTECTED]> writes: > > [...] > > | The result of calling function pointer casted to sufficiently different > | type is > | a real example an undefined behavior. > > As I said earlier, it is fruitless to try to impose an ordering on > the space of

Re: In which library is __register_frame_info defined??

2006-07-07 Thread Andrew Haley
jacob navia writes: > Hi > > I want to use the function > > __register_frame_info > > to dynamically register DWARF2 unwind frames. > > Where is the library I should link with?? > > Environment: linux 64 bits prefix/lib64/libgcc_s.so.1; but you shouldn't specify this library becau

In which library is __register_frame_info defined??

2006-07-07 Thread jacob navia
Hi I want to use the function __register_frame_info to dynamically register DWARF2 unwind frames. Where is the library I should link with?? Environment: linux 64 bits Thanks in advance Jacob P.S. I have posted some messages here before, concerning this problem. I had to do a long rewritin

Re: gcc 4.2 more strict check for "function called through a non-compatible type"

2006-07-07 Thread Gabriel Dos Reis
Yuri Pudgorodsky <[EMAIL PROTECTED]> writes: [...] | The result of calling function pointer casted to sufficiently different | type is | a real example an undefined behavior. As I said earlier, it is fruitless to try to impose an ordering on the space of undefined behaviour. -- Gaby

Re: gcc 4.2 more strict check for "function called through a non-compatible type"

2006-07-07 Thread Andrew Haley
Yuri Pudgorodsky writes: > > > We can say something like: > > > > "In GNU C, you may cast a function pointer of one type to a function > > pointer of another type. If you use a function pointer to call a > > function, and the dynamic type of the function pointed to by the > > function poin

Re: gcc 4.2 more strict check for "function called through a non-compatible type"

2006-07-07 Thread Yuri Pudgorodsky
> We can say something like: > > "In GNU C, you may cast a function pointer of one type to a function > pointer of another type. If you use a function pointer to call a > function, and the dynamic type of the function pointed to by the > function pointer is not the same as indicated by the static