Re: Bootstrap broken on ppc-darwin

2006-07-16 Thread Andrew Pinski
On Jul 15, 2006, at 11:54 PM, Eric Botcazou wrote: /tmp/ccK4i3re.s:5107:FATAL:Symbol LFBB43 already defined. Same breakage on SPARC/Solaris 2.[56] and Alpha/Tru64. More information about this breakage. The symbol is defined for std::ostrstream::~ostrstream() and the virtual trunk to that f

Re: Bootstrap broken on ppc-darwin

2006-07-16 Thread Andrew Pinski
On Jul 16, 2006, at 4:16 PM, Andrew Pinski wrote: I am trying to reduce a testcase right now. And here is a reduced testcase: struct basic_ios { virtual ~basic_ios() { } }; class istrstream : virtual public basic_ios { virtual ~istrstream(); }; istrstream::~istrstream() { } -- Pinski

Re: -mno-80387 and MMX autovectorisation

2006-07-16 Thread Rask Ingemann Lambertsen
On Thu, Jun 08, 2006 at 08:50:13AM -0700, Andrew Pinski wrote: > > On Jun 7, 2006, at 11:13 PM, Uros Bizjak wrote: > > >Hello! > > > >Current mainline gcc can efficiently disable x87 instruction when > >-mno-80387 switch is used. In this case, MMX registers can be used for > >the autovectorisatio

Re: Bootstrap broken on ppc-darwin

2006-07-16 Thread Andrew Pinski
On Jul 16, 2006, at 5:19 PM, Andrew Pinski wrote: And here is a reduced testcase: struct basic_ios { virtual ~basic_ios() { } }; class istrstream : virtual public basic_ios { virtual ~istrstream(); }; istrstream::~istrstream() { } Debugging shows this was definitely caused by the stabs ch

where is the gcc wiki?

2006-07-16 Thread Joern RENNECKE
Clicking on the Wiki link of the gcc home page, I get: Not Found The requested URL /wiki was not found on this server. Apache/2.0.52 (Red Hat) Server at gcc.gnu.org Port 80

Re: where is the gcc wiki?

2006-07-16 Thread Andrew Pinski
On Jul 17, 2006, at 12:17 AM, Joern RENNECKE wrote: Clicking on the Wiki link of the gcc home page, I get: Did you not read Daniel's email: http://gcc.gnu.org/ml/gcc/2006-07/msg00227.html -- Pinski

Re: where is the gcc wiki?

2006-07-16 Thread Paolo Carlini
http://gcc.gnu.org/ml/gcc/2006-07/msg00227.html ? Paolo.

Re: where is the gcc wiki?

2006-07-16 Thread Joern RENNECKE
Andrew Pinski wrote: On Jul 17, 2006, at 12:17 AM, Joern RENNECKE wrote: Clicking on the Wiki link of the gcc home page, I get: Did you not read Daniel's email: http://gcc.gnu.org/ml/gcc/2006-07/msg00227.html Oops, I wasn't aware this was still on-going and affects simple read access to

Re: A correction: Different invariants about the contents of static links]

2006-07-16 Thread Ian Lance Taylor
"Rodney M. Bates" <[EMAIL PROTECTED]> writes: > OK, Thanks for the information. Just in case, does anybody already > have it in their head roughly where in gcc code this decision is made? tree-nested.c Ian

Re: Question of the LOG_LINKS field

2006-07-16 Thread Ian Lance Taylor
"Ling-hua Tseng" <[EMAIL PROTECTED]> writes: > The algorithm is highly dependent on the information of LOG_LINKS(insn). > But I found that there are not any dependecy info for `reload instructions' > because the register allocation pass and reloading pass are peformed after > the first insn schedu

ld -shared -Bsymbolic and C++ shared library

2006-07-16 Thread H. J. Lu
ld -shared -Bsymbolic will reduce number of dynamic relocations in a shared library. Unfortunately, it won't work correctly with C++ exception and maybe other language features. However, I think it is possible to make -shared -Bsymbolic to work for C++ by providing a way to specify a list of symbo

local data flow

2006-07-16 Thread Joern RENNECKE
I 've been looking at the problem of converting the struct-equiv code to use DEF-USE chains instead of global dataflow information, but I have hit a snag. We can find local registers as being registers that are defined somewhere in the examined (partial) block, and have all their uses within the

g77 problem for octave

2006-07-16 Thread tyapici
Dear Sir/Madame, I have switched my OS to SuSE Linux 10.1 and for a while trying to install "Octave" to my computer. Unfortunately, the error message below is the only thing that i got. Installing octave-2.1.64-3.i586[L

Re: LTO and Code Compaction \ Reverse Inlining \ Procedure Abstraction?

2006-07-16 Thread Joern RENNECKE
In http://gcc.gnu.org/ml/gcc/2006-07/msg00362.html, you wrote: Are there any ideas on how and where to add a target and language independent code compaction pass into gcc? I think first you should be more specific about what you are trying to do. DO you only want to match essentially identical

Re: local data flow

2006-07-16 Thread Kenneth Zadeck
Joern RENNECKE wrote: > I 've been looking at the problem of converting the struct-equiv code > to use DEF-USE chains > instead of global dataflow information, but I have hit a snag. > We can find local registers as being registers that are defined > somewhere in the examined (partial) block, > and

Re: where is the gcc wiki?

2006-07-16 Thread Daniel Berlin
Paolo Carlini wrote: > http://gcc.gnu.org/ml/gcc/2006-07/msg00227.html > > ? > > Paolo. The new wiki is actually up, i'm just slowing editing the pages that were really badly converted. I'll move it back on monday, and let everyone else at the rest of them :) it's http://gcc.gnu.org/testwi

Re: where is the gcc wiki?

2006-07-16 Thread Bobby
Joern RENNECKE wrote: Clicking on the Wiki link of the gcc home page, I get: Not Found The requested URL /wiki was not found on this server. Apache/2.0.52 (Red Hat) Server at gcc.gnu.org Port 80 Daniel is working o

Re: local data flow

2006-07-16 Thread Joern RENNECKE
Kenneth Zadeck wrote: you can have def-use chains, you can have use-def chains or you can have both. It seems like what you are asking for are use-def chains, No, I want to know if there exists a path from the current *use* of a register to some other *use* of the same register without goi

Are 8-byte ints guaranteed?

2006-07-16 Thread Thomas Koenig
Hello world, are there any platforms where gcc doesn't support 8-byte ints? Can a front end depend on this? This would make life easier for Fortran, for example, because we could use INTEGER(KIND=8) for a lot of interfaces without having to bother with checks for the presence of KIND=8 integers.

Re: local data flow

2006-07-16 Thread Kenneth Zadeck
Joern RENNECKE wrote: > Kenneth Zadeck wrote: > >> >> >> you can have def-use chains, you can have use-def chains or you can have >> both. >> It seems like what you are asking for are use-def chains, >> > No, I want to know if there exists a path from the current *use* of a > register to > some o

Re: local data flow

2006-07-16 Thread Joern RENNECKE
Kenneth Zadeck wrote: The right way to do this is not to build chains but to define your own dataflow problem to do this. But wouldn't I need to update the problem solution every time a change a bit of the program - which would be much more costly then doing a local update of some local

Re: Are 8-byte ints guaranteed?

2006-07-16 Thread Joern RENNECKE
are there any platforms where gcc doesn't support 8-byte ints? Can a front end depend on this? The rtl expander can open-code long long using a datatype with half the size if no patterns are defined in the md file. There are some processors where code using all long long operations would not fi

Re: Are 8-byte ints guaranteed?

2006-07-16 Thread Tim Prince
Thomas Koenig wrote: Hello world, are there any platforms where gcc doesn't support 8-byte ints? Can a front end depend on this? This would make life easier for Fortran, for example, because we could use INTEGER(KIND=8) for a lot of interfaces without having to bother with checks for the presen

Re: g77 problem for octave

2006-07-16 Thread Tim Prince
[EMAIL PROTECTED] wrote: Dear Sir/Madame, I have switched my OS to SuSE Linux 10.1 and for a while trying to install "Octave" to my computer. Unfortunately, the error message below is the only thing that i got. Install

Re: g77 problem for octave

2006-07-16 Thread Steven Bosscher
On 7/16/06, Tim Prince <[EMAIL PROTECTED]> wrote: > On my computer, the installed version of gcc is 4.1.0-25 and i could not > find any compatible version of g77 to install. For the installation of > octave, i need exactly gcc-g77 not gcc-fortran. (...) If you are so interested in using g77 rat

Re: local data flow

2006-07-16 Thread Kenneth Zadeck
Joern RENNECKE wrote: > Kenneth Zadeck wrote: > >> >> >> The right way to do this is not to build chains but to define your own >> dataflow problem to do this. >> > But wouldn't I need to update the problem solution every time a change > a bit of the > program - which would be much more costly

Re: Bootstrap broken on ppc-darwin

2006-07-16 Thread Ian Lance Taylor
Andrew Pinski <[EMAIL PROTECTED]> writes: > Here we have the same scope_labelno. The first dbxout_begin_prologue > comes from calling rs6000_output_mi_thunk. The normal way > scope_labelno gets incremented is via the > call to debug_hooks->function_decl in rest_of_handle_final which is > not don

Re: LTO and Code Compaction \ Reverse Inlining \ Procedure Abstraction?

2006-07-16 Thread Mark Mitchell
Miguel Angel wrote: > Hello! > > I have a VERY simple example: > int f1 (int i) {i = (i-7)/9+3; return i;} > int f2 (int i) {i = (i-7)/9+3; return i;} > > It could be reduced to: > int f1 (int i) {i = (i-7)/9+3; return i;} > int f2 (int i) {return f1 (i);} > > > Are there any ideas on how and w

Re: [lto] factor code common to all builtin_function

2006-07-16 Thread Mark Mitchell
Rafael EspĂ­ndola wrote: > I have a patch that factors code common to all builtin_function > implementations. It is approved for trunk when we get to stage1. > > Are the developers involved in the lto branch interested in this > patch? If so, I can port it. Thanks for the offer! Yes, I think that

GCC 4.2 Status Report (2006-07-16)

2006-07-16 Thread Mark Mitchell
At present, we have 160 serious regressions open against mainline (which will become 4.2). (I've downgraded many of Volker's reports about ICEs after valid error messages to P4, following Jason's recommendation. Upon reflection, I think that's the right thing to do; although robust error recovery

Re: local data flow

2006-07-16 Thread Joern Rennecke
In http://gcc.gnu.org/ml/gcc/2006-07/msg00390.html, you write: > depending on what you are doing, you can update the solution in place. > The point of the dataflow talk was not to say that you cannot do > anything incremental, it was to say that there are no good GENERAL > techniques. Many times i

a question about code instrumentation in RTL level

2006-07-16 Thread sean yang
The GCC internals explicitly introduced code manipulation APIs in TREE representation (bsi_insert_before, bsi_remove etc). But I did not see the equivalent for RTL representation. Say, I want to enable a counter for a n-depth-nested loop. For example, I want to add a counter instruction to cou