[4.0/4.1 regression]

2005-12-02 Thread Joost VandeVondele
Hi, I've filed PR25218: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25218 which leads at -O3 to: 4.0.1 bug.c:20: internal compiler error: in compensate_edge, at reg-stack.c:2795 4.1 bug.c:20: internal compiler error: in initialize_original_copy_tables, at cfg.c:1025 Cheers, Joost

STL mt_allocator crash in global construcutor

2005-12-02 Thread Neil Bird
FC4, g++ (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8) We have a no. of libraries which have worked fine up till now (even using 4.0.1 on FC3, albeit with libstdc++-3.4.4-). Now with 4.0.1 (& 4.0.2)'s libstdc, I'm getting a crash immediately at start-up in mt_allocator.h, within _M_adjust_freel

Different Object Model in g++-2.95 and g++-3.3.5?

2005-12-02 Thread holderlin
Hi, all: I compiled the following code using g++-2.95: - #include using namespace std; class A { public: virtual void echo () {}; }; class B: public virtual A { public: int b; virtual void echo () {}; }; int main()

Re: Different Object Model in g++-2.95 and g++-3.3.5?

2005-12-02 Thread Andrew Haley
holderlin writes: > So I am wondering whether g++-3.3.5 changes its object model. The V3 multi-vendor standard C++ ABI is used in GCC releases 3.0 and above. http://www.codesourcery.com/cxx-abi/ Andrew.

Re: STL mt_allocator crash in global construcutor

2005-12-02 Thread Benjamin Kosnik
The correct list for this post is [EMAIL PROTECTED] I suggest that you come up with a self-contained bit of code to reproduce the problem you are having and entering it into gcc bugzilla, which can be found here: http://gcc.gnu.org/bugzilla best, benjamin

Re: [PATCH] New predicate covering NOP_EXPR and CONVERT_EXPR

2005-12-02 Thread Giovanni Bajo
Richard Kenner <[EMAIL PROTECTED]> wrote: > Java has to be fixed (probably with a frontend-specific tree code), > and maybe also Ada. > > Ada does not. It generates CONVERT_EXPR vs. NOP_EXPR in some attempt > to preserve some old-semantic difference but always treats them the > same wh

Possible size-opt patch

2005-12-02 Thread Giovanni Bajo
Bernd, I read you're interested in code-size optimizations. I'd like to point you to this patch: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg00554.html which was never finished nor committed (I don't know if RTH has a newer version though). This is would be of great help for code size issues in

GCC back-ends

2005-12-02 Thread Domagoj D
Hi, Does GCC front- and middle-end keep the source code line numbers all the way until the RTL is generated? I'd need that for the tool I'm developing. Also, are there any simple source code browsers / static analysis tools that use GCC as the front-/middle-end that I might check out to see ho

gcc-4.1-20051202 is now available

2005-12-02 Thread gccadmin
Snapshot gcc-4.1-20051202 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-20051202/ 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: weakref and static

2005-12-02 Thread John David Anglin
> Unfortunately, it can't do that; Mach-O (on Darwin) doesn't support > aliases in the object file at all, and even ELF doesn't support > aliases to symbols outside the current .o. The easiest solution to > this is to require that weakrefs must be 'static', because the name > that they define is n

new gcc/g++ 4.1.0 flags?

2005-12-02 Thread Jack Howarth
Where exactly are the compiler flags new to gcc 4.1.0 described. I now understand that -ffriend-injection can be used with g++ to overcome the new strictness about the scope of friends. However, I am seeing another compile error in xplor-nih of the form... cdsVector.cc: In function 'CDSVector

Re: build1, build1_v and friends

2005-12-02 Thread Paul Thomas
Paul Thomas wrote: Richard, gfortran is failing to build, evidently because of your patch. There are maybe 20-30 occurrences of build1 and build1_v scattered through the gfortran trans- files. What do I do to rectify this? I have reverted to r10790(ie. just before your group of patch

Re: build1, build1_v and friends

2005-12-02 Thread Paul Thomas
Richard, If we have to replace the build1's with something, please let me know and I will implement it. I completely missed r107917... I will set about doing it. Paul T