[Bug middle-end/32711] Regression: ICE when using inline asm constraint "X"

2007-07-09 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-07-10 06:46 --- (In reply to comment #1) > "X" constraint means anything matches. Now why we are ICEing is a bit weird We hit: /* We have patterns that allow zero sets of memory, for instance. In 64-bit mode, we should p

[Bug fortran/20520] allocatable arrays used uninitialized without a warning

2007-07-09 Thread dfranke at gcc dot gnu dot org
--- Comment #10 from dfranke at gcc dot gnu dot org 2007-07-10 06:37 --- *** Bug 32709 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20520

[Bug fortran/32709] Diagnose: ALLOCATABLE array used but never ALLOCATEd

2007-07-09 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2007-07-10 06:37 --- *** This bug has been marked as a duplicate of 20520 *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/32673] Wrongly allowed: Statement function with subobject of constant

2007-07-09 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-07-10 06:23 --- I think this is indeed no bug. I contacted NAG f95 and if they found something in the standard which we overlooked, I will reopen this PR. -- burnus at gcc dot gnu dot org changed: What|Removed

[Bug libfortran/32702] [4.3 Regression] crash when printing big character variable

2007-07-09 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2007-07-10 05:59 --- Closing -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added Status|ASS

[Bug libfortran/32702] [4.3 Regression] crash when printing big character variable

2007-07-09 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2007-07-10 05:37 --- Subject: Bug 32702 Author: jvdelisle Date: Tue Jul 10 05:37:29 2007 New Revision: 126510 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126510 Log: 2007-07-09 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/32157] intrinsic function name conflicts with subroutine if present in the same file

2007-07-09 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2007-07-10 05:15 --- Fixed on trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug fortran/32634] renamed, use associated generic interface rejected

2007-07-09 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2007-07-10 05:13 --- Fixed on trunk. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug fortran/32689] [4.3 regression] TRANSFER returns scalar, even if MOLD is an array

2007-07-09 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2007-07-10 05:12 --- Fixed Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/32689] [4.3 regression] TRANSFER returns scalar, even if MOLD is an array

2007-07-09 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2007-07-10 05:11 --- Subject: Bug 32689 Author: pault Date: Tue Jul 10 05:11:00 2007 New Revision: 126509 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126509 Log: 2007-07-10 Paul Thomas <[EMAIL PROTECTED]> PR fortran/

[Bug fortran/32634] renamed, use associated generic interface rejected

2007-07-09 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2007-07-10 05:11 --- Subject: Bug 32634 Author: pault Date: Tue Jul 10 05:11:00 2007 New Revision: 126509 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126509 Log: 2007-07-10 Paul Thomas <[EMAIL PROTECTED]> PR fortran/

[Bug fortran/32157] intrinsic function name conflicts with subroutine if present in the same file

2007-07-09 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2007-07-10 05:11 --- Subject: Bug 32157 Author: pault Date: Tue Jul 10 05:11:00 2007 New Revision: 126509 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126509 Log: 2007-07-10 Paul Thomas <[EMAIL PROTECTED]> PR fortran/

[Bug libstdc++/32683] Compiling HPCToolkit causes many errors and warnings using GCC 4.3 (but not prior versions)

2007-07-09 Thread rob1weld at aol dot com
--- Comment #7 from rob1weld at aol dot com 2007-07-10 04:55 --- >--- Comment #3 From Paolo Carlini 2007-07-09 08:43 [reply] --- >Note that in 4.3 the header dependencies have been streamlined and it's well >possible that some projects around are failing to include required head

[Bug libstdc++/32683] Compiling HPCToolkit causes many errors and warnings using GCC 4.3 (but not prior versions)

2007-07-09 Thread rob1weld at aol dot com
--- Comment #6 from rob1weld at aol dot com 2007-07-10 04:31 --- >Comment #5 From Paolo Carlini 2007-07-09 21:19 [reply] --- >The last issue simply doesn't make sense. On page http://gcc.gnu.org/bugs.html#need it says: "the preprocessed file (*.i*) that triggers the bug, generated

[Bug c++/32676] [cxx0x branch] incorrect member address when using delegate constructors and virtual inheritance

2007-07-09 Thread pedro dot lamarao at mndfck dot org
--- Comment #1 from pedro dot lamarao at mndfck dot org 2007-07-10 01:33 --- Just to note I'm aware of the bug. I'll take a look at it soon but unfortunately not too soon. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32676

[Bug rtl-optimization/32664] [sh] ICE in create_pre_exit, at mode-switching.c:373

2007-07-09 Thread kkojima at gcc dot gnu dot org
--- Comment #4 from kkojima at gcc dot gnu dot org 2007-07-10 01:02 --- Fixed. -- kkojima at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug rtl-optimization/32664] [sh] ICE in create_pre_exit, at mode-switching.c:373

2007-07-09 Thread kkojima at gcc dot gnu dot org
--- Comment #3 from kkojima at gcc dot gnu dot org 2007-07-10 01:01 --- Subject: Bug 32664 Author: kkojima Date: Tue Jul 10 01:01:11 2007 New Revision: 126507 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126507 Log: PR rtl-optimization/32664 * mode-switching.c

[Bug libfortran/32702] [4.3 Regression] crash when printing big character variable

2007-07-09 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-07-10 00:39 --- Got it. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|una

[Bug middle-end/32398] [4.3 Regression] checking for suffix of object files... configure: error: cannot compute suffix of f object files: cannot compile

2007-07-09 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #19 from dave at hiauly1 dot hia dot nrc dot ca 2007-07-10 00:04 --- Subject: Re: [4.3 Regression] checking for suffix of object files... configure: error: cannot compute suffix of f obje > The problem that i have is it the argument pointer does not have a fixed > value.

[Bug middle-end/32711] Regression: ICE when using inline asm constraint "X"

2007-07-09 Thread scovich at gmail dot com
--- Comment #2 from scovich at gmail dot com 2007-07-09 23:27 --- (In reply to comment #1) > "X" constraint means anything matches. Now why we are ICEing is a bit weird. I started using it because "g" doesn't seem to allow xmm references. Fortunately, "xm" seems to have the desired eff

[Bug libstdc++/32261] Thread race segfault in std::string::append with -O and -s

2007-07-09 Thread appfault at hotmail dot com
--- Comment #11 from appfault at hotmail dot com 2007-07-09 23:21 --- I've been unable to reproduce any issues in 3.4.6, even with tests that do not rely on the empty string. I suspect there is something more specific that was fixed somewhere between 3.3.x and 3.4.6. It doesn't seem ap

[Bug middle-end/32711] Regression: ICE when using inline asm constraint "X"

2007-07-09 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-09 22:59 --- "X" constraint means anything matches. Now why we are ICEing is a bit weird. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32711

[Bug middle-end/32711] New: Regression: ICE when using inline asm constraint "X"

2007-07-09 Thread scovich at gmail dot com
Compiling the following functions with gcc-4.{1,2,3} results in an ICE. gcc-3.4.4 does not ICE: #include static inline __m128i my_asm(__m128i a, __m128i b) { __m128i result; asm("pshufb\t%1,%0" : "=x"(result) : "X"(b), "0"(a)); return result; } __m128i foo(__m128i src) { return my_asm(

[Bug fortran/32665] allocatable array on lhs deleted while still in use on rhs

2007-07-09 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2007-07-09 22:42 --- Oh dear - that's right. I feel a temporary coming on! Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32682] [4.3 Regression] ICE in gfc_trans_array_constructor, at fortran/trans-array.c:1664

2007-07-09 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2007-07-09 22:40 --- (In reply to comment #2) Whilst I agree that this is a regession, it is so because an underlying bug is exposed - in other words, r124541 is perfectly correct. The following also fails: program matrix implicit none

[Bug libfortran/32336] matmul: flag runtime- instead of assertation error

2007-07-09 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2007-07-09 22:35 --- Fixed on trunk. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/32336] matmul: flag runtime- instead of assertation error

2007-07-09 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2007-07-09 22:35 --- Subject: Bug 32336 Author: tkoenig Date: Mon Jul 9 22:34:43 2007 New Revision: 126498 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126498 Log: 2007-07-09 Thomas Koenig <[EMAIL PROTECTED]> PR li

[Bug fortran/32710] ICE: namelist and subroutine with the same name

2007-07-09 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-07-09 22:34 --- If one moves "subroutine name()" before "readinput", valgrind shows no problems. (And no ICE occurs with 4.2 and 4.1.) This occures for dt->namelist->name, which is "name" (len 4) ==18422==at 0x4A3FB2: build_dt (

[Bug middle-end/32398] [4.3 Regression] checking for suffix of object files... configure: error: cannot compute suffix of f object files: cannot compile

2007-07-09 Thread zadeck at naturalbridge dot com
--- Comment #18 from zadeck at naturalbridge dot com 2007-07-09 22:28 --- Subject: Re: [4.3 Regression] checking for suffix of object files... configure: error: cannot compute suffix of f object files: cannot compile dave at hiauly1 dot hia dot nrc dot ca wrote: > --- Comment #1

[Bug fortran/29459] Spurious warning about uninitialized optional arguments

2007-07-09 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-07-09 22:03 --- With the initial testcase: module foo_mod implicit none contains subroutine print_sub(fmt_acf,iu,labels) character (len=*), intent(in), optional :: fmt_acf integer , intent(in), optional :: iu character

[Bug middle-end/32398] [4.3 Regression] checking for suffix of object files... configure: error: cannot compute suffix of f object files: cannot compile

2007-07-09 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #17 from dave at hiauly1 dot hia dot nrc dot ca 2007-07-09 22:01 --- Subject: Re: [4.3 Regression] checking for suffix of object files... configure: error: cannot compute suffix of f obje > --- Comment #16 from bonzini at gnu dot org 2007-07-09 21:04 --- > Looking

[Bug fortran/29459] Spurious warning about uninitialized optional arguments

2007-07-09 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-07-09 22:01 --- Subject: Bug 29459 Author: fxcoudert Date: Mon Jul 9 22:00:52 2007 New Revision: 126496 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126496 Log: PR fortran/29459 * trans-array.c (gfc_tr

[Bug fortran/32710] ICE: namelist and subroutine with the same name

2007-07-09 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-07-09 21:57 --- Works for me with 4.3.0; I can reproduce the ICE with 4.2 and 4.1. valgrind with 4.3.0 shows: ==18422== Invalid read of size 8 ==18422==at 0x4A3FB2: build_dt (trans-io.c:1592) ==18422==by 0x47819E: gfc_trans_

[Bug fortran/32710] New: ICE: namelist and subroutine with the same name

2007-07-09 Thread jaydub66 at gmail dot com
program samename contains subroutine readInput implicit none integer:: a,b,c NAMELIST /name/ a,b,c read(5,nml=name) end subroutine readInput subroutine name() end subroutine name end program this code fails with the following error (gfortran 4.3 and 4.1.3): samena

[Bug fortran/32689] [4.3 regression] TRANSFER returns scalar, even if MOLD is an array

2007-07-09 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2007-07-09 21:33 --- (In reply to comment #1) How wierd and wonderful - whilst it is a regression, it is only just; given the timing of gfc_array_transfer and gfc_simplify_transfer, the latter undid the former by only a few months or so:)

[Bug libstdc++/32683] Compiling HPCToolkit causes many errors and warnings using GCC 4.3 (but not prior versions)

2007-07-09 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2007-07-09 21:19 --- (In reply to comment #4) > >Comment #2 From Andrew Pinski 2007-07-09 02:53 [reply] --- > >No include for or . > > Andrew, I'm not an expert at C++ but I did my best to attempt to make a couple > of reduced testcases

[Bug fortran/32709] New: Diagnose: ALLOCATABLE array used but never ALLOCATEd

2007-07-09 Thread burnus at gcc dot gnu dot org
NAG f95 does: Error: foo.f90, line 45: ALLOCATABLE array NCOSET used but never ALLOCATEd gfortran does not detect this. Testcase, see PR 31683. -- Summary: Diagnose: ALLOCATABLE array used but never ALLOCATEd Product: gcc Version: 4.3.0 Status: UNCON

[Bug middle-end/32708] New: _mm_cvtsi64x_si128() and _mm_cvtsi128_si64x() inefficient

2007-07-09 Thread scovich at gmail dot com
Consider the following functions (compiled with "g++-4.1.2 -msse3 -O3"): #include __m128i int2vector(int i) { return _mm_cvtsi32_si128(i); } int vector2int(__m128i i) { return _mm_cvtsi128_32(i); } __m128i long2vector(long long i) { return _mm_cvtsi64x_si128(i); } long long vector2long(__m128i) {

[Bug middle-end/32398] [4.3 Regression] checking for suffix of object files... configure: error: cannot compute suffix of f object files: cannot compile

2007-07-09 Thread bonzini at gnu dot org
--- Comment #16 from bonzini at gnu dot org 2007-07-09 21:04 --- Looking out of the box, why can't we add it always, the same as we do with the frame and stack pointer?? I wonder if the fixed/variable thing is a red herring. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32398

[Bug libstdc++/32683] Compiling HPCToolkit causes many errors and warnings using GCC 4.3 (but not prior versions)

2007-07-09 Thread rob1weld at aol dot com
--- Comment #4 from rob1weld at aol dot com 2007-07-09 21:01 --- >Comment #2 From Andrew Pinski 2007-07-09 02:53 [reply] --- >No include for or . Andrew, I'm not an expert at C++ but I did my best to attempt to make a couple of reduced testcases where I felt I was able. BOTH those

[Bug bootstrap/32690] 4.2.1 Bootstrap fails - gcc-4_2-branch/boehm-gc/ltconfig: No such file or directory

2007-07-09 Thread rob1weld at aol dot com
--- Comment #1 from rob1weld at aol dot com 2007-07-09 20:27 --- A few hours later and it failed for want of ltcf-c.sh and ltcf-cxx.sh. I ran gcc_update again and that fixed the configure / makefile problem of not copying those files over. There is still the annoyance of the build re-st

[Bug tree-optimization/32698] [4.3 regression] inefficient pointer expression

2007-07-09 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2007-07-09 19:42 --- Subject: Bug 32698 Author: rguenth Date: Mon Jul 9 19:41:54 2007 New Revision: 126494 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126494 Log: 2007-07-09 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug c/32692] Inconsistent warning/error with static and non-static declarations

2007-07-09 Thread geoffk at gcc dot gnu dot org
--- Comment #4 from geoffk at gcc dot gnu dot org 2007-07-09 19:34 --- 'external linkage' is not the same thing as 'the declaration contains the keyword "extern"'. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32692

[Bug debug/23551] dwarf records for inlines appear incomplete

2007-07-09 Thread aoliva at gcc dot gnu dot org
--- Comment #18 from aoliva at gcc dot gnu dot org 2007-07-09 19:24 --- Subject: Bug 23551 Author: aoliva Date: Mon Jul 9 19:24:23 2007 New Revision: 126492 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126492 Log: Revert: 2007-07-06 Alexandre Oliva <[EMAIL PROTECTED]> PR de

[Bug target/27855] reassociation pass produces ~30% slower matrix multiplication code

2007-07-09 Thread uros at gcc dot gnu dot org
--- Comment #16 from uros at gcc dot gnu dot org 2007-07-09 19:22 --- Subject: Bug 27855 Author: uros Date: Mon Jul 9 19:22:03 2007 New Revision: 126491 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126491 Log: PR target/27855 * doc/extend.texi: Add ftree-reass

[Bug fortran/32682] [4.3 Regression] ICE in gfc_trans_array_constructor, at fortran/trans-array.c:1664

2007-07-09 Thread jaydub66 at gmail dot com
--- Comment #2 from jaydub66 at gmail dot com 2007-07-09 19:17 --- I checked it: The ICE is really introduced by rev. 124541. > r124541 | pault | 2007-05-08 13:58:25 +0200 (Tue, 08 May 2007) | 18 lines > PR 29397, PR 29400 > * decl.c (add_init_expr_to_sym): Expand a scal

[Bug fortran/32707] mismatched character lengths in array

2007-07-09 Thread vivekrao4 at yahoo dot com
--- Comment #1 from vivekrao4 at yahoo dot com 2007-07-09 19:05 --- Gfortran also does not warn about the simpler code program xtrim_array ! check if compiler catches character array constructor with elements of different sizes implicit none character (len=4) :: xx(2) xx = ["boy","girl"

[Bug fortran/32707] New: mismatched character lengths in array

2007-07-09 Thread vivekrao4 at yahoo dot com
For the following invalid code program xtrim_array implicit none character (len=4) :: xx(2) xx = [trim("boy "),trim("girl")] ! invalid -- elements have different lengths print*,"xx = '" // xx(1) // "' '" // xx(2) // "'" end program xtrim_array compiling and running with gfortran gives gfortran

[Bug libfortran/32702] [4.3 Regression] crash when printing big character variable

2007-07-09 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added Keywords||wrong-code Known to fail||4.3.0

[Bug fortran/32703] ICE with [trim(character_variable)]

2007-07-09 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added OtherBugsDependingO||19276 nThis|| Keyw

[Bug fortran/32703] ICE with [trim(character_variable)]

2007-07-09 Thread langton at gcc dot gnu dot org
--- Comment #1 from langton at gcc dot gnu dot org 2007-07-09 18:32 --- Confirmed. The segfault occurs on trans-array.c:1380 because e->ts->cl is null. -- langton at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/32636] [4.3 regression] 25_algorithms/search_n/iterator.cc: pch-related verify_ssa failure

2007-07-09 Thread hp at gcc dot gnu dot org
--- Comment #14 from hp at gcc dot gnu dot org 2007-07-09 18:30 --- >From revision 126479 (in the range 126472..126429), the bug is again hidden. There's a libstdc++-v3/include/bits/stl_algo.h tweak in that range that apparently sufficiently changed the code. -- http://gcc.gnu.org/b

[Bug target/27855] reassociation pass produces ~30% slower matrix multiplication code

2007-07-09 Thread ubizjak at gmail dot com
--- Comment #15 from ubizjak at gmail dot com 2007-07-09 18:16 --- New timings on x86_64 core2 (from [1]) The tests were performed on core2 in 64bit mode, using '-DREPS=1 -O3 -msse3 -march=core2 -ffast-math' flags, with and without newly introduced -fno-tree-reassoc flag. The resul

[Bug java/32706] New: gcj -M's dependency list is empty

2007-07-09 Thread cagney at redhat dot com
GCJ -M is producing an empty dependency list vis: package frysk4742; class Referee { static int i; int j; Referee() { j = i++; } } package frysk4742; class Referer { static public void main(String[] args) { new Referee(); } } gcj -M frysk4742/Referer.java

[Bug tree-optimization/32705] [4.3 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1022

2007-07-09 Thread dberlin at dberlin dot org
a > c97205b > c97305a c97305b c97305c c97305d c974002 c974003 c974008 c974009 c974010 > c974011 > cc1207b cc3019c cd92001 ce2103a ce2201l ce2202a ce3815a cxh1001 > > nearly all of them are of the form > > +===GNAT BUG DETECTED===

[Bug tree-optimization/32705] [4.3 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1022

2007-07-09 Thread dberlin at dberlin dot org
--- Comment #2 from dberlin at gcc dot gnu dot org 2007-07-09 18:11 --- Subject: Re: [4.3 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1022 Uh, this assert was removed, so i don't know how it could still trigger ;) On 9 Jul 2007 17:36:22 -, ebotcazou at gcc dot gnu dot

[Bug fortran/32704] -static-libgfortran is undocumented

2007-07-09 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2007-07-09 18:10 --- I asked for it, seems to be me who is going to document it :) -- dfranke at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/32560] [4.3 regression] ICE on invalid declaration in template

2007-07-09 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-07-09 17:52 --- I can fix this... -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned a

[Bug target/32462] [4.3 regression] Linking libgcj.so fails on Solaris 10/x86

2007-07-09 Thread ro at techfak dot uni-bielefeld dot de
--- Comment #7 from ro at techfak dot uni-bielefeld dot de 2007-07-09 17:48 --- Subject: Re: [4.3 regression] Linking libgcj.so fails on Solaris 10/x86 aph at gcc dot gnu dot org writes: > So, the question is why the linker is complaining that "a GOT relative > relocation must refere

[Bug tree-optimization/32698] [4.3 regression] inefficient pointer expression

2007-07-09 Thread zippel at gcc dot gnu dot org
--- Comment #8 from zippel at gcc dot gnu dot org 2007-07-09 17:42 --- (In reply to comment #7) > On the backend side we have the fwprop pass which is supposed to do > addressing mode selection and the backend which is supposed to provide > accurate costs for them. Let's take your propo

[Bug tree-optimization/32705] [4.3 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1022

2007-07-09 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2007-07-09 17:36 --- Confirmed on platforms where the Ada compiler bootstraps at all. :-) I plan to look at them once I've found something plausible for PR 32589. -- ebotcazou at gcc dot gnu dot org changed: What|

[Bug c++/32106] [4.3 regression] ICE after name-clash between struct and namespace

2007-07-09 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-07-09 17:07 --- Cannot be reproduced anymore. If people want me to add the testcase to be safe, just let me know. -- pcarlini at suse dot de changed: What|Removed |Added -

[Bug tree-optimization/32705] New: [4.3 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1022

2007-07-09 Thread rguenth at gcc dot gnu dot org
==+ | 4.3.0 20070709 (experimental) (x86_64-unknown-linux-gnu) GCC error: | | in set_ssa_val_to, at tree-ssa-sccvn.c:1022 | | Error detected around ae2113b.adb:33 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html

[Bug middle-end/32398] [4.3 Regression] checking for suffix of object files... configure: error: cannot compute suffix of f object files: cannot compile

2007-07-09 Thread bonzini at gnu dot org
--- Comment #15 from bonzini at gnu dot org 2007-07-09 16:31 --- Note that this: > Before the dataflow merge, the argument pointer was always included > in "Registers live at start". ... was because uninitialized registers always showed up as live at start before DF merge. -- http

[Bug fortran/32704] New: -static-libgfortran is undocumented

2007-07-09 Thread tobias dot burnus at physik dot fu-berlin dot de
PR 31400 added -static-libgfortran, but a documentation is missing. (One should probably also update http://gcc.gnu.org/wiki/GFortranGettingStarted) -- Summary: -static-libgfortran is undocumented Product: gcc Version: 4.3.0 Status: UNCONFIRMED

[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-07-09 Thread bonzini at gnu dot org
--- Comment #32 from bonzini at gnu dot org 2007-07-09 15:38 --- additional fix committed. -- bonzini at gnu dot org changed: What|Removed |Added Status|REOPE

[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-07-09 Thread bonzini at gcc dot gnu dot org
--- Comment #31 from bonzini at gnu dot org 2007-07-09 15:38 --- Subject: Bug 32004 Author: bonzini Date: Mon Jul 9 15:37:56 2007 New Revision: 126488 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126488 Log: 2007-07-09 Paolo Bonzini <[EMAIL PROTECTED]> PR middle-en

[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-07-09 Thread bonzini at gcc dot gnu dot org
--- Comment #30 from bonzini at gnu dot org 2007-07-09 15:37 --- Subject: Bug 32004 Author: bonzini Date: Mon Jul 9 15:37:32 2007 New Revision: 126487 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126487 Log: 2007-07-09 Paolo Bonzini <[EMAIL PROTECTED]> PR middle-en

[Bug tree-optimization/32698] [4.3 regression] inefficient pointer expression

2007-07-09 Thread rguenther at suse dot de
--- Comment #7 from rguenther at suse dot de 2007-07-09 15:37 --- Subject: Re: [4.3 regression] inefficient pointer expression On Mon, 9 Jul 2007, zippel at gcc dot gnu dot org wrote: > (In reply to comment #5) > > as you suggest creates worse assembly (look at the extra shift) > >

[Bug fortran/32703] New: ICE with [trim(character_variable)]

2007-07-09 Thread vivekrao4 at yahoo dot com
For the program program array_char implicit none character (len=1) :: x x = "a" print*,[trim(x)] end program array_char compiling on Windows XP with gfortran -v xconcat.f90 produces an ICE: Driving: gfortran -v xconcat.f90 -lgfortranbegin -lgfortran Using built-in specs. Target: i386-pc-mingw3

[Bug tree-optimization/32698] [4.3 regression] inefficient pointer expression

2007-07-09 Thread zippel at gcc dot gnu dot org
--- Comment #6 from zippel at gcc dot gnu dot org 2007-07-09 15:27 --- (In reply to comment #5) > as you suggest creates worse assembly (look at the extra shift) > > foo: > pushl %ebp > movl%esp, %ebp > movl12(%ebp), %ecx > movl8(%ebp), %edx

[Bug libfortran/32702] crash when printing big character variable

2007-07-09 Thread dfranke at gcc dot gnu dot org
-- dfranke at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfi

[Bug libfortran/32702] crash when printing big character variable

2007-07-09 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2007-07-09 15:08 --- Confirmed. Presumely a buffer overflow in the library. If len==8192, valgrind does not report any errors. If len > 8192: ===30988== Invalid write of size 1 ==30988==at 0x4022D8E: memcpy (mc_replace_strmem.c:40

[Bug fortran/31129] No warning on unused parameters

2007-07-09 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2007-07-09 15:00 --- Closing again. This time, I mean it. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/32698] [4.3 regression] inefficient pointer expression

2007-07-09 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-07-09 15:00 --- Note that we don't hoist the i*4 or the addition to p to help addressing mode selection which likes to see the "whole" address. Of course it shouldn't matter in which form we see the addresses and the same code shou

[Bug fortran/31129] No warning on unused parameters

2007-07-09 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2007-07-09 14:58 --- Fixed in trunk. Not a regression, no backport. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/31129] No warning on unused parameters

2007-07-09 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-07-09 14:57 --- Subject: Bug 31129 Author: dfranke Date: Mon Jul 9 14:56:49 2007 New Revision: 126486 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126486 Log: gcc/fortran: 2007-07-09 Daniel Franke <[EMAIL PROTECTED]>

[Bug fortran/32702] New: crash when printing big character variable

2007-07-09 Thread vivekrao4 at yahoo dot com
For the code program main character (len=1) :: word word = "dog" print*,"word =",word end program main compiled with U:\vrao\fortran>gfortran -v xbug.f90 Driving: gfortran -v xbug.f90 -lgfortranbegin -lgfortran Using built-in specs. Target: i386-pc-mingw32 Configured with: ../trunk/configure

[Bug tree-optimization/32698] [4.3 regression] inefficient pointer expression

2007-07-09 Thread zippel at gcc dot gnu dot org
--- Comment #4 from zippel at gcc dot gnu dot org 2007-07-09 14:40 --- IMHO something like this should be generated: p2 = p + (i * 4); return (*(p2 + 4) + *(p2 + 8) + *(p2 + 12)); Right now not even the (i*4) expression is removed from the last instruction anymore. -- http://gcc.g

[Bug fortran/32699] Global name 'len' at (1) is already being used as a FUNCTION at (2)

2007-07-09 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2007-07-09 14:25 --- *** This bug has been marked as a duplicate of 32157 *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/32157] intrinsic function name conflicts with subroutine if present in the same file

2007-07-09 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2007-07-09 14:25 --- *** Bug 32699 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32157

[Bug tree-optimization/32377] can't determine dependence (source/destination overlap without more than size)

2007-07-09 Thread sebpop at gmail dot com
--- Comment #15 from sebpop at gmail dot com 2007-07-09 14:19 --- Subject: Re: can't determine dependence (source/destination overlap without more than size) > I was going to submit the attached patch, but now the analysis fails with > "affine-affine test failed: missing iteration coun

[Bug c++/32697] O2 optimizes away assignment

2007-07-09 Thread Dries dot Decock at excentis dot com
--- Comment #3 from Dries dot Decock at excentis dot com 2007-07-09 14:07 --- Thanks for the reply. I will use the -fno-strict-aliasing for now, and hope that the SWIG maintainers will fix this problem in the near future. Thanks again. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug c++/32700] O2 optimizes away assignment

2007-07-09 Thread Dries dot Decock at excentis dot com
--- Comment #1 from Dries dot Decock at excentis dot com 2007-07-09 14:06 --- Sorry, dup -- Dries dot Decock at excentis dot com changed: What|Removed |Added

[Bug c++/32700] New: O2 optimizes away assignment

2007-07-09 Thread Dries dot Decock at excentis dot com
Hi, I'm using SWIG to combine Java and C++ code. At some point, SWIG generates a method like this : 1SWIGEXPORT jlong JNICALL Java_com_excentis_products_X_XUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { jlong baseptr = 0; (void)jenv; (void)jcls; *(Flow **)&baseptr = *(TcpFlow **

[Bug c++/32697] O2 optimizes away assignment

2007-07-09 Thread sorenj at us dot ibm dot com
--- Comment #2 from sorenj at us dot ibm dot com 2007-07-09 13:55 --- Please refer to https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1560993&group_id=1645 Long story short - as it stands today: C++ standards team won't change the spec to allow type punning, gcc team won't

[Bug fortran/32699] New: Global name 'len' at (1) is already being used as a FUNCTION at (2)

2007-07-09 Thread michael dot a dot richmond at nasa dot gov
When I compile the program listed below I get the message: al1.f90:4.17: SUBROUTINE len(i) 1 al1.f90:2.4: i = len(" ") 2 Error: Global name 'len' at (1) is already being used as a FUNCTION at (2) For what it's worth: 1. g95, Compaq, and Lahey Fortran do not consider it an erro

[Bug tree-optimization/32698] [4.3 regression] inefficient pointer expression

2007-07-09 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-07-09 13:42 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned

[Bug tree-optimization/32698] [4.3 regression] inefficient pointer expression

2007-07-09 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-07-09 13:41 --- Created an attachment (id=13875) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13875&action=view) patch With the proposed patch mainline generates again foo: pushl %ebp movl%esp, %ebp

[Bug tree-optimization/32698] [4.3 regression] inefficient pointer expression

2007-07-09 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-07-09 13:39 --- With 2.95, 3.3.6 and 3.4.6 I get (for 32bit): foo: pushl %ebp movl %esp,%ebp movl 8(%ebp),%edx movl 12(%ebp),%eax movl %ebp,%esp popl %ebp movl 8(%edx,%eax,4),

[Bug tree-optimization/32681] ice for legal C code with flags -ffast-math -O3 -ftree-vectorize

2007-07-09 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2007-07-09 13:36 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug c/21920] aliasing violations

2007-07-09 Thread schwab at suse dot de
--- Comment #117 from schwab at suse dot de 2007-07-09 13:35 --- *** Bug 32697 has been marked as a duplicate of this bug. *** -- schwab at suse dot de changed: What|Removed |Added ---

[Bug c++/32697] O2 optimizes away assignment

2007-07-09 Thread schwab at suse dot de
--- Comment #1 from schwab at suse dot de 2007-07-09 13:35 --- Report this to the SWIG maintainers. This is violating the C/C++ aliasing rules. *** This bug has been marked as a duplicate of 21920 *** -- schwab at suse dot de changed: What|Removed

[Bug tree-optimization/32681] ice for legal C code with flags -ffast-math -O3 -ftree-vectorize

2007-07-09 Thread uros at gcc dot gnu dot org
--- Comment #8 from uros at gcc dot gnu dot org 2007-07-09 13:32 --- Subject: Bug 32681 Author: uros Date: Mon Jul 9 13:31:46 2007 New Revision: 126484 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126484 Log: PR tree-optimization/32681 * tree-if-conv.c (find_p

[Bug tree-optimization/32698] New: [4.3 regression] inefficient pointer expression

2007-07-09 Thread zippel at gcc dot gnu dot org
Taking this example: int foo(int *p, unsigned int i) { return p[i + 1] + p[i + 2] + p[i + 3]; } produces inefficient code. The problem already starts at tree level, where for "p[i+1]" an expression like *(p + (i + 1) * 4)) is generated, which is not a common pointer expression. Also sinc

[Bug c++/32697] New: O2 optimizes away assignment

2007-07-09 Thread Dries dot Decock at excentis dot com
Hi, I'm using SWIG to combine Java and C++ code. At some point, SWIG generates a method like this : 1SWIGEXPORT jlong JNICALL Java_com_excentis_products_X_XUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { jlong baseptr = 0; (void)jenv; (void)jcls; *(Flow **)&baseptr = *(TcpFlow **

[Bug c/32692] Inconsistent warning/error with static and non-static declarations

2007-07-09 Thread sirl at gcc dot gnu dot org
--- Comment #3 from sirl at gcc dot gnu dot org 2007-07-09 13:15 --- Sorry, apparently I forgot to search 'All' bugs instead of just the 'Open' ones yesterday. One question though, how does the func6() part of the testcase relate to all this? For this one there is no 'extern' specifier

[Bug tree-optimization/32681] ice for legal C code with flags -ffast-math -O3 -ftree-vectorize

2007-07-09 Thread uros at gcc dot gnu dot org
--- Comment #7 from uros at gcc dot gnu dot org 2007-07-09 13:11 --- Subject: Bug 32681 Author: uros Date: Mon Jul 9 13:11:22 2007 New Revision: 126483 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126483 Log: PR tree-optimization/32681 * tree-if-conv.c (find_p

[Bug tree-optimization/32681] ice for legal C code with flags -ffast-math -O3 -ftree-vectorize

2007-07-09 Thread uros at gcc dot gnu dot org
--- Comment #6 from uros at gcc dot gnu dot org 2007-07-09 13:00 --- Subject: Bug 32681 Author: uros Date: Mon Jul 9 13:00:19 2007 New Revision: 126482 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126482 Log: PR tree-optimization/32681 * tree-if-conv.c (find_p

[Bug fortran/31447] set intent(out) arguments to uninitialized

2007-07-09 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2007-07-09 12:56 --- Related: PR28004 - "Warn if intent(out) dummy variable is used before being defined" -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

  1   2   >