Re: [gnu.org #220291] Copyright assignment

2007-06-25 Thread François-Xavier Coudert
Hello, It too is possible that you have completed your assignment process with the FSF, but have yet to be removed from the list of outstanding assignments. If this is the case please let me know so that I can update the record. This is the case: I have had a copyright assignment on file for a

How to use GCC testsuite..?

2007-06-25 Thread Venkatesan Jeevanandam
Hi, I have been given a set of cross-compiler binaries (like arch-gcc, arch-as, arch-ld, arch-ar, arch-gdb, etc.,). How can i test "arch-gcc" cross-compiler binary using GCC testsuite ? i have downloaded and extracted gcc-testsuite.x.y.tar.gz. I have also installed dejagnu, TCL and expect for te

Re: old intentional gcc bug?

2007-06-25 Thread Paolo Bonzini
The differences you are seeing now are likely caused by differences in autoconf configuration for the case of GCC compiler versus non-GCC compiler. One of the results of toplevel bootstrap is to eliminate these differences in autoconf configuration. Paolo

gcc-4.1-20070625 is now available

2007-06-25 Thread gccadmin
Snapshot gcc-4.1-20070625 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-20070625/ 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: [gnu.org #220291] Copyright assignment

2007-06-25 Thread Mike Stump via RT
On Jun 25, 2007, at 3:31 PM, Hui-May Chang via RT wrote: > I thought I have completed it earlier. Can you check for me? Thanks! Don't worry, they just spammed the entire list with a seemingly off- list issue I think they just meant to ping Francois.

Re: [gnu.org #220291] Copyright assignment

2007-06-25 Thread Mike Stump via RT
On Jun 25, 2007, at 3:31 PM, Hui-May Chang via RT wrote: > I thought I have completed it earlier. Can you check for me? Thanks! Don't worry, they just spammed the entire list with a seemingly off- list issue I think they just meant to ping Francois.

Re: [gnu.org #220291] Copyright assignment

2007-06-25 Thread Mike Stump
On Jun 25, 2007, at 3:31 PM, Hui-May Chang via RT wrote: I thought I have completed it earlier. Can you check for me? Thanks! Don't worry, they just spammed the entire list with a seemingly off- list issue I think they just meant to ping Francois.

Re: [gnu.org #220291] Copyright assignment

2007-06-25 Thread Hui-May Chang via RT
I thought I have completed it earlier. Can you check for me? Thanks! Hui-May Chang On Jun 25, 2007, at 3:14 PM, Jonas Jacobson via RT wrote: > Hello, > > This email is to follow up on your communication with the Free > Software > Foundation. Previously, you had expressed interest in contributin

[gnu.org #220291] Copyright assignment

2007-06-25 Thread Jonas Jacobson via RT
Hello, This email is to follow up on your communication with the Free Software Foundation. Previously, you had expressed interest in contributing to the GNU Project. If this is still the case please respond so that we can move the process along. If you did not receive the assignment please let us

Re: Suffix for __float128 FP constants

2007-06-25 Thread H. J. Lu
On Mon, Jun 18, 2007 at 02:08:15PM -0700, H. J. Lu wrote: > On Mon, Jun 18, 2007 at 11:10:43AM -0700, Steve Ellcey wrote: > > > BTW: IA64 has the same issues with two FP types (long double XFmode and > > > "longer double" TFmode). How is this solved for IA64? > > > > > > Uros. > > > > This is di

Re: old intentional gcc bug?

2007-06-25 Thread Mike Stump
On Jun 25, 2007, at 10:59 AM, Eric Botcazou wrote: Probably. But, as Mike told me privately, STABS are sensitive to the build directory, so I tried again and got identical executables byte-for- byte: Cool. Glad you could verify them on a byte for byte basis. This helps keep your compiler

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread David Edelsohn
> Jakub Jelinek writes: Jakub> I guess the right thing to do would be to replace the current Jakub> 3 uses of SYMBOL_REF_LOCAL_P (x) macro in config/rs6000/*.md Jakub> with Jakub> SYMBOL_REF_LOCAL_P (x) && (!TARGET_ARCH64 || !SYMBOL_REF_EXTERNAL_P (x)) Jakub> where TARGET_ARCH64 is replaced b

Re: old intentional gcc bug?

2007-06-25 Thread Eric Botcazou
> Still, if you use these two bootstrapped, slightly different compilers > as base for a fresh bootstrap in a new build directory, you'll likely > get identical results and that would still prove that there is no > self-propagating back door in GCC on that configuration. Probably. But, as Mike to

Re: GCC vs. Open64

2007-06-25 Thread Jiahua He
2007/6/25, Basile STARYNKEVITCH <[EMAIL PROTECTED]>: Jiahua He wrote: > Hi All, > > I am looking for an open source compiler, such as GCC, Open64, Scale > and SUIF, as the infrastructure of my research. Though I have read > some of their documents, they are still complicate to me and it is > diff

Re: GCC vs. Open64

2007-06-25 Thread Basile STARYNKEVITCH
Jiahua He wrote: Hi All, I am looking for an open source compiler, such as GCC, Open64, Scale and SUIF, as the infrastructure of my research. Though I have read some of their documents, they are still complicate to me and it is difficult to decide which one is better. Can you please help me to c

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread Jakub Jelinek
On Mon, Jun 25, 2007 at 12:48:10PM -0400, Mark Mitchell wrote: > I was suggesting leaving the hook alone, but modifying the test for the > sibling call optimization in rs6000_function_ok_for_sibcall to: > > !DECL_EXTERNAL (decl) && binds_local_p (decl) > > In other words, per Jakub's argument,

GCC vs. Open64

2007-06-25 Thread Jiahua He
Hi All, I am looking for an open source compiler, such as GCC, Open64, Scale and SUIF, as the infrastructure of my research. Though I have read some of their documents, they are still complicate to me and it is difficult to decide which one is better. Can you please help me to compare these compi

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread Mark Mitchell
David Edelsohn wrote: >> Mark Mitchell writes: > > Mark> Good point -- if there's no definition in the current translation unit, > Mark> then I guess we aren't going to make any bad assumptions about the > Mark> contents of the function. So, I guess that just means that the Power > Mark> back

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread David Edelsohn
> Mark Mitchell writes: Mark> Good point -- if there's no definition in the current translation unit, Mark> then I guess we aren't going to make any bad assumptions about the Mark> contents of the function. So, I guess that just means that the Power Mark> back end needs to check for !DECL_EXT

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread Mark Mitchell
Jakub Jelinek wrote: > For replacability the current definition is just fine. Weak functions > must be assumed to be always replaceable and non-weak functions which are > known to bind within the same executable resp. shared library are not > replaceable - linker will issue error if two non-weak

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread Jakub Jelinek
On Mon, Jun 25, 2007 at 10:15:55AM -0400, Mark Mitchell wrote: > Daniel Jacobowitz wrote: > > >> I think the DECL_EXTERNAL case should go before the visibility checks in > >> default_binds_local_p_1. A DECL_EXTERNAL entity never binds locally. > > > > That isn't the meaning that most callers of

Re: old intentional gcc bug?

2007-06-25 Thread Geert Bosch
On Jun 24, 2007, at 16:20, Eric Botcazou wrote: Indeed. It would be interesting to confirm whether or not a copy of gcc bootstrapped with a non-gcc compiler matched byte-for-byte with a copy of gcc bootstrapped from gcc. I just made the experiment on an old SPARC/Solaris 2.5.1 machine a

m68k compound instructions

2007-06-25 Thread Maxim Kuvyrkov
Hello Andreas, Hello Jeff, I have recently started on implementing processor pipeline model for m68k target. At this point I am trying to figure out the best way of annotating instructions in m68k.md, so that appropriate cpu unit reservations could be assigned to each one of them. The probl

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread Mark Mitchell
Daniel Jacobowitz wrote: >> I think the DECL_EXTERNAL case should go before the visibility checks in >> default_binds_local_p_1. A DECL_EXTERNAL entity never binds locally. > > That isn't the meaning that most callers of this function want, > however. They want same shared object, which is what

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread Alan Modra
On Mon, Jun 25, 2007 at 07:06:01AM -0400, Jakub Jelinek wrote: > Hi! > > extern void bar (void) __attribute__((visibility ("hidden"))); > void foo (void) > { > bar (); > bar (); > } > compiled on ppc64-linux with -O2 -m64 -mminimal-toc > leads to bl bar without nop in the following instruction

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread Daniel Jacobowitz
On Mon, Jun 25, 2007 at 09:31:14AM -0400, Mark Mitchell wrote: > David Edelsohn wrote: > > > /* If defined in this object and visibility is not default, must be > > local. */ > > else if (DECL_VISIBILITY (exp) != VISIBILITY_DEFAULT) > > local_p = true; > > > > Why does binds_local_p

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread David Edelsohn
> Mark Mitchell writes: Mark> I think the DECL_EXTERNAL case should go before the visibility checks in Mark> default_binds_local_p_1. A DECL_EXTERNAL entity never binds locally. Jakub, Do you want to follow up with a patch to change the ordering of tests in default_binds_local_p_1()

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread Mark Mitchell
David Edelsohn wrote: > /* If defined in this object and visibility is not default, must be > local. */ > else if (DECL_VISIBILITY (exp) != VISIBILITY_DEFAULT) > local_p = true; > > Why does binds_local_p return true for non-default visibility? I was just about to ask that. It's a

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread Jakub Jelinek
On Mon, Jun 25, 2007 at 09:15:40AM -0400, David Edelsohn wrote: > Emitting a NOP depends on SYMBOL_FLAG_LOCAL. > >if (targetm.binds_local_p (decl)) > flags |= SYMBOL_FLAG_LOCAL; > > PPC64 uses the default binds_local_p() hook, default_binds_local_p_1(): > > /* If defined in this

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread David Edelsohn
Emitting a NOP depends on SYMBOL_FLAG_LOCAL. if (targetm.binds_local_p (decl)) flags |= SYMBOL_FLAG_LOCAL; PPC64 uses the default binds_local_p() hook, default_binds_local_p_1(): /* If defined in this object and visibility is not default, must be local. */ else if (DECL

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread David Edelsohn
> Mark Mitchell writes: Mark> That would be my recommendation: limit optimizations that require a Mark> short branch to calls to functions in the same translation unit, not Mark> just in the same shared object. But, that's just my two cents; the Mark> Power maintainers might have a different

Re: relation between gcc/glibc version and linux kernel version??

2007-06-25 Thread Tim Prince
[EMAIL PROTECTED] wrote: Hi For example i hear that native posix threads has portions of it implemented in kernel and also requires glibc support. In such cases if i attempt to run an application compiled with gcc-4 on a linux-2.4 kernel, wont there be problems?? With changes in binutils, would

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread Mark Mitchell
Jakub Jelinek wrote: > Hi! > > extern void bar (void) __attribute__((visibility ("hidden"))); > void foo (void) > { > bar (); > bar (); > } > compiled on ppc64-linux with -O2 -m64 -mminimal-toc > leads to bl bar without nop in the following instruction > and to sibling call. > Shouldn't -mmin

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread Jakub Jelinek
On Mon, Jun 25, 2007 at 07:32:48AM -0400, David Edelsohn wrote: > > Jakub Jelinek writes: > > Jakub> compiled on ppc64-linux with -O2 -m64 -mminimal-toc > Jakub> leads to bl bar without nop in the following instruction > Jakub> and to sibling call. > Jakub> Now, when this together with bar's d

Re: Some thoughts about steerring commitee work

2007-06-25 Thread Mircea Namolaru
> As for C++, I think we need more OO language specific > optimizations. I don't know what the status of > devirtualizion which was reported on the previous > summit. Sorry for the late replay. The devirtualization is on hold. Currently GCC is lacking the necessary infrastructure needed by C

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread Andrew Pinski
On 6/25/07, David Edelsohn <[EMAIL PROTECTED]> wrote: Just out of curiosity, are you using a version of GCC with or without the section anchor support? Is the application still overrunning the TOC with sectcion anchors? I have access to programs that overflow the TOC even with section

Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread David Edelsohn
> Jakub Jelinek writes: Jakub> compiled on ppc64-linux with -O2 -m64 -mminimal-toc Jakub> leads to bl bar without nop in the following instruction Jakub> and to sibling call. Jakub> Now, when this together with bar's definition is linked Jakub> into a big binary and foo and bar need to have di

ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs

2007-06-25 Thread Jakub Jelinek
Hi! extern void bar (void) __attribute__((visibility ("hidden"))); void foo (void) { bar (); bar (); } compiled on ppc64-linux with -O2 -m64 -mminimal-toc leads to bl bar without nop in the following instruction and to sibling call. Now, when this together with bar's definition is linked into

Re: relation between gcc/glibc version and linux kernel version??

2007-06-25 Thread ganesh subramonian
Hi For example i hear that native posix threads has portions of it implemented in kernel and also requires glibc support. In such cases if i attempt to run an application compiled with gcc-4 on a linux-2.4 kernel, wont there be problems?? With changes in binutils, would there be changes in the ba