Re: Ada Broken with h_errno change

2005-11-17 Thread Arnaud Charlet
RTEMS has networking functions but they are not available at this stage during the build. You only have the .h files provided with newlib. So this patch is needed to make *-rtems compile again. OK to commit? Please post the corresponding ChangeLog so that this patch can be reviewed and

Re: Link-time optimzation

2005-11-17 Thread Giovanni Bajo
Daniel Berlin [EMAIL PROTECTED] wrote: Thanks for woking on this. Any specific reason why using the LLVM bytecode wasn't taken into account? It was. A large number of alternatives were explored, including CIL, the JVM, LLVM, etc. It is proven to be stable, high-level enough to perform

Cirrus arm Maverick Crunch fixes

2005-11-17 Thread Dario Massarin
Hello everybody As you may already know the code that supports cirrus arm processors with maverick crunch floating point unit (-mfpu=maverick), which is included in gcc 4.x, is nearly complete but, as of now, broken. So I'm going to spend some time in fixing it, but I'm pretty new in gcc

Re: Cirrus arm Maverick Crunch fixes

2005-11-17 Thread Richard Earnshaw
On Thu, 2005-11-17 at 10:23, Dario Massarin wrote: I would like to start with this bug report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24861 Could you give me some hints on where is the problem? It just happens that I fixed that last night :-) R.

Re: Cirrus arm Maverick Crunch fixes

2005-11-17 Thread Dario Massarin
On Thu, 2005-11-17 at 10:23, Dario Massarin wrote: I would like to start with this bug report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24861 Could you give me some hints on where is the problem? It just happens that I fixed that last night :-) Wow! Really? So fast? Thanks!

Re: Link-time optimzation

2005-11-17 Thread Richard Earnshaw
On Thu, 2005-11-17 at 01:27, Mark Mitchell wrote: Richard Henderson wrote: In Requirement 4, you say that the function F from input files a.o and b.o should still be named F in the output file. Why is this requirement more than simply having the debug information reflect that both names

Is there a GIMPLE equivalent of UNSPEC?

2005-11-17 Thread Unruh, Erwin
Hello, I am working on a private GCC port. Currently I am trying to move it from 3.3.2 to 4.1.x. I have some strange constructs in the expansion of the va_arg macro. In 3.3.2 I used two unspec RTL constructs to solve that problem. Now va_arg has to be transformed to GIMPLE. So my question: is

Re: Is there a GIMPLE equivalent of UNSPEC?

2005-11-17 Thread Steven Bosscher
On Nov 17, 2005 01:11 PM, Unruh, Erwin [EMAIL PROTECTED] wrote: is there some equivalent. No, there isn't.  You are not being very specific about the problem you are trying to solve.  You'll have to tell more before anyone can give you a more helpful answer.   Gr. Steven    

Re: Is there a GIMPLE equivalent of UNSPEC?

2005-11-17 Thread Diego Novillo
On Thursday 17 November 2005 07:11, Unruh, Erwin wrote: Now va_arg has to be transformed to GIMPLE. So my question: is there some equivalent. There isn't one. Have you looked at gimplify_va_arg_expr? What is it in your construct that cannot be expressed in trees? There are several targets

Re: apps built w/ -fstack-protector-all segfault

2005-11-17 Thread Peter S. Mazinger
On Thu, 17 Nov 2005, Peter S. Mazinger wrote: On Wed, 16 Nov 2005, Richard Henderson wrote: On Wed, Nov 16, 2005 at 10:32:45PM +0100, Peter S. Mazinger wrote: what happens w/ -fstack-protector-all -fstack-protector (in this order) ? do we have (2) or (1) We have 1. so now

Re: Link-time optimzation

2005-11-17 Thread Ulrich Weigand
Ian Lance Taylor wrote: In section 3.4 (Linker) I have the same comment: for non-GNU targets, the native linker is sometimes required, so modifying the linker should not be a requirement. And the exact handling of .a files is surprisingly target dependent, so while it would be easy to code

RE: Is there a GIMPLE equivalent of UNSPEC?

2005-11-17 Thread Unruh, Erwin
OK, here are the details: first, I have a PDImode pointer and do not want to have general arithmetic on that. So I invented a special RTL instruction to align a pointer. Within the va_arg sometimes I need to align the pointer. In 3.3.2 the code snippet in EXPAND_BUILTIN_VA_ARG looked like

Re: Link-time optimzation

2005-11-17 Thread Daniel Berlin
On Wed, 2005-11-16 at 20:33 -0700, Jeffrey A Law wrote: Our understanding was that the debugger actually uses the symbol table, in addition to the debugging information, in some cases. (This must be true when not running with -g, but I thought it was true in other cases as well.) It

m68k does not build on head

2005-11-17 Thread Joel Sherrill [EMAIL PROTECTED]
Doing an overnight build of all rtems targets, I can across this new breakage for m68k-rtems4.7. I last built this target on Nov 3 from the head and it compiled then. /home/joel/gcc-work/head/b-m68k-rtems4.7/./gcc/xgcc -B/home/joel/gcc-work/head/b-m68k-rtems4.7/./gcc/ -nostdinc

Re: Link-time optimzation

2005-11-17 Thread mathieu lacage
hi, Daniel Berlin wrote: I discovered this when deep hacking into the symbol code of GDB a while ago. Apparently, some people enjoy breakpointing symbols by using the fully mangled name, which appears (nowadays) mainly in the minsym table. This sort of hack is often used to work around

Re: m68k does not build on head

2005-11-17 Thread Paul Brook
../../../gcc-head-test/libiberty/regex.c: In function 'byte_common_op_match_null_string_p': ../../../gcc-head-test/libiberty/regex.c:7724: error: insn does not satisfy its constraints: (insn 158 85 159 8 ../../../gcc-head-test/libiberty/regex.c:7699 (set

Re: m68k does not build on head

2005-11-17 Thread Hans-Peter Nilsson
From: Paul Brook [EMAIL PROTECTED] Date: Thu, 17 Nov 2005 15:12:50 + ../../../gcc-head-test/libiberty/regex.c:7699 (set (reg:SI 2 %d2) (sign_extend:SI (reg:HI 1 %d1 [59]))) 65 {*68k_extendhisi2} (nil) (nil))

Re: m68k does not build on head

2005-11-17 Thread Paul Brook
On Thursday 17 November 2005 15:20, Hans-Peter Nilsson wrote: From: Paul Brook [EMAIL PROTECTED] Date: Thu, 17 Nov 2005 15:12:50 + ../../../gcc-head-test/libiberty/regex.c:7699 (set (reg:SI 2 %d2) (sign_extend:SI (reg:HI 1 %d1 [59]))) 65 {*68k_extendhisi2} (nil) (nil))

specific instantiation of static members from template class

2005-11-17 Thread cedric
hello, I have a problem when I try to instantiate static members. this code works with gcc-3.4.5 but not with gcc-4.0.2 (debian sid). here a test case with 3 files : / main.cpp #include iostream #include Test.h int main(int argc, char **argv) { std::cout TestInt::member

Re: [rfc] new tree-codes/optabs for vectorization of non-unit-stride accesses

2005-11-17 Thread Dorit Naishlos
Steven Bosscher [EMAIL PROTECTED] wrote on 11/16/2005 10:39:24 PM: On Wednesday 16 November 2005 15:35, Dorit Naishlos wrote: We'd like to suggest a few new tree-codes/optabs in order to express the extraction and merging of elements from/to vectors. Watch out for tree code starvation:

Re: [rfc] new tree-codes/optabs for vectorization of non-unit-stride accesses

2005-11-17 Thread Dorit Naishlos
Paul Brook [EMAIL PROTECTED] wrote on 11/16/2005 05:03:47 PM: On Wednesday 16 November 2005 14:35, Dorit Naishlos wrote: We're going to commit to autovect-branch vectorization support for non-unit-stride accesses. We'd like to suggest a few new tree-codes/optabs in order to express the

Re: Link-time optimzation

2005-11-17 Thread Kenneth Zadeck
On Wed, Nov 16, 2005 at 02:26:28PM -0800, Mark Mitchell wrote: http://gcc.gnu.org/projects/lto/lto.pdf Section 4.2 What is the rationale for using a stack-based representation rather than a register-based representation? A infinite register based solution would seem to map

Re: [rfc] new tree-codes/optabs for vectorization of non-unit-stride accesses

2005-11-17 Thread Steven Bosscher
On Thursday 17 November 2005 16:51, Dorit Naishlos wrote: only thing I can suggest in the context of the vectorizer is to use an extra argument to save a few tree-codes: I don't think that this is a good idea. If we are going to need more tree codes, we're just going to have to figure out a

Re: Link-time optimzation

2005-11-17 Thread Kenneth Zadeck
Mark Mitchell [EMAIL PROTECTED] writes: http://gcc.gnu.org/projects/lto/lto.pdf Section 4.2 (Executable Representation) describes the GVM as a stack machine, and mentions load, store, duplicate, and swap operations. But it also discusses having registers which correspond to GIMPLE local

Re: Link-time optimzation

2005-11-17 Thread Kenneth Zadeck
Thanks for woking on this. Any specific reason why using the LLVM bytecode wasn't taken into account? It was. A large number of alternatives were explored, including CIL, the JVM, LLVM, etc. It is proven to be stable, high-level enough to perform any kind of needed optimization,

Re: Link-time optimzation

2005-11-17 Thread Jan Hubicka
On Wed, Nov 16, 2005 at 02:26:28PM -0800, Mark Mitchell wrote: http://gcc.gnu.org/projects/lto/lto.pdf Section 4.2 What is the rationale for using a stack-based representation rather than a register-based representation? A infinite register based solution would seem to

Register Allocation

2005-11-17 Thread Andrew MacLeod
It must be the season for this sort of thing :-) I have been contemplating building a GCC register allocator from scratch for some time. To that end, I have put together a bit of a document given a high level overview of the various components I think would benefit GCC, and a rough description

Re: Cirrus arm Maverick Crunch fixes

2005-11-17 Thread Dario Massarin
Ok. I've just checked the gcc-4_0-branch but trying to compile with --with-cpu=ep9312 and --with-fpu=maverick still fails (but this is a different problem). I've reported this bug here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24914

Re: apps built w/ -fstack-protector-all segfault

2005-11-17 Thread Richard Henderson
On Thu, Nov 17, 2005 at 08:17:07AM +0100, Peter S. Mazinger wrote: -fstack-protector-all (all protection) being superset of -fstack-protector (random protection) it should also define __SSP__ 1 The IBM patch that I followed did exactly what I implemented. I see no compelling reason to change

Re: Is there a GIMPLE equivalent of UNSPEC?

2005-11-17 Thread Richard Henderson
On Thu, Nov 17, 2005 at 01:11:08PM +0100, Unruh, Erwin wrote: So my question: is there some equivalent. A builtin function. r~

Re: specific instantiation of static members from template class

2005-11-17 Thread Jonathan Wakely
cedric wrote: hello, I have a problem when I try to instantiate static members. this code works with gcc-3.4.5 but not with gcc-4.0.2 (debian sid). here a test case with 3 files : / main.cpp #include iostream #include Test.h int main(int argc, char **argv) { std::cout

[RFC] PR/24900: computed but not used cast values

2005-11-17 Thread Aldy Hernandez
Hi folks. In this PR we are emitting a value computed is not used warning for the following code (via some fancy macro expansion in the Linux kernel): unsigned long t(void); void apic_write_atomic(unsigned long reg, unsigned int v) { ((__typeof__(*((volatile

Successfull build of gcc-4.0.2 on MacOS-X 10.3.9

2005-11-17 Thread william . franck
Hi all, on PowerPC G4 with MacOS-X 10.3.9 (powerpc-apple-darwin7.9.0 ) build from : Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20040913 (GNAT for Mac OS X build 1650) with Apple's cctools 525 New 4.0.2 gcc -v output : Using built-in specs.

Re: Link-time optimzation

2005-11-17 Thread Ian Lance Taylor
Richard Earnshaw [EMAIL PROTECTED] writes: We spend a lot of time printing out the results of compilation as assembly language, only to have to parse it all again in the assembler. Given some of the problems this proposal throws up I think we should seriously look at bypassing as much of

Re: Link-time optimzation

2005-11-17 Thread Ian Lance Taylor
Ulrich Weigand [EMAIL PROTECTED] writes: Conversely, I don't know much we are going to care about speed here, but I assume that we are going to care a bit. For the linker to determine which files to pull in from an archive, it is going to have to read the symbol tables of all the input

Re: [RFC] PR/24900: computed but not used cast values

2005-11-17 Thread Ian Lance Taylor
Aldy Hernandez [EMAIL PROTECTED] writes: this reduces to: int f(void); void g(void) { (unsigned) f(); } Which was made to deliberately warn by Joseph's patch here: http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00275.html I closed the bug as a WONTFIX, but Ian

pruning unused debugging types (enums/PR23336)

2005-11-17 Thread Aldy Hernandez
On a similar note than PR debug/21391... In PR23336 we have the same thing happen with enums: enum something { JTI_PROMOTED_BYTE_TYPE_NODE, etc }; use JTI_PROMOTED_BYTE_TYPE_NODE JTI_PROMOTED_BYTE_TYPE_NODE and something get pruned even though we use it. I see two

Re: Ada Broken with h_errno change

2005-11-17 Thread Thomas Quinot
* Joel Sherrill [EMAIL PROTECTED], 2005-11-16 : RTEMS has networking functions but they are not available at this stage during the build. I am not sure I understand how this can happen (I am not familiar at all with the RTEMS build process). If the network functions are available on RTEMS,

Re: Ada Broken with h_errno change

2005-11-17 Thread Joel Sherrill [EMAIL PROTECTED]
Thomas Quinot wrote: * Joel Sherrill [EMAIL PROTECTED], 2005-11-16 : RTEMS has networking functions but they are not available at this stage during the build. I am not sure I understand how this can happen (I am not familiar at all with the RTEMS build process). If the network functions

gcc-4.0-20051117 is now available

2005-11-17 Thread gccadmin
Snapshot gcc-4.0-20051117 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20051117/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.0 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: [RFC] PR/24900: computed but not used cast values

2005-11-17 Thread Richard Henderson
On Thu, Nov 17, 2005 at 02:01:56PM -0800, Ian Lance Taylor wrote: We traditionally do not warn about not using the value returned by a function. And I don't see why adding a cast should change that. Intuitively, a cast by itself is not a computation. In many cases is certainly is -- it's a

Re: [RFC] PR/24900: computed but not used cast values

2005-11-17 Thread Joe Buck
On Thu, Nov 17, 2005 at 02:54:48PM -0800, Richard Henderson wrote: On Thu, Nov 17, 2005 at 02:01:56PM -0800, Ian Lance Taylor wrote: We traditionally do not warn about not using the value returned by a function. And I don't see why adding a cast should change that. Intuitively, a cast by

question about gcc

2005-11-17 Thread Paul Albrecht
Is there some reason gcc hasn't been or can't be enhanced to provide output for a cross-referencing programs? Paul Albrecht

Re: pruning unused debugging types (enums/PR23336)

2005-11-17 Thread Richard Henderson
On Thu, Nov 17, 2005 at 06:08:35PM -0400, Aldy Hernandez wrote: On a similar note than PR debug/21391... In PR23336 we have the same thing happen with enums: enum something { JTI_PROMOTED_BYTE_TYPE_NODE, etc }; use JTI_PROMOTED_BYTE_TYPE_NODE JTI_PROMOTED_BYTE_TYPE_NODE

Re: Link-time optimzation

2005-11-17 Thread Robert Dewar
Ian Lance Taylor wrote: We spend a lot of time printing out the results of compilation as assembly language, only to have to parse it all again in the assembler. I never like arguments which have loaded words like lot without quantification. Just how long *is* spent in this step, is it

Re: [RFC] PR/24900: computed but not used cast values

2005-11-17 Thread Ian Lance Taylor
Richard Henderson [EMAIL PROTECTED] writes: On Thu, Nov 17, 2005 at 02:01:56PM -0800, Ian Lance Taylor wrote: We traditionally do not warn about not using the value returned by a function. And I don't see why adding a cast should change that. Intuitively, a cast by itself is not a

Re: [RFC] PR/24900: computed but not used cast values

2005-11-17 Thread Richard Henderson
On Thu, Nov 17, 2005 at 03:00:42PM -0800, Joe Buck wrote: As in the example, these cases will usually arise in macros, where under some circumstances some computation will be wasted. Which is no different from f()+1, for which no one is arguing that the warning we give is incorrect. If you've

Re: question about gcc

2005-11-17 Thread Robert Dewar
Paul Albrecht wrote: Is there some reason gcc hasn't been or can't be enhanced to provide output for a cross-referencing programs? Paul Albrecht No reason why it can't be, and the reason it hasn't is that no one has done it. Actually strictly you don't mean gcc here, you are referring to

Re: [RFC] PR/24900: computed but not used cast values

2005-11-17 Thread Richard Henderson
On Thu, Nov 17, 2005 at 03:18:00PM -0800, Ian Lance Taylor wrote: I don't think you should get a warning for not using the return value of a function, at least not under -Wunused. For this, I agree. Except that we're not talking about the return value of the function directly, we're talking

Re: Link-time optimzation

2005-11-17 Thread Ian Lance Taylor
Robert Dewar [EMAIL PROTECTED] writes: Ian Lance Taylor wrote: We spend a lot of time printing out the results of compilation as assembly language, only to have to parse it all again in the assembler. I never like arguments which have loaded words like lot without quantification. Just

Build failed gcc-4.1.0-20051112 on MacOS-X 10.3.9

2005-11-17 Thread william . franck
Hi all, on PowerPC G4 with MacOS-X 10.3.9 (powerpc-apple-darwin7.9.0 ) build from : Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20040913 (GNAT for Mac OS X build 1650) with gcc cctools 576 same test with gcc cctools 590.12 $

Re: [rfc] new tree-codes/optabs for vectorization of non-unit-stride accesses

2005-11-17 Thread Steven Bosscher
On Thursday 17 November 2005 16:55, Steven Bosscher wrote: On Thursday 17 November 2005 16:51, Dorit Naishlos wrote: only thing I can suggest in the context of the vectorizer is to use an extra argument to save a few tree-codes: I don't think that this is a good idea. If we are going to

Re: question about gcc

2005-11-17 Thread Paul Albrecht
From: Robert Dewar [EMAIL PROTECTED] Paul Albrecht wrote: Is there some reason gcc hasn't been or can't be enhanced to provide output for a cross-referencing programs? No reason why it can't be, and the reason it hasn't is that no one has done it. Actually strictly you don't mean

Re: question about gcc

2005-11-17 Thread Jim Wilson
Paul Albrecht wrote: Is there some reason gcc hasn't been or can't be enhanced to provide output for a cross-referencing programs? FYI, there are a number of tools available for producing cross-referencing info. See for instance http://www.gnu.org/software/global/links.html and try

Re: [RFC] PR/24900: computed but not used cast values

2005-11-17 Thread Aldy Hernandez
A stronger case for changing this would be that gcc version n-1 didn't warn. As discussed elsewhere, some modicum of stability in warnings is desirable from the user's perspective. I don't know whether or not this applies in this case. Well, as I mentioned in the PR, macro writers can wrap

Re: question about gcc

2005-11-17 Thread Paul Albrecht
From: Jim Wilson [EMAIL PROTECTED] Paul Albrecht wrote: Is there some reason gcc hasn't been or can't be enhanced to provide output for cross-referencing programs? FYI, there are a number of tools available for producing cross-referencing info. See for instance

Re: [RFC] PR/24900: computed but not used cast values

2005-11-17 Thread Richard Henderson
On Thu, Nov 17, 2005 at 08:42:19PM -0400, Aldy Hernandez wrote: Well, as I mentioned in the PR, macro writers can wrap the whole thing in a statement expression and avoid the warning. Can't we suggest this and keep (almost) everybody happy? I think so. r~

Re: [rfc] new tree-codes/optabs for vectorization of non-unit-stride accesses

2005-11-17 Thread Richard Henderson
On Fri, Nov 18, 2005 at 01:19:14AM +0100, Steven Bosscher wrote: BTW the gomp-branch adds 22 (!) new tree codes, just like that, for all languages. This is IMHO very unfair to other projects in need of extra tree codes. Yeah, well, I don't see any way around it. We'll have to solve the bit

Re: can DECL_RESULT be 0?

2005-11-17 Thread Jim Wilson
Rafael Ávila de Espíndola wrote: Thank you very much for showing that the problem was in the comment. I've checked in a patch to fix the comment typo. -- Jim Wilson, GNU Tools Support, http://www.specifix.com

Re: Undelivered Mail Returned to Sender

2005-11-17 Thread Jim Wilson
Gabriel Dos Reis wrote: This is the fifth or so message from me, within the last few days, that gets rejected. What is up? Hmm, I don't see this in the overseers archive. I don't think it reached them. Maybe it triggered the spam filter for having too many capital letters in the subject

Re: Link-time optimzation

2005-11-17 Thread Daniel Jacobowitz
On Thu, Nov 17, 2005 at 03:42:29PM -0800, Ian Lance Taylor wrote: I just tried a simple unoptimized compile. -ftime-report said that final took 5% of the time (obviously final does more than formatting), and the assembler took 4% of the total user time, and system time took 16% of wall clock

Re: Link-time optimzation

2005-11-17 Thread Dale Johannesen
On Nov 17, 2005, at 3:09 PM, Robert Dewar wrote: Richard Earnshaw wrote: We spend a lot of time printing out the results of compilation as assembly language, only to have to parse it all again in the assembler. I never like arguments which have loaded words like lot without quantification.

Re: Undelivered Mail Returned to Sender

2005-11-17 Thread Jim Wilson
Jim Wilson wrote: Gabriel Dos Reis wrote: This is the fifth or so message from me, within the last few days, that gets rejected. What is up? Hmm, I don't see this in the overseers archive. Because it is sourceware.org not sourceware.com. I should have noticed that before I made the same

Re: Register Allocation

2005-11-17 Thread Mark Mitchell
Andrew MacLeod wrote: It must be the season for this sort of thing :-) I have not yet read the entire document, but I would very much like to applaud both the goal of improving register allocation, and the spirit in which you've approached it: in particular, posting a design and getting comments

Re: Link-time optimzation

2005-11-17 Thread Geert Bosch
On Nov 17, 2005, at 21:33, Dale Johannesen wrote: When I arrived at Apple around 5 years ago, I was told of some recent measurements that showed the assembler took around 5% of the time. Don't know if that's still accurate. Of course the speed of the assembler is also relevant, and our stubs

Re: Register Allocation

2005-11-17 Thread Daniel Jacobowitz
On Thu, Nov 17, 2005 at 11:53:31AM -0500, Andrew MacLeod wrote: The document is intended as a starting point and consists mostly of my thoughts at the moment. By the time the underlying RTL bits are done, I would like it to have evolved to include input from others. The more useful comments

Re: [RFC] PR/24900: computed but not used cast values

2005-11-17 Thread Mark Mitchell
Richard Henderson wrote: On Thu, Nov 17, 2005 at 08:42:19PM -0400, Aldy Hernandez wrote: Well, as I mentioned in the PR, macro writers can wrap the whole thing in a statement expression and avoid the warning. Can't we suggest this and keep (almost) everybody happy? I think so. FWIW, I

Re: pruning unused debugging types (enums/PR23336)

2005-11-17 Thread Mark Mitchell
Richard Henderson wrote: A solution that comes to mind is to have the front-end add dummy TYPE_DECL nodes to the BLOCK_VARS list of the function's outer-most BLOCK. If the TYPE_DECL node were marked DECL_ARTIFICIAL and had no DECL_NAME, it'd be easy for us to notice that we shouldn't

[Bug libfortran/24909] libmatmul.a breaks darwin build

2005-11-17 Thread jb at gcc dot gnu dot org
--- Comment #2 from jb at gcc dot gnu dot org 2005-11-17 08:26 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01271.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24909

[Bug debug/21932] [3.4 Regression] -O3 -fno-unit-at-a-time causes ICE

2005-11-17 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2005-11-17 09:40 --- The compiler already crashes with g++ -O -finline-functions -g, i.e. without explicitly specifying -fno-unit-at-a-time. -- reichelt at gcc dot gnu dot org changed: What|Removed

[Bug fortran/24862] [4.1 Regression] Internal Error: Derived type I/O should have been handled via the frontend.

2005-11-17 Thread jb at gcc dot gnu dot org
--- Comment #5 from jb at gcc dot gnu dot org 2005-11-17 10:00 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01277.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24862

[Bug c++/24849] [gomp] ICE in expand_expr_real_1

2005-11-17 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2005-11-17 10:02 --- Here's a shorter testcase without templates: == void foo() { #pragma omp parallel { int i, N; #pragma omp for schedule (dynamic) for (i=0; iN; ++i) ;

[Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11

2005-11-17 Thread saurabh dot verma at codito dot com
--- Comment #3 from saurabh dot verma at codito dot com 2005-11-17 10:05 --- Adding myself to CC list, as the offending patch was given by me -- saurabh dot verma at codito dot com changed: What|Removed |Added

[Bug c++/24791] ICE on invalid instantiation of template's static member

2005-11-17 Thread reichelt at gcc dot gnu dot org
--- Comment #1 from reichelt at gcc dot gnu dot org 2005-11-17 10:39 --- Confirmed. The following code snippet causes an ICE since 2.95.3 with the exception of 4.0.0 - 4.0.2: == templateint struct A { static int i; A() { ++i; } }; templateint

[Bug c++/24278] [3.4/4.0/4.1 regression] ICE while trying to print out error

2005-11-17 Thread reichelt at gcc dot gnu dot org
--- Comment #6 from reichelt at gcc dot gnu dot org 2005-11-17 11:08 --- The following testcase crashes since GCC 2.95.3 except 3.1 and 3.2: === templatetypename T struct A { A() : T(0) {} }; Aint* a; === The error message

[Bug ada/24857] ada/s-auxdec.ads alignment issue for arm-rtems

2005-11-17 Thread guerby at gcc dot gnu dot org
--- Comment #2 from guerby at gcc dot gnu dot org 2005-11-17 11:13 --- Subject: Bug 24857 Author: guerby Date: Thu Nov 17 11:13:18 2005 New Revision: 107116 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=107116 Log: 2005-11-17 Laurent GUERBY [EMAIL PROTECTED] PR

[Bug c++/24439] ICE with invert conditional containing throw

2005-11-17 Thread reichelt at gcc dot gnu dot org
--- Comment #14 from reichelt at gcc dot gnu dot org 2005-11-17 11:24 --- This is not really a regression, since evn with 2.95.3 we get an ICE (with --enable-checking): bug.cc: In function `int main()': bug.cc:4: converting to `void' from `int' bug.cc:4: void value not ignored as it

[Bug middle-end/24851] [4.1 Regression] f2c miscompilation

2005-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #18 from rguenth at gcc dot gnu dot org 2005-11-17 11:35 --- Subject: Bug 24851 Author: rguenth Date: Thu Nov 17 11:35:00 2005 New Revision: 107117 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=107117 Log: 2005-11-16 Richard Guenther [EMAIL PROTECTED] PR

[Bug middle-end/24851] [4.1 Regression] f2c miscompilation

2005-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #19 from rguenth at gcc dot gnu dot org 2005-11-17 11:36 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/24626] [4.1 Regression] internal compiler error: verify_flow_info failed

2005-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2005-11-17 11:42 --- So I guess being able to hunt it confirms it. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/24823] [4.1 Regression] ICE in insert_save, at caller-save.c:719

2005-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2005-11-17 11:47 --- Btw., this also happens on armv4l compiling NX: gcc -c -O3 -fsigned-char -I. -I../../exports/include/freetype2 -I../../extras/freetype2/src-I../../extras/freetype2/src/base

[Bug c++/24602] g++: Internal error: Illegal instruction (program cc1plus)

2005-11-17 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2005-11-17 11:59 --- Here's a sightly simpler testcase. If I remove the copy-ctor from A, I get the failure from PR24606. = templatetypename F void foo(F f) { f(); } struct A { A();

[Bug c++/24606] ICE on template function which gets an template agrument as a function with a default argument

2005-11-17 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2005-11-17 12:04 --- I think this is a duplicate of PR 24602. The only difference is the missing copy-ctor here. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/24793] [4.1 Regression] ICE: expected ssa_name, have var_decl in verify_ssa, at tree-ssa.c:746

2005-11-17 Thread rakdver at gcc dot gnu dot org
--- Comment #6 from rakdver at gcc dot gnu dot org 2005-11-17 12:33 --- Patch: http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01283.html -- rakdver at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred

2005-11-17 Thread thebohemian at gmx dot net
--- Comment #22 from thebohemian at gmx dot net 2005-11-17 12:39 --- Created an attachment (id=10262) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10262action=view) lazy linking - part 2 This is the same patch as above but corrects the behavior in case that the static field of a

[Bug rtl-optimization/24883] [4.1 Regression] fatal error: internal consistency failure building xorg-x11

2005-11-17 Thread uweigand at gcc dot gnu dot org
--- Comment #4 from uweigand at gcc dot gnu dot org 2005-11-17 12:45 --- It looks like the simplify-rtx patch is not really the cause of the problem, it simply exposes a pre-existing bug in combine and/or flow. Before combine, we have a situation that looks like (simplified): insn

[Bug libfortran/24892] ACCESS argument to the OPEN statement

2005-11-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2005-11-17 12:47 --- Subject: Bug 24892 Author: fxcoudert Date: Thu Nov 17 12:46:57 2005 New Revision: 107119 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=107119 Log: PR fortran/24892 * io/io.h (unit_access):

[Bug fortran/20811] gfortran include problem (regression from g77)

2005-11-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2005-11-17 12:51 --- Subject: Bug 20811 Author: fxcoudert Date: Thu Nov 17 12:51:41 2005 New Revision: 107120 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=107120 Log: PR fortran/20811 * scanner.c

[Bug target/19923] [4.0/4.1 Regression] openssl is slower when compiled with gcc 4.0 than 3.3

2005-11-17 Thread rakdver at gcc dot gnu dot org
--- Comment #34 from rakdver at gcc dot gnu dot org 2005-11-17 13:35 --- It behaves somewhat erratically on SPEC2000 (it increases the overall score, but there are some significant regressions). And, it also causes us to produce worse code for this testcase at the moment, due to a

[Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred

2005-11-17 Thread aph at gcc dot gnu dot org
--- Comment #23 from aph at gcc dot gnu dot org 2005-11-17 13:46 --- mm, I was wrong about static fields. The problem is that a JV_CONSTANT_Fieldref constant pool entry points to a JV_CONSTANT_Class, and at the present time we attempt to resolve that JV_CONSTANT_Class reference at link

[Bug target/24757] [4.1 Regression] __sync_fetch_and_add on ia64

2005-11-17 Thread pcarlini at suse dot de
--- Comment #8 from pcarlini at suse dot de 2005-11-17 13:50 --- I have got additional evidence that __sync_fetch_and_add does not work correctly. If, for example, in this code, stressed in the testcase 12658_thread-1.cc, and using atomic operations: const locale

[Bug classpath/23183] SimpleDateFormat fails to render '' as single quotes

2005-11-17 Thread mark at gcc dot gnu dot org
--- Comment #8 from mark at gcc dot gnu dot org 2005-11-17 14:03 --- Subject: Bug 23183 Author: mark Date: Thu Nov 17 14:03:22 2005 New Revision: 107121 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=107121 Log: 2005-11-17 Mark Wielaard [EMAIL PROTECTED] *

[Bug libfortran/24909] libmatmul.a breaks darwin build

2005-11-17 Thread andreast at gcc dot gnu dot org
--- Comment #3 from andreast at gcc dot gnu dot org 2005-11-17 14:37 --- Unfortunately it does not werk :( I found this message in the libtool archive: http://lists.gnu.org/archive/html/libtool-patches/2004-08/msg2.html Currently we have this 'whole_archive_flag_spec='-all_load

[Bug target/19923] [4.0/4.1 Regression] openssl is slower when compiled with gcc 4.0 than 3.3

2005-11-17 Thread rakdver at gcc dot gnu dot org
--- Comment #35 from rakdver at gcc dot gnu dot org 2005-11-17 15:09 --- Created an attachment (id=10263) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10263action=view) Patch After some playing with fold, I arrived to the following patch, that almost works. With the patch, the

[Bug ada/15919] Compiler enters infinite loop on illegal program

2005-11-17 Thread charlet at gcc dot gnu dot org
--- Comment #2 from charlet at gcc dot gnu dot org 2005-11-17 15:15 --- Works fine on mainline as of today. Arno -- charlet at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/24793] [4.1 Regression] ICE: expected ssa_name, have var_decl in verify_ssa, at tree-ssa.c:746

2005-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2005-11-17 15:16 --- Not a frontend bug. P3. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/24855] Missing stdarg.h in ada/raise.c for arm-rtems

2005-11-17 Thread charlet at gcc dot gnu dot org
--- Comment #3 from charlet at gcc dot gnu dot org 2005-11-17 15:17 --- Closing. -- charlet at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/23202] [4.1 Regression] internal compiler error: tree check: expected ssa_name, have var_decl in verify_ssa, at tree-ssa.c:746

2005-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2005-11-17 15:17 --- Not a fortran frontend bug, but IVOPTs one. P3. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/24779] [4.0 Regression] Python miscompilation - TOC reload

2005-11-17 Thread dje at watson dot ibm dot com
--- Comment #9 from dje at watson dot ibm dot com 2005-11-17 15:17 --- Subject: Re: [4.0 Regression] Python miscompilation - TOC reload Reliably is the wrong word. The patch will fix the problem reliably for the default case; it will not fix it for a particular set of options. The

[Bug ada/21629] [doc] gnat version requirements in install.texi

2005-11-17 Thread charlet at gcc dot gnu dot org
--- Comment #1 from charlet at gcc dot gnu dot org 2005-11-17 15:23 --- The minimum requirement is not out of date. There has indeed always been a different requirement for cross compilers where you need to first have a native compiler using the exact same version, and that should

  1   2   3   >