[Bug fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work

2006-10-11 Thread paulthomas2 at wanadoo dot fr
--- Comment #5 from paulthomas2 at wanadoo dot fr 2006-10-11 06:11 --- Subject: Re: LBOUND(TRANSPOSE(I)) doesn't work FX, That's because of F95 13.14.53: Case (i): For an array section or for an array expression other than a whole array or array structure component, LBOUND(ARRAY,

[Bug driver/19353] Faulty handling of (some) user specified specs

2006-10-11 Thread gschafer at zip dot com dot au
--- Comment #7 from gschafer at zip dot com dot au 2006-10-11 06:18 --- The root cause of this bug is obvious after studying gcc.c. Essentially, the user specified specs are read _way_ too late in the process. The sequence is roughly this: 1 - search for default specs file, if found

[Bug fortran/29428] New: Error in allocatable component function calls

2006-10-11 Thread pault at gcc dot gnu dot org
program test implicit none type A integer, allocatable :: j(:) end type A type(A):: x x=f() contains function f() type(A):: f print *,I'm only called once in the fortran! f = A((/1,2/)) end function f end program calls the function twice! The code produced shows that

[Bug fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work

2006-10-11 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2006-10-11 07:26 --- With the following patch: Index: trans-array.c === --- trans-array.c (revision 117560) +++ trans-array.c (working copy) @@ -661,10

[Bug fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work

2006-10-11 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2006-10-11 07:32 --- (In reply to comment #6) Forget that patch, it's breaking lots of things :( -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29391

[Bug libstdc++/29426] [4.2 Regression] static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION

2006-10-11 Thread bkoz at gcc dot gnu dot org
--- Comment #1 from bkoz at gcc dot gnu dot org 2006-10-11 07:55 --- Mine. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at

[Bug libstdc++/29426] [4.2 Regression] static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION

2006-10-11 Thread bkoz at gcc dot gnu dot org
--- Comment #2 from bkoz at gcc dot gnu dot org 2006-10-11 07:56 --- Note we don't actually know if this is a regression, as without the stricter error checking that is now present this may not be failing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29426

[Bug libstdc++/29426] [4.2 Regression] static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION

2006-10-11 Thread bkoz at gcc dot gnu dot org
--- Comment #3 from bkoz at gcc dot gnu dot org 2006-10-11 07:58 --- This is probably just another ordering issue. I'm on it. -benjamin -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29426

[Bug fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work

2006-10-11 Thread paulthomas2 at wanadoo dot fr
--- Comment #8 from paulthomas2 at wanadoo dot fr 2006-10-11 08:02 --- Subject: Re: LBOUND(TRANSPOSE(I)) doesn't work FX, I get all intrinsics that work through temporaries working right: Great! So I only have PRODUCT, SUM, MATMUL, PACK and UNPACK to work on. I wonder if

[Bug libstdc++/29095] [4.0/4.1/4.2 Regression] cxxabi.h __cxa_cdtor_type not declared when included from C

2006-10-11 Thread bkoz at gcc dot gnu dot org
--- Comment #9 from bkoz at gcc dot gnu dot org 2006-10-11 08:30 --- Subject: Bug 29095 Author: bkoz Date: Wed Oct 11 08:30:42 2006 New Revision: 117629 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117629 Log: 2006-10-09 Benjamin Kosnik [EMAIL PROTECTED] PR

[Bug libstdc++/29095] [4.0/4.1/4.2 Regression] cxxabi.h __cxa_cdtor_type not declared when included from C

2006-10-11 Thread bkoz at gcc dot gnu dot org
--- Comment #10 from bkoz at gcc dot gnu dot org 2006-10-11 08:33 --- Fixed in mainline and gcc-4.1.2. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2006-10-11 Thread plessl at tik dot ee dot ethz dot ch
--- Comment #12 from plessl at tik dot ee dot ethz dot ch 2006-10-11 08:44 --- I can confirm that this bug still exists on with avr-gcc (GCC) 4.0.2 (running on Mac OS X 10.4.8/PPC, installed via Macports) avr-gcc -Os ~/Documents/Downloads/usart.iusart.c: In function ‘UsartIOCtl’:

[Bug c/29429] New: Incorrect code with -O

2006-10-11 Thread alireza dot salimi at gmail dot com
The code below works correctly when no Optimization flag is given to gcc and process exits as soon as a SIGHUP is sent to it. But if it is compiled with any one of -O flags, sending SIGHUP does not terminate the process. sig_atomic_t hup_rcvd = 0; void hup_handler(int signo) { hup_rcvd =

[Bug libstdc++/29426] [4.2 Regression] static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION

2006-10-11 Thread bkoz at gcc dot gnu dot org
--- Comment #4 from bkoz at gcc dot gnu dot org 2006-10-11 09:48 --- This is a regression, oh well. Can you confirm for me that mingw32 is a target w/o __cxa_atexit? I don't suppose it will make any difference, but can you please try: - __gnu_cxx::__recursive_mutex static_mutex; +

[Bug libstdc++/29426] [4.2 Regression] static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION

2006-10-11 Thread bkoz at gcc dot gnu dot org
--- Comment #5 from bkoz at gcc dot gnu dot org 2006-10-11 09:55 --- Created an attachment (id=12407) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12407action=view) simple failure testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29426

[Bug driver/29430] New: Assembler messages: Error: invalid architecture -xarch=v8

2006-10-11 Thread geraldine-n dot bert at edfgdf dot fr
Hello, I'me trying to build gcc4.1.1 with gcc -v gcc -v Reading specs from /logiciels/public/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/specs Configured with: ../configure --with-local-prefix=/logiciels/public/gcc-3.2.1 --prefix=/logiciels/public/gcc-3.2.1 --enable-thread=posix

[Bug c/29429] Incorrect code with -O

2006-10-11 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2006-10-11 10:43 --- You need to put 'volatile' on hup_rcvd for this to work. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/28230] [4.2 Regression] -O2 -fwrapv miscompiles gcc, binutils, gzip.

2006-10-11 Thread patchapp at dberlin dot org
--- Comment #18 from patchapp at dberlin dot org 2006-10-11 10:45 --- Subject: Bug number PR28230 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00607.html --

[Bug driver/29430] Assembler messages: Error: invalid architecture -xarch=v8

2006-10-11 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2006-10-11 10:53 --- This ../configure --with-mpfr=/logiciels/public/gmp-4.1.4/lib --enable-shared --with-gnu-as=/logiciels/public/binutils-2.9/bin/as --with-gnu-ld=/logiciels/public/binutils-2.9/bin/ld and that I thought it

[Bug fortran/29422] ICE with allocatable

2006-10-11 Thread patchapp at dberlin dot org
--- Comment #1 from patchapp at dberlin dot org 2006-10-11 11:00 --- Subject: Bug number PR29422 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00609.html --

[Bug inline-asm/29119] [4.0/4.1/4.2 Regression] Internal compiler error while adding __asm__ statement

2006-10-11 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-10-11 11:55 --- Gimplification marks the TARGET_EXPR addressable in { __asm__ __volatile__(::m TARGET_EXPR D.1873, { unsigned int __v; unsigned int __v; D.1873 = __v; }); } while it should mark the gimplified

[Bug c/28940] [4.0/4.1/4.2 Regression] address selection does not work correctly

2006-10-11 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2006-10-11 12:23 --- We're not folding return (int) *((char *) (long unsigned int) i + a + 1B) + (int) *((char *) (long unsigned int) i + b + 1B); one reason is that the C frontend decomposes a[i], one is the array-to-pointer decay

[Bug c/28940] [4.0/4.1/4.2 Regression] address selection does not work correctly

2006-10-11 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2006-10-11 12:30 --- One minimal fix for this is the following (patches for this I sent many times long time ago, but poking in the C frontend is tedious): Index: c-typeck.c

[Bug c/28940] [4.0/4.1/4.2 Regression] address selection does not work correctly

2006-10-11 Thread bonzini at gnu dot org
--- Comment #9 from bonzini at gnu dot org 2006-10-11 12:47 --- For this, on i386-pc-linux-gnu, C and C++ give the exact (pessimized) same code: char a[10], b[10]; int f1(int i) { return a[i+1] + b[i+1]; } That RTL address selection sucks is just a fact. :-) --

[Bug c/28940] [4.0/4.1/4.2 Regression] address selection does not work correctly

2006-10-11 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2006-10-11 12:53 --- I get (-O -m32) for C++: _Z2f1i: .LFB2: pushl %ebp .LCFI0: movl%esp, %ebp .LCFI1: movl8(%ebp), %edx addl$1, %edx movsbl b(%edx),%eax movsbl

[Bug c/28940] [4.0/4.1/4.2 Regression] address selection does not work correctly

2006-10-11 Thread paolo dot bonzini at lu dot unisi dot ch
--- Comment #11 from paolo dot bonzini at lu dot unisi dot ch 2006-10-11 13:05 --- Subject: Re: [4.0/4.1/4.2 Regression] address selection does not work correctly movl8(%ebp), %edx addl$1, %edx movsbl b(%edx),%eax movsbl a(%edx),%edx

[Bug c/29429] Incorrect code with -O

2006-10-11 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-10-11 13:12 --- You need to look at preprocessed source. sig_atomic_t should have volatile qualifier on it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29429

[Bug fortran/28849] Missed array shape violation with RESHAPE despite -fbounds-check

2006-10-11 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-10-11 13:17 --- I'll note that the Portland, Intel and g95 compilers do not see this issue either. SunStudio does, at runtime. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28849

[Bug inline-asm/29119] [4.0/4.1/4.2 Regression] Internal compiler error while adding __asm__ statement

2006-10-11 Thread patchapp at dberlin dot org
--- Comment #6 from patchapp at dberlin dot org 2006-10-11 13:31 --- Subject: Bug number PR29119 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00612.html --

[Bug fortran/28849] Missed array shape violation with RESHAPE despite -fbounds-check

2006-10-11 Thread anlauf at gmx dot de
--- Comment #3 from anlauf at gmx dot de 2006-10-11 13:58 --- (In reply to comment #2) I'll note that the Portland, Intel and g95 compilers do not see this issue either. Well, I get a bounds violation with current versions of g95 (0.91) on both Linux and Cygwin: % g95 -g

[Bug inline-asm/29119] [4.0/4.1 Regression] Internal compiler error while adding __asm__ statement

2006-10-11 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2006-10-11 14:03 --- Fixed on the mainline. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug inline-asm/29119] [4.0/4.1 Regression] Internal compiler error while adding __asm__ statement

2006-10-11 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2006-10-11 14:03 --- Subject: Bug 29119 Author: rguenth Date: Wed Oct 11 14:03:37 2006 New Revision: 117633 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117633 Log: 2006-10-11 Richard Guenther [EMAIL PROTECTED] PR

[Bug c/29429] Incorrect code with -O

2006-10-11 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-11 14:28 --- (In reply to comment #2) You need to look at preprocessed source. sig_atomic_t should have volatile qualifier on it. It is not marked for glibc 2.4: typedef int __sig_atomic_t; typedef __sig_atomic_t

[Bug c/29429] Incorrect code with -O

2006-10-11 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-11 14:44 --- http://www.codecomments.com/archive263-2005-8-441109.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29429

[Bug libstdc++/29426] [4.2 Regression] static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION

2006-10-11 Thread bkoz at gcc dot gnu dot org
--- Comment #6 from bkoz at gcc dot gnu dot org 2006-10-11 14:48 --- Created an attachment (id=12408) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12408action=view) patch Please try this and see if it works. If so, let me know. -benjamin --

[Bug c++/29002] [4.0 regression] ICE on array of ptr-to-member or struct containing ptr-to-member of unknown size

2006-10-11 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-10-11 14:55 --- Subject: Bug 29002 Author: pinskia Date: Wed Oct 11 14:55:07 2006 New Revision: 117635 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117635 Log: 2006-10-11 Andrew Pinski [EMAIL PROTECTED] PR

[Bug c++/29002] [4.0 regression] ICE on array of ptr-to-member or struct containing ptr-to-member of unknown size

2006-10-11 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-10-11 14:56 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/27701] Two routines with the same name cause an interna; error in gfortran

2006-10-11 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2006-10-11 15:35 --- Subject: Bug number PR27701 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00615.html --

[Bug fortran/29431] New: Not Implemented: complex character array constructors

2006-10-11 Thread pault at gcc dot gnu dot org
In fixing PR29373, I separated off the part to do with the function declaration from that triggered by the constructor. ! { dg-do compile } ! Tests patch for PR29373, in which the implicit character ! statement messes up the function declaration because the ! requisite functions in decl.c were

[Bug tree-optimization/28230] [4.2 Regression] -O2 -fwrapv miscompiles gcc, binutils, gzip.

2006-10-11 Thread rguenth at gcc dot gnu dot org
--- Comment #19 from rguenth at gcc dot gnu dot org 2006-10-11 16:05 --- Subject: Bug 28230 Author: rguenth Date: Wed Oct 11 16:05:37 2006 New Revision: 117637 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117637 Log: 2006-10-11 Richard Guenther [EMAIL PROTECTED] PR

[Bug tree-optimization/28230] [4.2 Regression] -O2 -fwrapv miscompiles gcc, binutils, gzip.

2006-10-11 Thread rguenth at gcc dot gnu dot org
--- Comment #20 from rguenth at gcc dot gnu dot org 2006-10-11 16:06 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/29373] implicit type declaration and contained function clash

2006-10-11 Thread tobi at gcc dot gnu dot org
--- Comment #6 from tobi at gcc dot gnu dot org 2006-10-11 16:07 --- You're working too fast, Paul. Before I even got to read your answer you already bring forward a patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29373

[Bug libfortran/29423] FAIL: gfortran.fortran-torture/execute/intrinsic_rrspacing.f90 and intrinsic_spacing.f90

2006-10-11 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2006-10-11 16:30 --- Subject: Re: FAIL: gfortran.fortran-torture/execute/intrinsic_rrspacing.f90 and intrinsic_spacing.f90 --- Comment #1 from kargl at gcc dot gnu dot org 2006-10-10 22:34 --- Update your source

[Bug c++/29432] New: Segfault after repeated throwing and catching of runtime_error exception with error string

2006-10-11 Thread cdewey at biostat dot wisc dot edu
The following code, when compiled using optimization (-O1, at least), produces a segfault after several iterations of the loop. I have reproduced the bug on two machines running the same OS and version of gcc: $ gcc -v Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs Configured

[Bug c++/29432] Segfault after repeated throwing and catching of runtime_error exception with error string

2006-10-11 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-11 16:47 --- gcc version 3.4.6 20060404 (Red Hat 3.4.6-3) First, you should have reported it to redhat first. Second I cannot reproduce this in 3.4.0, 4.0.0 or 4.1.0. -- pinskia at gcc dot gnu dot org changed:

[Bug libfortran/29423] FAIL: gfortran.fortran-torture/execute/intrinsic_rrspacing.f90 and intrinsic_spacing.f90

2006-10-11 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #3 from sgk at troutmask dot apl dot washington dot edu 2006-10-11 16:53 --- Subject: Re: FAIL: gfortran.fortran-torture/execute/intrinsic_rrspacing.f90 and intrinsic_spacing.f90 On Wed, Oct 11, 2006 at 04:30:20PM -, dave at hiauly1 dot hia dot nrc dot ca wrote:

[Bug fortran/29373] implicit type declaration and contained function clash

2006-10-11 Thread patchapp at dberlin dot org
--- Comment #7 from patchapp at dberlin dot org 2006-10-11 17:00 --- Subject: Bug number PR29373 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00620.html --

[Bug fortran/29373] implicit type declaration and contained function clash

2006-10-11 Thread paulthomas2 at wanadoo dot fr
--- Comment #8 from paulthomas2 at wanadoo dot fr 2006-10-11 17:05 --- Subject: Re: implicit type declaration and contained function clash tobi at gcc dot gnu dot org wrote: --- Comment #6 from tobi at gcc dot gnu dot org 2006-10-11 16:07 --- You're working too fast, Paul.

[Bug target/19636] Can't compile ethernut OS (avr-gcc)

2006-10-11 Thread eweddington at cso dot atmel dot com
--- Comment #13 from eweddington at cso dot atmel dot com 2006-10-11 17:05 --- (In reply to comment #12) I can confirm that this bug still exists on with avr-gcc (GCC) 4.0.2 (running on Mac OS X 10.4.8/PPC, installed via Macports) snip Is there any news on this bug? Sorry, no.

[Bug middle-end/29390] Bogus symbol inserted into valid C++ code at low optimization level

2006-10-11 Thread mi at aldan dot algebra dot com
--- Comment #14 from mi at aldan dot algebra dot com 2006-10-11 17:15 --- Ok, the problem is triggered by the ``-march=pentium4'' flag: c++ -O0 -g -c -fno-strict-aliasing -pipe -march=pentium4 loctest.ii [EMAIL PROTECTED]:source/test/intltest (1127) nm loctest.o | grep LC U

[Bug fortran/29422] ICE with allocatable

2006-10-11 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2006-10-11 17:42 --- Since I posted the patch, I had better take it unto myself! Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/29423] FAIL: gfortran.fortran-torture/execute/intrinsic_rrspacing.f90 and intrinsic_spacing.f90

2006-10-11 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca 2006-10-11 17:57 --- Subject: Re: FAIL: gfortran.fortran-torture/execute/intrinsic_rrspacing.f90 and intrinsic_spacing.f90 Done. The error still occurs. I don't see the symbol in any of the library .o files. Do

[Bug libstdc++/29426] [4.2 Regression] static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION

2006-10-11 Thread echristo at apple dot com
--- Comment #7 from echristo at apple dot com 2006-10-11 18:14 --- I'm testing it now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29426

[Bug libstdc++/29426] [4.2 Regression] static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION

2006-10-11 Thread echristo at apple dot com
--- Comment #8 from echristo at apple dot com 2006-10-11 18:24 --- OK. Seems to be working (i.e. build succeeded and testing isn't blowing up). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29426

[Bug libfortran/29423] FAIL: gfortran.fortran-torture/execute/intrinsic_rrspacing.f90 and intrinsic_spacing.f90

2006-10-11 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #5 from sgk at troutmask dot apl dot washington dot edu 2006-10-11 18:30 --- Subject: Re: FAIL: gfortran.fortran-torture/execute/intrinsic_rrspacing.f90 and intrinsic_spacing.f90 Does youir OS have fabsf, frexpf, and ldexpf? Yes, no, no. It has frexp and ldexp.

[Bug fortran/29422] ICE with allocatable

2006-10-11 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2006-10-11 18:31 --- Subject: Re: ICE with allocatable Since I posted the patch, I had better take it unto myself! Be my guest!-) Dominique -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29422

[Bug c++/29433] New: Internal error while compiling code using boost::MPL

2006-10-11 Thread grayyoga at gmail dot com
Here is a code which doesn't compile. It takes all swap space (around 2GB) and all system memory(about 1GB), compiles around 15-20 minutes and then crashes with the following message : g++: Internal error: Killed (program cc1plus) -- Summary: Internal error while compiling code using

[Bug c++/29433] Internal error while compiling code using boost::MPL

2006-10-11 Thread grayyoga at gmail dot com
--- Comment #1 from grayyoga at gmail dot com 2006-10-11 19:10 --- Created an attachment (id=12409) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12409action=view) preprocessed source file This is output of the compiler with the -save-temps switch. It's compressed 'cause there is

[Bug libstdc++/29426] [4.2 Regression] static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION

2006-10-11 Thread bkoz at gcc dot gnu dot org
--- Comment #9 from bkoz at gcc dot gnu dot org 2006-10-11 19:11 --- Hmm. Eric, are you testing this on mingw32, or on darwin? If darwin, is this the cause of the recent massive failures? If so, I'll put this in immediately. If you can let me know in the next 2-3 hours I can get it in

[Bug fortran/29434] New: array bounds of allocatable components of derived types?

2006-10-11 Thread dominiq at lps dot ens dot fr
The following code (derived from alloc_comp_constructor_1.f90): ! { dg-do run } ! { dg-options -fdump-tree-original } ! Test constructors of derived type with allocatable components (PR 20541). ! ! Contributed by Erik Edelmann [EMAIL PROTECTED] !and Paul Thomas [EMAIL PROTECTED] !

[Bug c++/29433] Internal error while compiling code using boost::MPL

2006-10-11 Thread grayyoga at gmail dot com
--- Comment #2 from grayyoga at gmail dot com 2006-10-11 19:13 --- Created an attachment (id=12410) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12410action=view) gcc -V output version and configuration information on the used gcc. --

[Bug c++/29433] Internal error while compiling code using boost::MPL

2006-10-11 Thread grayyoga at gmail dot com
--- Comment #3 from grayyoga at gmail dot com 2006-10-11 19:14 --- Created an attachment (id=12411) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12411action=view) Command Line and Error Message -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29433

[Bug c++/29024] [4.0/4.1/4.2 Regression] storage class specifier accepted for typedef (clause 7.1.1 ; 1)

2006-10-11 Thread lmillward at gcc dot gnu dot org
--- Comment #4 from lmillward at gcc dot gnu dot org 2006-10-11 19:31 --- Subject: Bug 29024 Author: lmillward Date: Wed Oct 11 19:31:33 2006 New Revision: 117641 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117641 Log: PR c++/29024 * cp-tree (struct

[Bug libstdc++/29426] [4.2 Regression] static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION

2006-10-11 Thread echristo at apple dot com
--- Comment #10 from echristo at apple dot com 2006-10-11 19:34 --- Testing on darwin, the patch seems to get rid of the massive failures I was seeing. Thanks Ben. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29426

[Bug c++/29433] Internal error while compiling code using boost::MPL

2006-10-11 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-11 19:36 --- This takes 79% of my 2GB of memory. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29433

[Bug middle-end/29390] Bogus symbol inserted into valid C++ code at low optimization level

2006-10-11 Thread mi at aldan dot algebra dot com
--- Comment #15 from mi at aldan dot algebra dot com 2006-10-11 19:38 --- Removing either the line 16037 or the 15167 in the loctest.ii gets rid of the problem. The lines both reference a string literal (en_GB_EURO), thus the bug, likely, has something to do with how the identical

[Bug c++/29024] [4.0/4.1 Regression] storage class specifier accepted for typedef (clause 7.1.1 ; 1)

2006-10-11 Thread lmillward at gcc dot gnu dot org
--- Comment #5 from lmillward at gcc dot gnu dot org 2006-10-11 19:43 --- Fixed on mainline. -- lmillward at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/29426] [4.2 Regression] static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION

2006-10-11 Thread bkoz at gcc dot gnu dot org
--- Comment #11 from bkoz at gcc dot gnu dot org 2006-10-11 20:18 --- Subject: Bug 29426 Author: bkoz Date: Wed Oct 11 20:18:36 2006 New Revision: 117643 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117643 Log: 2006-10-11 Benjamin Kosnik [EMAIL PROTECTED] PR

[Bug fortran/29371] Coredump when using -fbounds-check with pointer nullify

2006-10-11 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2006-10-11 20:43 --- Created an attachment (id=12412) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12412action=view) The correct fix for this PR THis turns out to be completely specific to nullify, or to a pointer assign to NULL().

[Bug libstdc++/29426] [4.2 Regression] static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION

2006-10-11 Thread dannysmith at users dot sourceforge dot net
--- Comment #12 from dannysmith at users dot sourceforge dot net 2006-10-11 20:54 --- (In reply to comment #4) - __gnu_cxx::__recursive_mutex static_mutex; + static __gnu_cxx::__recursive_mutex static_mutex; I tried thaty before I submitted bug report. No dice. (In reply to

[Bug target/26792] [4.2 Regression] need to use autoconf when using newly-added libgcc functions

2006-10-11 Thread tromey at gcc dot gnu dot org
--- Comment #28 from tromey at gcc dot gnu dot org 2006-10-11 21:06 --- I doubt those configure warnings are very important. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26792

[Bug libfortran/29423] FAIL: gfortran.fortran-torture/execute/intrinsic_rrspacing.f90 and intrinsic_spacing.f90

2006-10-11 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca 2006-10-11 21:45 --- Subject: Re: FAIL: gfortran.fortran-torture/execute/intrinsic_rrspacing.f90 and intrinsic_spacing.f90 Do you have scalbnf? No. Just scalbn. Dave --

[Bug ada/28733] GNAT crash while compiling Ada-2005 code

2006-10-11 Thread laurent at guerby dot net
--- Comment #7 from laurent at guerby dot net 2006-10-11 21:53 --- Confirmed. $ gcc -c -gnat05 ada_3d-file_io-step_reader.adb +===GNAT BUG DETECTED==+ | 4.2.0 20060922 (experimental) (x86_64-unknown-linux-gnu) Assert_Failure

[Bug c++/29433] using boost::MPL requires lots of memory

2006-10-11 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-10-11 21:56 --- Confirmed. Uses a lot of memory. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/29434] array bounds of allocatable components of derived types?

2006-10-11 Thread brooks at gcc dot gnu dot org
--- Comment #1 from brooks at gcc dot gnu dot org 2006-10-11 22:00 --- As per discussion on the fortran@ mailing list, the answer returned by gfortran and ifort (namely, that LBOUND(x%a) is the same as LBOUND(y)) is standard-conforming, and g95 is in error. --

[Bug middle-end/29272] [4.2 Regression] memcpy optimization causes wrong-code

2006-10-11 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2006-10-11 22:04 --- This is fixed now. Or was invalid. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/28709] [4.0/4.1/4.2 regression] Bad diagnostic pasting tokens with ##

2006-10-11 Thread mmitchel at gcc dot gnu dot org
--- Comment #1 from mmitchel at gcc dot gnu dot org 2006-10-11 22:30 --- This patch is OK, thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28709

[Bug c++/29175] [4.0/4.1/4.2 regression] ICE on invalid C++ variable length array

2006-10-11 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org

[Bug c++/29435] New: [4.1 Regression] segmentation fault

2006-10-11 Thread tbm at cyrius dot com
I get a segmentation fault compiling the attached testcase with gcc 4.1. 4.0 and 4.2 seem to work. 4.1.2 20060901 (Debian 4.1.1-13) also worked but 4.1.2 20061007 (Debian 4.1.1-16) fails, at least on x86_64. (sid)1142:[EMAIL PROTECTED]: ~] g++-4.1 -c cinepaint-plugin_main.cpp

[Bug c++/29435] [4.1 Regression] segmentation fault

2006-10-11 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2006-10-11 23:01 --- Created an attachment (id=12413) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12413action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29435

[Bug c++/29435] [4.1 Regression] segmentation fault

2006-10-11 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2006-10-11 23:02 --- Ignore my comment about x86_64. I also see this on mips. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29435

[Bug c++/29435] [4.1 Regression] segmentation fault

2006-10-11 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-11 23:05 --- I think this is a sizeof issue: sizeof (Rgb XYindex ) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29435

[Bug c++/29435] [4.1 Regression] segmentation fault

2006-10-11 Thread tbm at cyrius dot com
--- Comment #4 from tbm at cyrius dot com 2006-10-11 23:19 --- (gdb) where #0 0x0045a5ce in cxx_sizeof_or_alignof_type (type=0x2b29cf3e6b00, op=214, complain=1 '\001') at /home/tbm/scratch/gcc-4.1/gcc/cp/typeck.c:1251 #1 0x0044a947 in cp_parser_unary_expression

[Bug fortran/20863] Pointer problems in PURE procedures

2006-10-11 Thread brooks at gcc dot gnu dot org
--- Comment #2 from brooks at gcc dot gnu dot org 2006-10-12 00:07 --- On a similar note, the following is legal code for which an error is incorrectly reported: $ cat pr20863a.f90 PURE FUNCTION give_next(i) TYPE node_type sequence TYPE(node_type), POINTER ::

[Bug fortran/29371] Coredump when using -fbounds-check with pointer nullify

2006-10-11 Thread patchapp at dberlin dot org
--- Comment #3 from patchapp at dberlin dot org 2006-10-12 00:15 --- Subject: Bug number PR29371 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00635.html --

[Bug c++/29408] [4.1/4.2 regression] parse error for valid code

2006-10-11 Thread debian-gcc at lists dot debian dot org
--- Comment #7 from debian-gcc at lists dot debian dot org 2006-10-12 00:37 --- fails with trunk 20061012 as well. Matthias -- debian-gcc at lists dot debian dot org changed: What|Removed |Added

[Bug c++/28981] g++ -pedantic issues error array bound not integer although it is a constant

2006-10-11 Thread bangerth at dealii dot org
--- Comment #1 from bangerth at dealii dot org 2006-10-12 00:39 --- int array3[(const unsigned short) (20.5 * 3)]; error message from compiler is: error: array bound is not an integer constant to me this is wrong because the expression (const unsigned short) (20.5 * 3) is an

[Bug c++/22149] func pointer non-type template parm invalid access control

2006-10-11 Thread bangerth at dealii dot org
--- Comment #3 from bangerth at dealii dot org 2006-10-12 00:41 --- Confirmed. W. -- bangerth at dealii dot org changed: What|Removed |Added CC|

[Bug debug/29436] New: ICE in modified_type_die

2006-10-11 Thread acahalan at gmail dot com
$ cat ice.c typedef struct S { unsigned long flags; }S_t; struct dp { S_t c; }; typedef S_t __attribute__((__may_alias__)) cmonkey; static void handler(void *vp) { struct dp *dp; cmonkey *cm = vp; dp-c = *cm; } $ gcc -m32 -std=gnu99 -W -Wall -g3 -c ice.c

[Bug c++/23643] Incorrect conversion from derived to empty base class

2006-10-11 Thread bangerth at dealii dot org
--- Comment #2 from bangerth at dealii dot org 2006-10-12 00:56 --- Why exactly do you think that the empty base should not be located at the same address as the simple_base base object? W. -- bangerth at dealii dot org changed: What|Removed

[Bug c++/24056] failed lookup of static non-member operator function with certain templated arguments

2006-10-11 Thread bangerth at dealii dot org
--- Comment #4 from bangerth at dealii dot org 2006-10-12 01:03 --- The operator== you want to call is used in a context in which the template argument cannot be deduced (a non-deduceable context). If you want to use this construct, you will have to write something like

[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2006-10-11 Thread bangerth at dealii dot org
--- Comment #19 from bangerth at dealii dot org 2006-10-12 01:06 --- Since this is solved on mainline and nobody seems to have been able to ever reproduce it anyway, there doesn't seem to be a chance of this being actively worked on on older release branches. I'll therefore close it. We

[Bug c++/24605] [4.0/4.1 Regression] internal compiler error: Segmentation fault while compiling c++ file

2006-10-11 Thread bangerth at dealii dot org
-- bangerth at dealii dot org changed: What|Removed |Added Known to work||4.2.0 Target Milestone|4.1.2 |4.2.0

[Bug c++/26747] bad break/continue is not dectected until the gimplifier

2006-10-11 Thread bangerth at dealii dot org
--- Comment #2 from bangerth at dealii dot org 2006-10-12 01:08 --- What exactly is the problem here? I get this as an error message: g/x /home/bangerth/bin/gcc-4.2-pre/bin/c++ -c x.cc x.cc: In function #8216;void f()#8217;: x.cc:3: error: break statement not within loop or switch

[Bug c++/26747] bad break/continue is not dectected until the gimplifier

2006-10-11 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-12 01:12 --- (In reply to comment #2) What exactly is the problem here? I get this as an error message: g/x /home/bangerth/bin/gcc-4.2-pre/bin/c++ -c x.cc x.cc: In function #8216;void f()#8217;: x.cc:3: error: break

[Bug debug/29436] ICE in modified_type_die

2006-10-11 Thread acahalan at gmail dot com
--- Comment #1 from acahalan at gmail dot com 2006-10-12 01:20 --- Other ways to ICE gcc: /// typedef struct S { unsigned long flags; }S_t; typedef S_t __attribute__((__may_alias__)) cmonkey; S_t *handler(void *vp) { cmonkey *cm = vp; return

[Bug c++/26747] bad break/continue is not dectected until the gimplifier

2006-10-11 Thread bangerth at math dot tamu dot edu
--- Comment #4 from bangerth at math dot tamu dot edu 2006-10-12 01:25 --- Subject: Re: bad break/continue is not dectected until the gimplifier Yes but this semantics anyalsis is done while gimplifing and not while parsing. But I get the message also when using

[Bug debug/29436] ICE in modified_type_die

2006-10-11 Thread acahalan at gmail dot com
--- Comment #2 from acahalan at gmail dot com 2006-10-12 01:25 --- Hey, I don't even need to use the types. The typedef alone is enough to ICE gcc: typedef struct S { unsigned long flags; }S_t; typedef S_t __attribute__((__may_alias__)) cmonkey; int main(int argc, char

[Bug c++/29437] New: [decl.init.ref]/5 wrongly implemented

2006-10-11 Thread bangerth at dealii dot org
[decl.init.ref]/5 has the following text for initialization of constant references with rvalues: 5 A reference to type cv1 T1 is initialized by an expression of type cv2 T2 as follows: [...] -- If the initializer expression is an rvalue, with T2 a class type, and cv1 T1 is

[Bug c++/28254] ICE with invalid class$

2006-10-11 Thread bangerth at dealii dot org
--- Comment #1 from bangerth at dealii dot org 2006-10-12 01:39 --- Confirmed. -- bangerth at dealii dot org changed: What|Removed |Added Status|UNCONFIRMED

  1   2   >