Status of SEE and Autovectorization patches?

2006-05-02 Thread Mark Mitchell
I'm trying to figure out whether we can get the SEE and Autovectorization improvements into 4.2. I'd like to get these changes in because they will deliver some noticeable improvements in performance, and because the submitters seem to have tried hard to get them included. Roger, I know that you

Re: Dynamically generated code and DWARF exception handling

2006-05-02 Thread Daniel Jacobowitz
On Tue, May 02, 2006 at 07:21:24PM -0700, Mike Stump wrote: > >Otherwise, would it be possible to generate the DWARF Tables and > >add those tables dynamically to the running program? > > Yes (could require OS changes). > > >Under windows, Microsoft provides an API for JITs that does exactly

Re: libiberty

2006-05-02 Thread Mike Stump
On May 2, 2006, at 6:08 AM, Bill Cunningham wrote: Everytime I compile gcc I see that libiberty is being compiled. Is this a needed library and if not how can I switch it off? I'm using glibc-2.1 and I'd like to figure out compiling 2.3 and I've done it before so I just have to remember

Re: Dynamically generated code and DWARF exception handling

2006-05-02 Thread Mike Stump
On May 2, 2006, at 4:23 AM, jacob navia wrote: To get to the corresponding catch, the runtime should skip through the intermediate frames in assembler generated by the JIT. We would like to know how should be the interface with gcc to do this. The C++ abi spec and dwarf specs are good backgr

Re: svn problems

2006-05-02 Thread Mike Stump
On May 2, 2006, at 6:38 PM, Andrew Pinski wrote: I even tried following your directions and it worked for me without conflicts. I had to replace 4:6 with 3:5 but other than that it worked. And this was with 1.3.0. Hum... :-( Thanks for the data point. Might just be me, with a codegen bug

Re: svn problems

2006-05-02 Thread Andrew Pinski
On May 2, 2006, at 6:34 PM, Mike Stump wrote: Also, with svn 1.4 dev (all i have on this machine) Cool, fixed in 1.4 dev. Now I'm curious if it is fixed in 1.3.x. I really want to update, but, the fortunes of a large company with lots of revenue are predicated on this stuff actually

Re: Summer of Code project discussion

2006-05-02 Thread Daniel Berlin
> I wrote a lot of the current zone collector. Before that, Daniel > Berlin did a lot of work on it. I really don't think I have time to > mentor an SoC project (Daniel, do you, maybe?), I do, in fact, have time to mentor such a project, and would be happy to mentor it if you submit it and it

Re: svn problems

2006-05-02 Thread Mike Stump
On May 2, 2006, at 6:05 PM, Daniel Berlin wrote: What happened to rev3? I did a svn mkdir brnaches && svn mv brnaches branches, but didn't want to fess up to it. Also, with svn 1.4 dev (all i have on this machine) Cool, fixed in 1.4 dev. Now I'm curious if it is fixed in 1.3.x. I rea

Re: exposing SH's fpscr support

2006-05-02 Thread DJ Delorie
> > __fpscr_values[0] &= off; > > __fpscr_values[0] |= on; > > __fpscr_values[1] &= off; > > __fpscr_values[1] |= on; > > Ok, I'll bite. Why are there two of them?! Well, this is the real reason why we need an API and not just a simple builtin. GCC uses that table of values to quickl

Re: Summer of Code project discussion

2006-05-02 Thread Daniel Jacobowitz
On Tue, May 02, 2006 at 09:07:19PM +0200, Laurynas Biveinis wrote: > Having that in mind, also because I actually like doing > infrastructural projects, cleaning up, speeding up things instead of > implementing new features, I think I have found a suitable area for my > project: garbage collection.

Re: svn problems

2006-05-02 Thread Daniel Berlin
> mrs $ svn ci . > Adding trunk/file1 > Transmitting file data . > Committed revision 2. > mrs $ svn cp file:///Volumes/mrs4/svn-repo/trunk file:///Volumes/mrs4/ > svn-repo/branches/rel > Committed revision 4. What happened to rev3? Also, with svn 1.4 dev (all i have on this machine), i

Re: FAIL: tmpdir-g++.dg-struct-layout-1/t026 cp_compat_{x,y}_tst.o compile on sparc/sparc64 linux...

2006-05-02 Thread Eric Botcazou
> FAIL: tmpdir-g++.dg-struct-layout-1/t026 cp_compat_y_tst.o compile I cannot reproduce on Solaris as of today, neither with the 64-bit compiler nor with the 32-bit multiarch one. -- Eric Botcazou

Re: GCC FAIL WITH BASIC STL EXAMPLE

2006-05-02 Thread trincheira
Guys, The proposed solution WORKS! I inserted the typename keyword as recomended and the program compiled perfectly. I feel sorry for the two messages. When I first tried to send a message, the browser got frozen and I did a refresh. I would like to thanks and I will report this flaw to SGI.

bugzilla confused?

2006-05-02 Thread David Fang
Hi, I tried to add myself to the CC list of a PR (27397), but get the following error message: "You tried to change the Keywords field from ice-on-invalid-code, error-recovery, monitored to error-recovery, ice-on-invalid-code, monitored, but only the assignee or reporter of the bug, or a s

Summer of Code project discussion

2006-05-02 Thread Laurynas Biveinis
Hello everybody, I'd like to participate in SoC, but first of all to get your feedback about project choice before submitting a proposal. I've done some GCC work a few years ago: I was involved with the DJGPP port, also done several minor bugfixes outside that in the infrastructure. So I have so

Re: svn problems

2006-05-02 Thread Mike Stump
On May 1, 2006, at 9:17 PM, Diego Novillo wrote: It amazes me that svn can't do a merge. You obviously have not read the documentation nor browsed the GCC wiki. Doing merges with svn is amazingly simple. I look forward to your answer I put to Ben.

Re: Bug in gen_addr_rtx() in gcc4.1?

2006-05-02 Thread Charles Fu
Yes. I know it doesn't fail on IA64-HPUX. The reason is that the dereferencing expression has been transformed as: tmpvar = index+offset; *tmpvar; during induction variable optimization, Where tmpvar has SImode. PPC has different costs to compute induction variables as on IA64-HPUX. C

Re: svn problems

2006-05-02 Thread Mike Stump
On May 1, 2006, at 8:58 PM, Steven Bosscher wrote: On 5/2/06, Mike Stump <[EMAIL PROTECTED]> wrote: It amazes me that svn can't do a merge. Just because you can't do it, doesn't mean svn can't do it. Let me know if you can reproduce what I see with your version of svn. Feel free to answer

Re: svn problems

2006-05-02 Thread Mike Stump
On May 1, 2006, at 8:48 PM, Ben Elliston wrote: It amazes me that svn can't do a merge. That's patently inaccurate. Ok, try this out: mrs $ mkdir svn-repo mrs $ svnadmin create svn-repo mrs $ svn co file:///Volumes/mrs4/svn-repo svn Checked out revision 0. mrs $ cd svn mrs $ svn mkdir trunk

RE: GCC FAIL WITH BASIC STL EXAMPLE

2006-05-02 Thread Dave Korn
On 02 May 2006 16:26, trincheira wrote: Ok, it's hard to see what's going on, because somebody somewhere has mistaken everything between angle-braces for borked HTML tags and stripped them, which is /really/ not good for a template example of all things (!), but I'm going to try a bit of a g

Re: Bug in gen_addr_rtx() in gcc4.1?

2006-05-02 Thread Andrew Pinski
> > On a system which supports 64-bit implementation but with TARGET_ILP32 > ABI, like HPUX on ia64, the gcc-4.1 compiler generates incorrect code > for the dejagnu test gcc.dg/tree-ssa/pr23386.c. The problem seems > because that the gen_addr_rtx() in tree-ssa-address.c always returns > Pmode rt

Re: Fwd: Problem with OpenMP Reduction Clause

2006-05-02 Thread Jakub Jelinek
On Tue, May 02, 2006 at 08:09:28AM -0700, Andrew Pinski wrote: > >I've stumbled onto a problem with the OpenMP REDUCTION clause > > > >gfortran segfault on compile (gfortran -fopenmp array_reduction.f90) > >with the following message: > >arrayreduction.f90: In function 'foo': > >arrayreduction.f90:

Re: GCC FAIL WITH BASIC STL EXAMPLE

2006-05-02 Thread Theodore Papadopoulo
On Tue, 2006-05-02 at 08:26 -0700, trincheira wrote: > Hello Guys, > > I am developing some applications that extensively uses STL. I plan to use > the > traits -> iterator_traits to get information about which type do I need to > return. > Unfortunately, I've been experienced some problems to u

GCC FAIL WITH BASIC STL EXAMPLE

2006-05-02 Thread trincheira
Hello Guys, I am developing some applications that extensively uses STL. I plan to use the traits -> iterator_traits to get information about which type do I need to return. Unfortunately, I've been experienced some problems to use such functionality. This simple test code was extracted from t

GCC FAIL WITH BASIC STL EXAMPLE

2006-05-02 Thread trincheira
Hello Guys, I am developing some applications that extensively uses STL. I plan to use the traits -> iterator_traits to get information about which type do I need to return. Unfortunately, I've been experienced some problems to use such functionality. This simple test code was extracted from t

Ada

2006-05-02 Thread Bill Cunningham
Are there any special switches or options needed to compile the ada package with the core gcc? I add the C++ libraries and they compile right along with the core. I've tried --enable-languages=c,c++,ada too and that doesn't do the ada libraries. Bill

Fwd: Problem with OpenMP Reduction Clause

2006-05-02 Thread Andrew Pinski
hello from thread 1 hello from thread 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 1 Intel 9.1 compiles but [Abort]s on execution. gfortran Using built-in specs. Target: i386-linux Configured with: ../gcc/configure --prefix=/cosmic/coudert/tmp/gfortran-20060502/irun --enable-languages=c,fortr

RE: libiberty

2006-05-02 Thread Dave Korn
On 02 May 2006 14:09, Bill Cunningham wrote: > Everytime I compile gcc I see that libiberty is being compiled. Is this > a needed library Yes. Gcc uses the support functions it provides. It's compiled and statically linked in to the new gcc. > I'm using glibc-2.1 and > I'd like to figu

libiberty

2006-05-02 Thread Bill Cunningham
Everytime I compile gcc I see that libiberty is being compiled. Is this a needed library and if not how can I switch it off? I'm using glibc-2.1 and I'd like to figure out compiling 2.3 and I've done it before so I just have to remember how. I want to cut down on all that compile time. Bill

Re: Signedness of fortran size_type_node

2006-05-02 Thread Richard Guenther
On 5/2/06, Richard Guenther <[EMAIL PROTECTED]> wrote: On 5/2/06, Zdenek Dvorak <[EMAIL PROTECTED]> wrote: > Hello, > > I have just noticed that size_type_node is signed in fortran frontend > (it caused an ice for me because unsigned_type_for returns it for > pointers, and I inserted an assert th

Re: Signedness of fortran size_type_node

2006-05-02 Thread Richard Guenther
On 5/2/06, Zdenek Dvorak <[EMAIL PROTECTED]> wrote: Hello, I have just noticed that size_type_node is signed in fortran frontend (it caused an ice for me because unsigned_type_for returns it for pointers, and I inserted an assert that the result of unsigned_type_for is unsigned). According to t

Signedness of fortran size_type_node

2006-05-02 Thread Zdenek Dvorak
Hello, I have just noticed that size_type_node is signed in fortran frontend (it caused an ice for me because unsigned_type_for returns it for pointers, and I inserted an assert that the result of unsigned_type_for is unsigned). According to the comment in tree.h, size_type_node should correspond

Dynamically generated code and DWARF exception handling

2006-05-02 Thread jacob navia
Hi We have an application compiled with gcc written in C++. This application generates dynamically code and executes it, using a JIT, a Just In time Compiler. Everything is working OK until the C++ code generates a throw. To get to the corresponding catch, the runtime should skip through the

RE: gcc-3.4.6 and pdp11

2006-05-02 Thread Dave Korn
On 01 May 2006 19:43, Bill Cunningham wrote: > I would like to know who supports pdp11 for 3.4.6 or even the latest 4.x > version of gcc? Is it still being maintained ? I'm trying to cross compile a > pdp11 on my i686 and I'm having problems. If I can talk to the maintainer(s) > I can get some

RE: exposing SH's fpscr support

2006-05-02 Thread Dave Korn
On 01 May 2006 20:55, DJ Delorie wrote: > At this point, I would like some feedback about the API and how to > cleanly (namespace-wise) add it to libgcc.a. Um, I know it's a bit bikeshedcolour, and sorry about that, but wouldn't a target-dependent builtin be a better fit to this kind of problem