GCC 4.0 RC2 Status

2005-04-16 Thread Mark Mitchell
I plan to create RC2 bits tomorrow. The only PR which I currently think might merit holding up the final release is: 20973 [4.0/4.1 Regression] kdelibs (khtml) miscompiled by reload Michael Matz has attached a possible reload patch to the PR. Any comments? I'm not going to wait very long even fo

Re: GCC 4.0 Freeze

2005-04-16 Thread Christian Joensson
On 4/17/05, Jack Howarth <[EMAIL PROTECTED]> wrote: > Even if there were complete g77 compatibility in g95, folks may want > to stick with the g77 version from gcc 3.4 for awhile purely for > performance reasons. In doing some test runs of the APBS > Adaptive Poisson-Boltzmann Solver program, I d

Re: [m68k]: More trouble with byte moves into Address registers

2005-04-16 Thread Peter Barada
>> I've got a "Using and Porting GNU CC" manual for rev 2.95, and am >> looking around for a newer one and can't find it anywhere. Does >> anyone know if a newer printed manual is available(and if so, where I >> can find it)? > >At the risk of stating the dreadfully obvious, the manual is online

Re: [m68k]: More trouble with byte moves into Address registers

2005-04-16 Thread James A. Morrison
Zack Weinberg <[EMAIL PROTECTED]> writes: > Ian Lance Taylor writes: > > Peter Barada <[EMAIL PROTECTED]> writes: > >> I've got a "Using and Porting GNU CC" manual for rev 2.95, and am > >> looking around for a newer one and can't find it anywhere. Does > >> anyone know if a newer printed manua

Re: GCC 4.0 Freeze

2005-04-16 Thread Tobias Schlüter
Jack Howarth wrote: >Even if there were complete g77 compatibility in g95, folks may want > to stick with the g77 version from gcc 3.4 for awhile purely for > performance reasons. In doing some test runs of the APBS > Adaptive Poisson-Boltzmann Solver program, I discovered that the g95 > built

Re: GCC 4.0 Freeze

2005-04-16 Thread James A. Morrison
[EMAIL PROTECTED] (Jack Howarth) writes: >Even if there were complete g77 compatibility in g95, folks may want > to stick with the g77 version from gcc 3.4 for awhile purely for > performance reasons. In doing some test runs of the APBS > Adaptive Poisson-Boltzmann Solver program, I discover

Problem with weak_alias and strong_alias in gcc-4.1.0 with MIPS...

2005-04-16 Thread Steven J. Hill
Greetings. I have a working MIPS cross toolchain with: binutils-2.15 gcc-3.4.2 glibc-2.3.4 linux-2.6.12 and then decided to work with gcc-4.1.0 out of the cvs head. I am now getting build problems with glibc-2.3.4 with the first major snafu being: ../sysdeps/ieee754/dbl-64/s_isinf.c:

Re: C++ ABI mismatch crashes

2005-04-16 Thread Joe Buck
On Sat, Apr 16, 2005 at 11:47:05PM +0100, Mike Hearn wrote: > I have a copy of Inkscape compiled with GCC 3.3, running on a GCC 3.4 > based system. All of the C++ libraries it links directly against, like > GTKmm, are statically linked. In other words, it dynamically links > against no C++ librarie

Re: GCC 4.0 Freeze

2005-04-16 Thread Jack Howarth
Even if there were complete g77 compatibility in g95, folks may want to stick with the g77 version from gcc 3.4 for awhile purely for performance reasons. In doing some test runs of the APBS Adaptive Poisson-Boltzmann Solver program, I discovered that the g95 built binary runs 60% slower than t

Re: GCC 4.0 Freeze

2005-04-16 Thread Branko Čibej
Zack Weinberg wrote: Branko Äibej <[EMAIL PROTECTED]> writes: Zack Weinberg wrote: "This compiler does not support all of Fortran 77 yet. We recommend distributors continue to provide packages of g77 from GCC 3.4 for the time being. When gfortran is considered a complete replacement for g

Re: GCC 4.0 Freeze

2005-04-16 Thread Zack Weinberg
Branko Äibej <[EMAIL PROTECTED]> writes: > Zack Weinberg wrote: > >> "This compiler does not support all of Fortran 77 yet. We recommend >> distributors continue to provide packages of g77 from GCC 3.4 for >> the time being. When gfortran is considered a complete replacement >> for g77 we wi

Re: GCC 4.0 Freeze

2005-04-16 Thread Branko Čibej
Zack Weinberg wrote: "This compiler does not support all of Fortran 77 yet. We recommend distributors continue to provide packages of g77 from GCC 3.4 for the time being. When gfortran is considered a complete replacement for g77 we will announce it." "We recommend distributors continue...

Re: My opinions on tree-level and RTL-level optimization

2005-04-16 Thread Richard Kenner
Although, RTL expansion may introduce new loops, these tend to be rare, and the expanders have all the information they need to hoist/sink invariant expressions and unroll/peel themselves. I disagree. In order to make the proper decisions about merging givs and chosing which giv shoul

Re: [m68k]: More trouble with byte moves into Address registers

2005-04-16 Thread Zack Weinberg
Ian Lance Taylor writes: > Peter Barada <[EMAIL PROTECTED]> writes: >> I've got a "Using and Porting GNU CC" manual for rev 2.95, and am >> looking around for a newer one and can't find it anywhere. Does >> anyone know if a newer printed manual is available(and if so, where I >> can find it)? > >

Re: [m68k]: More trouble with byte moves into Address registers

2005-04-16 Thread Ian Lance Taylor
Peter Barada <[EMAIL PROTECTED]> writes: > I've got a "Using and Porting GNU CC" manual for rev 2.95, and am > looking around for a newer one and can't find it anywhere. Does > anyone know if a newer printed manual is available(and if so, where I > can find it)? At the risk of stating the dreadf

gcc-4.0-20050416 is now available

2005-04-16 Thread gccadmin
Snapshot gcc-4.0-20050416 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20050416/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.0 CVS branch with the following options: -rgcc-ss-4_0-20050416 You'll

Re: [m68k]: More trouble with byte moves into Address registers

2005-04-16 Thread Peter Barada
>> pp_pack.c:2220: error: unable to find a register to spill in class >> `ADDR_REGS' >> pp_pack.c:2220: error: this is the insn: >> (insn 5559 5558 5560 694 pp_pack.c:2144 (set (reg:SI 8 %a0 [1421]) >> (plus:SI (subreg:SI (reg:QI 1420) 0) >> (const_int -32 [0xffe0]))) 121

C++ ABI mismatch crashes

2005-04-16 Thread Mike Hearn
Hi, I have a copy of Inkscape compiled with GCC 3.3, running on a GCC 3.4 based system. All of the C++ libraries it links directly against, like GTKmm, are statically linked. In other words, it dynamically links against no C++ libraries. Inkscape dlopens libgtkspell, which in turn dlopens libaspe

compile error for gcc-4.0.0-20050410

2005-04-16 Thread Guochun Shi
hello, list I am not sure if someone has reported this before, make[1]: Entering directory `/home/gshi/gcc/gcc-4.0.0-20050410/build-i686-pc-linux-gnu/libiberty' make[1]: *** No rule to make target `../include/ansidecl.h', needed by `regex.o'. Stop. make[1]: Leaving directory `/home/gshi/gcc/g

Re: Heads-up: volatile and C++

2005-04-16 Thread Nathan Sidwell
Jason Merrill wrote: On Thu, 14 Apr 2005 17:11:58 +0100, Nathan Sidwell <[EMAIL PROTECTED]> wrote: Could you clarify whether 'other writes' means 'other _volatile_ writes', or '_any_ other writes'? Since non-volatile writes are not visible outside of the abstract machine, how can they be ordered

How to -Werror in a fortran testcase?

2005-04-16 Thread Richard Guenther
Hi! gfortran does not support -Werror it seems. What do I need to put in dg-options to make a testcase fail, if there is any warning? Thanks, Richard.

My opinions on tree-level and RTL-level optimization

2005-04-16 Thread Roger Sayle
I seem to have inadvertantly annoyed Steven Bosscher on IRC, so by way of an apology and explanation I thought I'd post my current opinion and thinking on the optimizations performed by GCC's middle-end both at the tree-level in the tree-ssa optimizers and at the RTL-level in the exisiting RTL-opt

Re: Template and dynamic dispatching

2005-04-16 Thread Larry Evans
On 04/16/2005 10:19 AM, Larry Evans wrote: [snip] I briefly looked at several papers from: http://www.praxis-his.com/publications/ [snip] principled_design_oo.pdf [snip] I should mention that this paper does mention dynamic dispatching but nothing about templates or generic types.

Re: Doubt : Help

2005-04-16 Thread Ian Lance Taylor
Sachin Vijay Sonawane <[EMAIL PROTECTED]> writes: > In .md file, while writing Function-unit specifications, we have to > define an attribute called "simultaneity". I am still confused to get > the correct meaning it. Can anyone plz elaborate on it? I have found > the following definition from G

Re: Template and dynamic dispatching

2005-04-16 Thread Larry Evans
On 04/15/2005 08:36 PM, Robert Dewar wrote: [snip] As I said, templates and Ada generics cause trouble with certification requirements in two respects. First, they have the potential to intefere with required traceability from source to object. Second, there are a number of formal techniques that a

Re: implicit type cast problem of reference of ponter to const type

2005-04-16 Thread Jonathan Wakely
On Sat, Apr 16, 2005 at 01:13:46PM +0800, Steve Yee wrote: > the following code can not compile. is it due to the standard? Yes, this is not valid C++. int* -> const int* creates a temporary and you can't bind a non-const reference to a temporary. You might mean void testfun(int * const & pr) o

Re: internal compiler error at dwarf2out.c:8362

2005-04-16 Thread Martin Koegler
2): $cat x.c typedef unsigned char GROUP9_T[3]; typedef GROUP9_T EGROUP9_T __attribute ((eeprom)); $./cc1 --version GNU C version 4.1.0 20050416 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 4.1.0 20050302 (experimental). GGC heuristics: --param ggc-min-expand=30 --param ggc-min

Re: 2 suggestions

2005-04-16 Thread Gerald Pfeifer
On Thu, 14 Apr 2005, Gerald Pfeifer wrote: > This patch accomplishes the goal to get rid of asterisks in @anchor > names by > > - replacing components of a target triplet which read "*" by "x", > - and omiting trailing asterisks from all other components. > > Tested by running doc/install.texi2

Templates and C++ embedded subsets

2005-04-16 Thread Robert Dewar
Praxis is certainly of the opinion that a limited form of generics can be accomodated, but I do not think that anyone would suggest that unlimited use of C++ templates could be easily accomodated by some of these tools. I think that is beside the point of what I was trying to get from your previo

Doubt : Help

2005-04-16 Thread Sachin Vijay Sonawane
Hi! In .md file, while writing Function-unit specifications, we have to define an attribute called "simultaneity". I am still confused to get the correct meaning it. Can anyone plz elaborate on it? I have found the following definition from GCC manual. "simultaneity specifies the maximum numb