Re: Anyone else run ACATS on ARM?

2009-08-20 Thread Matthias Klose
On 17.08.2009 12:00, Mikael Pettersson wrote: On Wed, 12 Aug 2009 23:08:00 +0200, Matthias Klosed...@debian.org wrote: On 12.08.2009 23:07, Martin Guy wrote: On 8/12/09, Joel Sherrilljoel.sherr...@oarcorp.com wrote: So any ACATS results from any other ARM target would be appreciated.

Re: Latent bug in update_equiv_regs?

2009-08-20 Thread Richard Guenther
On Thu, Aug 20, 2009 at 2:33 AM, Jeff Lawl...@redhat.com wrote: On 08/19/09 17:46, Ian Lance Taylor wrote: My understanding is that that scenario is supposed to not happen because update_equiv_regs is only supposed to equate a register and a memory location in the specific cases where that is

Re: complete_unrolli / complete_unroll

2009-08-20 Thread Richard Guenther
On Thu, Aug 20, 2009 at 3:19 AM, Albert Cohenalbert.co...@inria.fr wrote: Richard Guenther wrote: gfortran.dg/reassoc_4.f, the hottest loop from calculix. Thanks. This example is slightly different. Graphite should be able to handle it with loop fusion rather than pre-unrolling + cse. But

Re: web interface to repo just got decidedly worse

2009-08-20 Thread Mikael Pettersson
Ian Lance Taylor writes: Mikael Pettersson mi...@it.uu.se writes: When browsing e.g. gcc-cvs via the web it used to be possible to click on a newly added file and get a 'download raw' (I think it was called) option to see the file without all that idiotic html formatting. That seems

Re: complete_unrolli / complete_unroll

2009-08-20 Thread Dominique Dhumieres
IIRC another code that is improved by complete_unrolli is the polyhedron test induct.f90. However it gives worse results for some variants (see pr34265: induct_v2/3). Can't we use graphite to re-roll loops? ... Is doing and undoing always some kind of work? Cheers Dominique

Re: complete_unrolli / complete_unroll

2009-08-20 Thread Richard Guenther
On Thu, Aug 20, 2009 at 11:48 AM, Dominique Dhumieresdomi...@lps.ens.fr wrote: IIRC another code that is improved by complete_unrolli is the polyhedron test induct.f90.  However it gives worse results for some variants (see pr34265: induct_v2/3). Can't we use graphite to re-roll loops? ...

Re: enable-build-with-cxx bootstrap compare broken by r149964

2009-08-20 Thread Dave Korn
Jerry Quinn wrote: On Tue, 2009-08-18 at 08:43 -0700, Richard Henderson wrote: On 08/17/2009 07:40 PM, Jerry Quinn wrote: On Mon, 2009-08-17 at 16:16 -0400, Jason Merrill wrote: I'm not sure why GCC sources would need to mangle function-local structs, though. Would it be helpful to reserve a

Re: i370 port

2009-08-20 Thread Paul Edwards
That depends a bit on the compiler version and optimization level, but (in particular in the 3.x time frame) GCC may output assembler code on a function-by-function basis, without necessarily reading in the whole source file first. Ok, actually it doesn't matter if it doesn't work all the

Re: Anyone else run ACATS on ARM?

2009-08-20 Thread Joel Sherrill
Matthias Klose wrote: On 17.08.2009 12:00, Mikael Pettersson wrote: On Wed, 12 Aug 2009 23:08:00 +0200, Matthias Klosed...@debian.org wrote: On 12.08.2009 23:07, Martin Guy wrote: On 8/12/09, Joel Sherrilljoel.sherr...@oarcorp.com wrote: So any ACATS results

Re: complete_unrolli / complete_unroll

2009-08-20 Thread Albert Cohen
Richard Guenther wrote: If this is not clear, I can write some pseudo-code to clarify :-). Can't we use graphite to re-roll loops? That is, compress the polyhedron by introducing a new parameter? But maybe I am not good at guessing what your initial bloat issue looks like. The reason

Re: enable-build-with-cxx bootstrap compare broken by r149964

2009-08-20 Thread Dave Korn
Jerry Quinn wrote: On Thu, 2009-08-20 at 11:12 +0100, Dave Korn wrote: Jerry Quinn wrote: Apparently my change is too naive, because the assembler doesn't like a name with '*' in it. Are there any chars that can pass muster with assemblers but not be a valid namespace identifier? Don't

Re: enable-build-with-cxx bootstrap compare broken by r149964

2009-08-20 Thread Jerry Quinn
On Thu, 2009-08-20 at 11:12 +0100, Dave Korn wrote: Jerry Quinn wrote: On Tue, 2009-08-18 at 08:43 -0700, Richard Henderson wrote: On 08/17/2009 07:40 PM, Jerry Quinn wrote: On Mon, 2009-08-17 at 16:16 -0400, Jason Merrill wrote: I'm not sure why GCC sources would need to mangle

Re: Latent bug in update_equiv_regs?

2009-08-20 Thread Jeff Law
On 08/19/09 18:48, Ian Lance Taylor wrote: Jeff Lawl...@redhat.com writes: You're right. This should have been rejected by validate_equiv_mem, but isn't because the two memory references are in different alias sets. You can see this in the mainline sources configured for

Re: enable-build-with-cxx bootstrap compare broken by r149964

2009-08-20 Thread Jerry Quinn
On Thu, 2009-08-20 at 14:05 +0100, Dave Korn wrote: Jerry Quinn wrote: On Thu, 2009-08-20 at 11:12 +0100, Dave Korn wrote: Jerry Quinn wrote: Apparently my change is too naive, because the assembler doesn't like a name with '*' in it. Are there any chars that can pass muster with

Re: Latent bug in update_equiv_regs?

2009-08-20 Thread Jeff Law
On 08/20/09 02:45, Richard Guenther wrote: It looks indeed bogus. Do you have a testcase at hand? Compile the attached testcase with -O3 -mopenmp on i686-pc-linux-gnu. Find MAIN__.omp_fn.2 in the .expand dump. Within that function, you're looking for this sequence of insns: ;;

Re: Latent bug in update_equiv_regs?

2009-08-20 Thread Richard Guenther
On Thu, Aug 20, 2009 at 3:37 PM, Jeff Lawl...@redhat.com wrote: On 08/20/09 02:45, Richard Guenther wrote: It looks indeed bogus.  Do you have a testcase at hand? Compile the attached testcase with -O3 -mopenmp on i686-pc-linux-gnu.  Find MAIN__.omp_fn.2 in the .expand dump. Within that

Re: enable-build-with-cxx bootstrap compare broken by r149964

2009-08-20 Thread Dave Korn
Jerry Quinn wrote: OK, I'm now confused. How does this dovetail with anonymous namespaces? We're talking about typeinfo strings. The namespace is part of the typeinfo name string (the so-called NTBS name), and it's the random number in the anonymous namespace name used for these local

Re: enable-build-with-cxx bootstrap compare broken by r149964

2009-08-20 Thread Dave Korn
Dave Korn wrote: What I think you need to do is use an identifier for the anonymous namespace without an asterisk, but prefix the asterisk when generating the corresponding NTBS name string; then your changes to the name comparison routines in libsupc++ should work, but the typeinfo name

GCC 4.4.2 Status Report (2009-08-20)

2009-08-20 Thread Joseph S. Myers
Status == The 4.4 branch is open for commits under the usual release branch rules. The timing of the 4.4.2 release (at least two months after the 4.4.1 release, at a point when there are no P1 regressions open for the branch) has yet to be determined. Quality Data Priority

Re: i370 port

2009-08-20 Thread Ulrich Weigand
Paul Edwards wrote: Hmm, it seems 3.2.x would *always* operate on a function-by-function basis. The unit-at-a-time mode was only introduced with 3.4 (I don't recall if it was already present in 3.3). I don't think there is any way in 3.2.3 to check whether there is a main function in

RE: Implementing C++1x and C1x atomics (really an aside on SFENCE)

2009-08-20 Thread Boehm, Hans
-Original Message- From: Lawrence Crowl [mailto:cr...@google.com] The problem is that gcc does support 80386. It also supports other processors that have less-than-complete support for concurrency. Just in the x86 line, we get some additional capability in many new layers.

Re: i370 port

2009-08-20 Thread Paul Edwards
Hmm, it seems 3.2.x would *always* operate on a function-by-function basis. The unit-at-a-time mode was only introduced with 3.4 (I don't recall if it was already present in 3.3). I don't think there is any way in 3.2.3 to check whether there is a main function in the file before it is

gcc-4.5-20090820 is now available

2009-08-20 Thread gccadmin
Snapshot gcc-4.5-20090820 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20090820/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.5 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

Exception handling information

2009-08-20 Thread SD
Hello, After searching this list it appears that with recent gcc (I am using gcc 4.1), C++ exception handling has zero overhead (unless an exception actually happens) Where can I find more information on how exception handling is done and if this zero overhead property is always true. I

Re: Exception handling information

2009-08-20 Thread Dave Korn
SD wrote: Hello, After searching this list it appears that with recent gcc (I am using gcc 4.1), C++ exception handling has zero overhead (unless an exception actually happens) Where can I find more information on how exception handling is done and if this zero overhead property is

Re: Exception handling information

2009-08-20 Thread Ian Lance Taylor
Dave Korn dave.korn.cyg...@googlemail.com writes: The DW2 version has zero overhead in terms of execution time when no exceptions are thrown, but adds a noticeable amount of memory usage for the eh tables. For the extremely picky (and who among us is not extremely picky) there is still some

[Bug fortran/41129] unassociated pointers are reported as associated by associated function in types

2009-08-20 Thread jv244 at cam dot ac dot uk
--- Comment #3 from jv244 at cam dot ac dot uk 2009-08-20 07:09 --- the pointers are undefined and thus it is not standard conforming to ask for their state. This is like asking if an uninitialized integer is 0 or not. you can use type S0 real, dimension(:), pointer :: P =

[Bug fortran/41129] unassociated pointers are reported as associated by associated function in types

2009-08-20 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-08-20 07:12 --- (In reply to comment #0) type S0 real, dimension(:), pointer :: P ! NLEV end type S0 type (S0) :: x0 write (*,*) 'x0%P', associated(x0%P) You have never initialized the pointer x0%P.

[Bug fortran/41121] [4.5 Regression] compile-time error when building BLAS with -fimplicit-none

2009-08-20 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41121

[Bug c++/13682] Compile error with cstdio: fgetpos not declared on AIX

2009-08-20 Thread oliver at FreeBSD dot org
--- Comment #8 from oliver at FreeBSD dot org 2009-08-20 07:31 --- I fixed this on my AIX system by changing /opt/pkg/gcc34/include/c++/3.4.6/cstdio. I uncommented the undef's: snip // Get rid of those macros defined in stdio.h in lieu of real functions. #undef clearerr #undef fclose

[Bug fortran/41121] [4.5 Regression] compile-time error when building BLAS with -fimplicit-none

2009-08-20 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2009-08-20 07:45 --- Curiously, this does not happen when using the IMPLICIT NONE statement, instead of -fimplicit-none: IMPLICIT NONE INTRINSIC MIN INTEGER :: I,J print *,MIN(I,J) END --

[Bug fortran/41121] [4.5 Regression] compile-time error when building BLAS with -fimplicit-none

2009-08-20 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-08-20 08:04 --- Here's the fix: Index: gcc/fortran/resolve.c === --- gcc/fortran/resolve.c (revision 150933) +++ gcc/fortran/resolve.c (working copy) @@

[Bug fortran/41121] [4.5 Regression] compile-time error when building BLAS with -fimplicit-none

2009-08-20 Thread jv244 at cam dot ac dot uk
--- Comment #4 from jv244 at cam dot ac dot uk 2009-08-20 08:25 --- (In reply to comment #3) Here's the fix: does it fully fix the original, i.e. a1 and a2 shouldn't be warned for either. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41121

[Bug middle-end/16660] attribute((aligned)) doesn't work for variables on the stack for greater than required alignement

2009-08-20 Thread lessen42+gcc at gmail dot com
--- Comment #18 from lessen42+gcc at gmail dot com 2009-08-20 08:49 --- This still doesn't work on ARM either (tested with 4.4.0). The EABI only mandates the stack be 8 byte aligned, and gcc silently clips any alignment request above 8 bytes to 8 (so even if the stack were 16-byte

[Bug libstdc++/39107] Building an i686-pc-linux-gnu - i686-pc-mingw32 crosscompiler fails on libstdc++ configure

2009-08-20 Thread t66667 at gmail dot com
--- Comment #10 from t7 at gmail dot com 2009-08-20 08:53 --- Hi, I try to build a gcc-4.4.1 cross compiler target x86_64-w64-mingw32 from slackware linux 12.2 (i486-slackware-linux) and is getting the same error as this report. Checking multilib configuration for libstdc++-v3...

[Bug fortran/41121] [4.5 Regression] compile-time error when building BLAS with -fimplicit-none

2009-08-20 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2009-08-20 08:59 --- (In reply to comment #4) does it fully fix the original, i.e. a1 and a2 shouldn't be warned for either. It does. Btw these 'a1' and 'a2' don't appear anywhere in dgbmv.f. I think they are the formal arguements of

[Bug fortran/41121] [4.5 Regression] compile-time error when building BLAS with -fimplicit-none

2009-08-20 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2009-08-20 09:33 --- Subject: Bug 41121 Author: janus Date: Thu Aug 20 09:33:01 2009 New Revision: 150957 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150957 Log: 2009-08-20 Janus Weil ja...@gcc.gnu.org PR

[Bug fortran/41121] [4.5 Regression] compile-time error when building BLAS with -fimplicit-none

2009-08-20 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2009-08-20 09:36 --- Fixed with r150957. Closing. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/26118] avr-gcc (GCC) 3.4.5 Bug: copying structure through pointer will destroy the pointer

2009-08-20 Thread anitha dot boyapati at atmel dot com
--- Comment #8 from anitha dot boyapati at atmel dot com 2009-08-20 09:46 --- Created an attachment (id=18403) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18403action=view) Images display the contents of rx_tel_in_ptr before and after the assignment This issue does not arise

[Bug fortran/41126] [4.5 Regression] internal compiler error: in gfc_conv_string_tmp

2009-08-20 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2009-08-20 11:54 --- (In reply to comment #1) guessing: 2009-08-17 Janus Weil ja...@gcc.gnu.org PR fortran/40877 This was r150823, which seems to be working for me. However, I don't see why r150825 fails for Dominique

[Bug ada/41122] libada multilib string parsing error

2009-08-20 Thread ludovic at ludovic-brenta dot org
--- Comment #1 from ludovic at ludovic-brenta dot org 2009-08-20 12:02 --- At first glance: the makefile seems not to be calling awk at all; the first word is BEGIN; obviously the command BEGIN is not found. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41122

[Bug target/35936] Cannot compile libgcc.S on avr

2009-08-20 Thread abnikant dot singh at atmel dot com
--- Comment #3 from abnikant dot singh at atmel dot com 2009-08-20 12:03 --- No error observed in gcc-4.4.0,libgcc.S compiles fine for -mmcu=avr31 with the same command line as reported in the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35936

[Bug ada/41122] libada multilib string parsing error

2009-08-20 Thread ludovic at ludovic-brenta dot org
--- Comment #2 from ludovic at ludovic-brenta dot org 2009-08-20 12:04 --- Actually, the whole awk program, which is presumably between single quotes in the makefile, is the command which is not found. The command should be awk. --

[Bug fortran/41126] [4.5 Regression] internal compiler error: in gfc_conv_string_tmp

2009-08-20 Thread jv244 at cam dot ac dot uk
--- Comment #5 from jv244 at cam dot ac dot uk 2009-08-20 12:07 --- I went checking my logs in more detail. I believe revision 150854 is fine (so sorry, my previous guess was wrong), while 150940 fails for me. That would leave three more revs from the FE: r150856 | domob | 2009-08-17

[Bug fortran/41126] [4.5 Regression] internal compiler error: in gfc_conv_string_tmp

2009-08-20 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2009-08-20 12:15 --- However, I don't see why r150825 fails for Dominique then (r150824/25 are both Ada-related). The revision numbers are those recorded when I did the update, they are only an upper bound for the relevant changes

[Bug fortran/41126] [4.5 Regression] internal compiler error: in gfc_conv_string_tmp

2009-08-20 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2009-08-20 12:23 --- (In reply to comment #5) but I don't dare to guess this time :-) Awww, come on, don't be shy ;) Seriously, though, I'd bet that r150875 is not the culprit. Not because it's mine, but because it is completely

[Bug debug/41130] New: GCC should emit an index of publicly named entities

2009-08-20 Thread dodji at gcc dot gnu dot org
A somewhat detailed explanation of the needs and possible solution is available at http://gcc.gnu.org/wiki/DebugGNUIndexSection . It was posted for discussion to http://sourceware.org/ml/archer/2009-q3/msg00105.html . -- Summary: GCC should emit an index of publicly named entities

[Bug debug/41130] GCC should emit an index of publicly named entities

2009-08-20 Thread dodji at gcc dot gnu dot org
-- dodji at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41130

[Bug debug/41130] GCC should emit an index of publicly named entities

2009-08-20 Thread dodji at gcc dot gnu dot org
-- dodji at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last

[Bug fortran/41126] [4.5 Regression] internal compiler error: in gfc_conv_string_tmp

2009-08-20 Thread janus at gcc dot gnu dot org
--- Comment #8 from janus at gcc dot gnu dot org 2009-08-20 12:53 --- (In reply to comment #5) r150856 | domob | 2009-08-17 20:55:30 +0200 (Mon, 17 Aug 2009) | 14 lines r150858 | pault | 2009-08-17 22:17:12 +0200 (Mon, 17 Aug 2009) | 13 lines r150875 | janus | 2009-08-18 16:23:35

[Bug ada/41122] libada multilib string parsing error

2009-08-20 Thread joel at gcc dot gnu dot org
--- Comment #3 from joel at gcc dot gnu dot org 2009-08-20 13:00 --- Does AWK need to be set in libada/Makefile.in? Since this works for C/C++, it must be OK in other places. In gcc/config/m68k/t-mlibs... M68K_AWK = $(strip $(shell $(AWK) 'BEGIN { FS=[ \t]*[,()][ \t]*; ORS= }; \

[Bug fortran/41126] [4.5 Regression] internal compiler error: in gfc_conv_string_tmp

2009-08-20 Thread janus at gcc dot gnu dot org
--- Comment #9 from janus at gcc dot gnu dot org 2009-08-20 13:11 --- Maybe r150934? Indeed: I just verified that r150934 is the source of this regression. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/41122] libada multilib string parsing error

2009-08-20 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bonzini at gnu dot org |dot org |

[Bug fortran/41053] internal compiler error: in emit_swap_insn, at reg-stack.c:827

2009-08-20 Thread janus at gcc dot gnu dot org
-- janus at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41053

[Bug fortran/41126] [4.5 Regression] internal compiler error: in gfc_conv_string_tmp

2009-08-20 Thread matz at gcc dot gnu dot org
--- Comment #10 from matz at gcc dot gnu dot org 2009-08-20 13:48 --- Mine. -- matz at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at

[Bug ada/41122] libada multilib string parsing error

2009-08-20 Thread joel at gcc dot gnu dot org
--- Comment #4 from joel at gcc dot gnu dot org 2009-08-20 13:57 --- Will you be applying it to 4.4 and the head? And a thank you. If we ever manage to meet in person, I owe you a beer, wine or a nice dessert. Your choice. :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41122

[Bug debug/41130] GCC should emit an index of publicly named entities

2009-08-20 Thread dodji at gcc dot gnu dot org
--- Comment #1 from dodji at gcc dot gnu dot org 2009-08-20 14:42 --- Created an attachment (id=18404) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18404action=view) First shot implementation Implements the .debug_gnu_index section. It fully implements the proposal, modulo the

[Bug fortran/41062] [4.4 Regression] ICE in gfc_trans_use_stmts, at fortran/trans-decl.c:3438

2009-08-20 Thread jsm28 at gcc dot gnu dot org
-- jsm28 at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41062

[Bug fortran/41106] [F03] Procedure Pointers with CHARACTER results

2009-08-20 Thread janus at gcc dot gnu dot org
-- janus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |janus at gcc dot gnu dot org |dot org

[Bug c++/41131] New: non-lvalue in unary `' wrongly accepted

2009-08-20 Thread sergei_lus at yahoo dot com
According to the iso 14882:1998 5.2.5 Class member access, the following code: class X { public: enum enumX { a=100 }; }; int main(void) { X x; (void) x.a;// should not compile return 1; } should not compile, but with the following version of g++: g++ -v

[Bug fortran/41126] [4.5 Regression] internal compiler error: in gfc_conv_string_tmp

2009-08-20 Thread matz at gcc dot gnu dot org
--- Comment #11 from matz at gcc dot gnu dot org 2009-08-20 15:35 --- Fixed in r150964. -- matz at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41053] internal compiler error: in emit_swap_insn, at reg-stack.c:827

2009-08-20 Thread gkandhakumar at gmail dot com
--- Comment #3 from gkandhakumar at gmail dot com 2009-08-20 15:40 --- Created an attachment (id=18405) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18405action=view) it is a routine where i got the error Thanks for considered my problem and sorry for late reply. while running

[Bug fortran/41053] internal compiler error: in emit_swap_insn, at reg-stack.c:827

2009-08-20 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2009-08-20 16:26 --- You nee to provide all the *.h, *.incnc, and *.inc needed files also. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41053

[Bug c++/41132] New: internal compiler error: Segmentation fault

2009-08-20 Thread mathieu dot malaterre at gmail dot com
I cannot compile gdcm using gcc 4.1.0 (at least the one shipped in etch: pentium-builder). Step to reproduce (on debian testing system): 1. sudo apt-get install pentium-builder 2. Get GDCM source (SVN) 3. Compile line is: /usr/bin/c++ -DgdcmDSED_EXPORTS -g -O0 -fprofile-arcs -ftest-coverage

[Bug c++/41132] internal compiler error: Segmentation fault

2009-08-20 Thread mathieu dot malaterre at gmail dot com
--- Comment #1 from mathieu dot malaterre at gmail dot com 2009-08-20 17:15 --- Created an attachment (id=18406) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18406action=view) -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41132

[Bug fortran/40962] Conversion problem for f-allocatable - cptr - fptr - f-allocatable

2009-08-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2009-08-20 17:16 --- I have a patch. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41132] internal compiler error: Segmentation fault

2009-08-20 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-08-20 17:32 --- This is a prerelease GCC delivered by Debian, as such problems should be reported to Debian, in the first place. Moreover, FSF 4.1.x is not maintained anymore. -- paolo dot carlini at oracle dot com

[Bug c++/41131] non-lvalue in unary `' wrongly accepted

2009-08-20 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-08-20 19:07 --- This got broken by http://gcc.gnu.org/ml/gcc-patches/2005-04/msg02640.html (the lvalue_p_1 change to handle CONST_DECL). Unfortunately the patch didn't have any comments why has that been necessary. -- jakub at

[Bug c++/41131] [4.3/4.4/4.5 Regression] non-lvalue in unary `' wrongly accepted

2009-08-20 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-08-20 19:09 --- (In reply to comment #1) This got broken by http://gcc.gnu.org/ml/gcc-patches/2005-04/msg02640.html (the lvalue_p_1 change to handle CONST_DECL). Unfortunately the patch didn't have any comments why has that

[Bug c++/41131] [4.3/4.4/4.5 Regression] non-lvalue in unary `' wrongly accepted

2009-08-20 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-08-20 19:26 --- Created an attachment (id=18407) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18407action=view) gcc45-pr41131.patch I guess objc_build_string_object is the reason, except for that function CONST_DECLs are only

[Bug inline-asm/41133] New: Inline Assembler: Constraint A expected different behavior

2009-08-20 Thread andreas dot freimuth at united-bits dot de
The documentation of the constraint A says: The a and d registers, as a pair (for instructions that return half the result in one and half in the other). So I expect: asm(/* dx = 0, ax = 1 */ :: A ((int32_t)1) ); asm(/* edx = 0, eax = 1 */ :: A ((int64_t)1) ); //asm(/* rdx = 0, rax = 1 */ :: A

[Bug fortran/40962] Conversion problem for f-allocatable - cptr - fptr - f-allocatable

2009-08-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2009-08-20 20:16 --- Subject: Bug 40962 Author: tkoenig Date: Thu Aug 20 20:16:15 2009 New Revision: 150974 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150974 Log: 2009-08-20 Thomas Koenig tkoe...@gcc.gnu.org PR

[Bug c++/41110] [4.5 regression] Wrong unused variable warning

2009-08-20 Thread bangerth at gmail dot com
--- Comment #1 from bangerth at gmail dot com 2009-08-20 20:40 --- Jason, might this be a result of your changes to used/unused variables? W. -- bangerth at gmail dot com changed: What|Removed |Added

[Bug c++/41109] [4.5 regression] Argument flagged as unused despite use in sizeof()

2009-08-20 Thread bangerth at gmail dot com
--- Comment #1 from bangerth at gmail dot com 2009-08-20 20:41 --- Jason, might this be a result of your changes to used/unused variables? W. -- bangerth at gmail dot com changed: What|Removed |Added

[Bug fortran/40962] Conversion problem for f-allocatable - cptr - fptr - f-allocatable

2009-08-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #8 from tkoenig at gcc dot gnu dot org 2009-08-20 20:42 --- Subject: Bug 40962 Author: tkoenig Date: Thu Aug 20 20:42:38 2009 New Revision: 150975 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150975 Log: 2009-08-20 Thomas Koenig tkoe...@gcc.gnu.org PR

[Bug c++/41134] New: [4.5 regression] Variable flagges unused if only used in template function

2009-08-20 Thread bangerth at gmail dot com
Here's yet another case of a variable that is flagged as unused when it is actually referenced. I agree that this is a corner case: the variable really *is* unused, the template function is not instantiated after all. That said, this is not an uncommon idiom, the code is extracted from the

[Bug c++/41134] [4.5 regression] Variable flagges unused if only used in template function

2009-08-20 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-08-20 20:44 --- Well this is invalid code that is accepted by GCC anyways -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41134

[Bug c++/41134] [4.5 regression] Variable flagged unused if only used in template function

2009-08-20 Thread bangerth at gmail dot com
--- Comment #2 from bangerth at gmail dot com 2009-08-20 20:47 --- (In reply to comment #1) Well this is invalid code that is accepted by GCC anyways How so?? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41134

[Bug c++/41134] [4.5 regression] Variable flagged unused if only used in template function

2009-08-20 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-08-20 20:49 --- You cannot use a static variable in a template :). Note the following is valid though: namespace { int i; } template typename int f() { return i; } And still invokes the warning: t4.cc:1:17: warning: 'unnamed::i'

[Bug c++/41134] [4.5 regression] Variable flagged unused if only used in template function

2009-08-20 Thread bangerth at gmail dot com
--- Comment #4 from bangerth at gmail dot com 2009-08-20 20:54 --- (In reply to comment #3) You cannot use a static variable in a template :). I would be unaware of that restriction. It's true that you can't use objects with internal linkage (such as static variables) as *template

[Bug fortran/40962] Conversion problem for f-allocatable - cptr - fptr - f-allocatable

2009-08-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #9 from tkoenig at gcc dot gnu dot org 2009-08-20 20:56 --- Fixed on trunk and 4.4, closing. If anybody wants to backport the fix to 4.3, be my guest :-) -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41134] [4.5 regression] Variable flagged unused if only used in template function

2009-08-20 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-08-20 21:11 --- Why is this a regression? Which compiler version didn't warn here? The question is really whether we want unused variables just in the case where we can remove it and without further changes the program is still

[Bug c++/41134] [4.5 regression] Variable flagged unused if only used in template function

2009-08-20 Thread bangerth at gmail dot com
--- Comment #6 from bangerth at gmail dot com 2009-08-20 21:20 --- (In reply to comment #5) Why is this a regression? Which compiler version didn't warn here? 4.3.2. Current mainline warns. The question is really whether we want unused variables just in the case where we can

[Bug c++/41131] [4.3/4.4/4.5 Regression] non-lvalue in unary `' wrongly accepted

2009-08-20 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2009-08-20 22:03 --- Pinski: You made TREE_STATIC CONST_DECLs? Why? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41131

[Bug c++/41131] [4.3/4.4/4.5 Regression] non-lvalue in unary `' wrongly accepted

2009-08-20 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-08-20 22:04 --- (In reply to comment #4) Pinski: You made TREE_STATIC CONST_DECLs? Why? The Fortran front-end did that before I did it ... (RTH did that). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41131

[Bug target/26118] avr-gcc (GCC) 3.4.5 Bug: copying structure through pointer will destroy the pointer

2009-08-20 Thread eric dot weddington at atmel dot com
--- Comment #9 from eric dot weddington at atmel dot com 2009-08-20 22:13 --- According to comment #8, the problem no longer exists in gcc 4.3.2. Closing bug as WONTFIX. -- eric dot weddington at atmel dot com changed: What|Removed |Added

[Bug inline-asm/41133] Inline Assembler: Constraint A expected different behavior

2009-08-20 Thread rth at gcc dot gnu dot org
--- Comment #1 from rth at gcc dot gnu dot org 2009-08-20 22:28 --- This is expected. The A constraint supposed to be used for a PAIR. This means 64-bit values in 32-bit code or 128-bit values in 64-bit code. -- rth at gcc dot gnu dot org changed: What|Removed

[Bug target/35936] Cannot compile libgcc.S on avr

2009-08-20 Thread eric dot weddington at atmel dot com
--- Comment #4 from eric dot weddington at atmel dot com 2009-08-20 22:33 --- Seems to be fixed now. Closing as WONTFIX. -- eric dot weddington at atmel dot com changed: What|Removed |Added

[Bug target/17994] avr-gcc does not output a dwarf2 .debug_frame section

2009-08-20 Thread eric dot weddington at atmel dot com
--- Comment #2 from eric dot weddington at atmel dot com 2009-08-20 22:40 --- Hi Torleif, Please check more recent versions such as 4.3.2, 4.3.3, or 4.4.0. There are .debug_frame sections in there, but I don't know if it contains the information that you're looking for. Thanks, Eric

[Bug c++/41135] New: Uninitialized variable usage warning broken

2009-08-20 Thread bgamari at gmail dot com
Compiling the attached testcase should produce a warning, as it does with g++ 4.3.2 (at least with -O or above), $ g++-4.3 -Wall -Wextra -pedantic -ansi -O3 hi.cpp /usr/include/bits/stdio2.h: In function ‘int main()’: /usr/include/bits/stdio2.h:105: warning: ‘hi.arraydouble, 4::a[1]’ is used

[Bug c++/41135] Uninitialized variable usage warning broken

2009-08-20 Thread bgamari at gmail dot com
--- Comment #1 from bgamari at gmail dot com 2009-08-20 23:26 --- Created an attachment (id=18408) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18408action=view) Warning test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41135

[Bug bootstrap/41136] New: ld picks up multiple definitions of *fstat*

2009-08-20 Thread t66667 at gmail dot com
x86_64-w64-mingw32-gcc -fomit-frame-pointer -D__USE_MINGW_ACCESS -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings

[Bug bootstrap/38892] gcc 4.4.0 20090104 - natVMVirtualMachine.cc:903: error: request for member 'frame_type' in ...

2009-08-20 Thread davek at gcc dot gnu dot org
--- Comment #10 from davek at gcc dot gnu dot org 2009-08-21 02:20 --- *** Bug 30570 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38892

[Bug libgcj/30570] Word DEBUG used as a variable in VMAccessController.java breaks build

2009-08-20 Thread davek at gcc dot gnu dot org
--- Comment #9 from davek at gcc dot gnu dot org 2009-08-21 02:20 --- *** This bug has been marked as a duplicate of 38892 *** -- davek at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/38892] gcc 4.4.0 20090104 - natVMVirtualMachine.cc:903: error: request for member 'frame_type' in ...

2009-08-20 Thread davek at gcc dot gnu dot org
--- Comment #11 from davek at gcc dot gnu dot org 2009-08-21 02:23 --- This has been fixed now since these two revisions were applied: http://gcc.gnu.org/viewcvs?view=revisionrevision=146627 http://gcc.gnu.org/viewcvs?view=revisionrevision=146869 These days libjava builds fine

[Bug boehm-gc/34232] bootstrap fails when libgcj enabled due to undefined reference in libgcjgc (boehm-gc)

2009-08-20 Thread davek at gcc dot gnu dot org
--- Comment #1 from davek at gcc dot gnu dot org 2009-08-21 02:26 --- Was fixed in http://gcc.gnu.org/viewcvs?view=revisionrevision=147641 -- davek at gcc dot gnu dot org changed: What|Removed |Added