[Bug middle-end/38459] [graphite] SEGFAULT in cloog_clast_create

2008-12-09 Thread jv244 at cam dot ac dot uk
--- Comment #4 from jv244 at cam dot ac dot uk 2008-12-09 21:04 --- similar for gamma.F #0 0x2b69b539a066 in realloc () from /lib64/libc.so.6 #1 0x2b69b44a698c in __gmp_default_reallocate () from /usr/lib64/libgmp.so.3 #2 0x2b69b44bba21 in __gmpz_realloc () from /usr

[Bug middle-end/38463] New: [graphite] double free or corruption

2008-12-09 Thread jv244 at cam dot ac dot uk
Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk OtherBugsDependingO 38431 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38463

[Bug middle-end/38431] [graphite] several ICEs with CP2K (summery)

2008-12-09 Thread jv244 at cam dot ac dot uk
--- Comment #6 from jv244 at cam dot ac dot uk 2008-12-09 21:11 --- ps_wavelet_util.F is now PR38463 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38431

[Bug middle-end/38463] [graphite] double free or corruption

2008-12-09 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2008-12-09 21:12 --- note that this trace also goes via cloog_clast_create so that might be a dup of PR38459 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38463

[Bug middle-end/38463] [graphite] double free or corruption

2008-12-09 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2008-12-09 21:18 --- Created an attachment (id=16865) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16865action=view) testcase reduced. at least, graphite tends to fail on code that is easy to reduce. -- http://gcc.gnu.org

[Bug middle-end/38459] [graphite] SEGFAULT in cloog_clast_create

2008-12-09 Thread jv244 at cam dot ac dot uk
--- Comment #6 from jv244 at cam dot ac dot uk 2008-12-09 21:22 --- same for cp_cfm_basic_linalg.F #0 0x2ad7ad43d066 in realloc () from /lib64/libc.so.6 #1 0x2ad7ac54998c in __gmp_default_reallocate () from /usr/lib64/libgmp.so.3 #2 0x2ad7ac55ea21 in __gmpz_realloc

[Bug middle-end/38459] [graphite] SEGFAULT in cloog_clast_create

2008-12-09 Thread jv244 at cam dot ac dot uk
--- Comment #7 from jv244 at cam dot ac dot uk 2008-12-09 21:44 --- (In reply to comment #5) I do already know about this bug, this is id-2.f90 problem. OK, guess it is rather frequent in that case, following files trigger it as well: ps_wavelet_kernel.F ai_moments.F

[Bug fortran/38444] New: poor error message

2008-12-08 Thread jv244 at cam dot ac dot uk
Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38444

[Bug fortran/38444] poor error message

2008-12-08 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2008-12-08 18:39 --- (In reply to comment #1) - gfc_error (msg, sym-name, where, gfc_basic_typename (sym-ts.type)); + gfc_fatal_error (msg, sym-name, where, + gfc_basic_typename (sym-ts.type

[Bug web/12821] dead link on onlinedocs/gccint/Top-Level.html

2008-12-08 Thread jv244 at cam dot ac dot uk
--- Comment #4 from jv244 at cam dot ac dot uk 2008-12-08 19:34 --- | \ ' / -- (*) -- * 0

[Bug target/38306] [4.4 Regression] 15% slowdown w.r.t. 4.3 of computational kernel on some architectures

2008-12-06 Thread jv244 at cam dot ac dot uk
--- Comment #11 from jv244 at cam dot ac dot uk 2008-12-06 18:54 --- (In reply to comment #10) If the code layout (see comment #2) is indeed causing the slow-down, this problem might have been fixed along with bug 38074. No, timings are still identical: gcc version 4.4.0 20081206

[Bug middle-end/38431] New: [graphite] several ICEs with CP2K

2008-12-06 Thread jv244 at cam dot ac dot uk
Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38431

[Bug tree-optimization/25621] Missed optimization when unrolling the loop (splitting up the sum) (only with -ffast-math)

2008-12-05 Thread jv244 at cam dot ac dot uk
--- Comment #10 from jv244 at cam dot ac dot uk 2008-12-05 16:25 --- Timings in 4.4 are essentially unchanged gfortran -O3 -ffast-math -march=native PR25621.f90: default loop 1.29208100 hand optimized loop 0.864053988 fun enough inverse timings with a recent

[Bug fortran/25096] Non-conforming shapes of DATA object and data

2008-12-05 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2008-12-05 16:26 --- still fails with 4.4 -- jv244 at cam dot ac dot uk changed: What|Removed |Added Last reconfirmed

[Bug fortran/22571] Reject derived types for dummy arguments declared in the subroutine unless they are SEQUENCE

2008-12-05 Thread jv244 at cam dot ac dot uk
--- Comment #9 from jv244 at cam dot ac dot uk 2008-12-05 16:28 --- updated testcase still fails: subroutine a(p) type t integer :: t1 end type type(t) :: p p%t1 = 42 end subroutine subroutine b type u integer :: u1 end type type (u) :: q call a(q) write(6

[Bug fortran/34663] Specification expression is defined by dummy variables of different entry points

2008-12-05 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2008-12-05 16:30 --- still fails in 4.4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34663

[Bug rtl-optimization/38403] New: [4.4 Regression] unable to find a register to spill in class �CREG� with -fschedule-insns

2008-12-04 Thread jv244 at cam dot ac dot uk
Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38403

[Bug rtl-optimization/38403] [4.4 Regression] unable to find a register to spill in class �CREG� with -fschedule-insns

2008-12-04 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2008-12-04 16:10 --- Created an attachment (id=16824) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16824action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38403

[Bug target/38306] [4.4 Regression] 15% slowdown w.r.t. 4.3 of computational kernel on some architectures

2008-12-04 Thread jv244 at cam dot ac dot uk
--- Comment #9 from jv244 at cam dot ac dot uk 2008-12-04 16:11 --- I tried -fschedule-insns on CP2K, which lead to an ICE (now PR38403) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38306

[Bug rtl-optimization/38403] [4.4 Regression] unable to find a register to spill in class �CREG� with -fschedule-insns

2008-12-04 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2008-12-04 16:16 --- Created an attachment (id=16825) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16825action=view) shorter testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38403

[Bug rtl-optimization/38403] [4.4 Regression] unable to find a register to spill in class �CREG� with -fschedule-insns

2008-12-04 Thread jv244 at cam dot ac dot uk
--- Comment #3 from jv244 at cam dot ac dot uk 2008-12-04 16:21 --- Created an attachment (id=16826) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16826action=view) 99 lines ;-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38403

[Bug rtl-optimization/38403] [4.4 Regression] unable to find a register to spill in class �CREG� with -fschedule-insns

2008-12-04 Thread jv244 at cam dot ac dot uk
--- Comment #5 from jv244 at cam dot ac dot uk 2008-12-04 17:22 --- (In reply to comment #4) I would suggest you don't spend too much time on reducing a test case, and just stop using -fschedule-insns on x86*. There is a reason why it is not enabled by default ;-) somewhat

[Bug fortran/38351] New: poor error message

2008-12-01 Thread jv244 at cam dot ac dot uk
: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38351

[Bug target/38306] [4.4 Regression] 15% slowdown of computational kernel

2008-11-30 Thread jv244 at cam dot ac dot uk
--- Comment #4 from jv244 at cam dot ac dot uk 2008-11-30 16:17 --- (In reply to comment #2) Due to the high density of branches in the code this is easily a code layout and/or padding issue. Different architectures have different constraints on their decoders and branch predictors

[Bug target/38306] [4.4 Regression] 15% slowdown of computational kernel

2008-11-30 Thread jv244 at cam dot ac dot uk
--- Comment #5 from jv244 at cam dot ac dot uk 2008-11-30 16:26 --- (In reply to comment #4) 4.3: -O3 -march=native -funroll-loops -ffast-math == 4.376 -O3 -march=native -funroll-loops -ffast-math -fschedule-insns == 3.372 strangely: http://gcc.gnu.org/onlinedocs

[Bug fortran/38318] New: moving the allocation of temps out of loops.

2008-11-29 Thread jv244 at cam dot ac dot uk
of temps out of loops. Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk OtherBugsDependingO

[Bug fortran/38303] New: poor error message

2008-11-28 Thread jv244 at cam dot ac dot uk
: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38303

[Bug fortran/38303] poor error message

2008-11-28 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38303

[Bug target/38306] New: [4.4 Regression] 15% slowdown of computational kernel

2008-11-28 Thread jv244 at cam dot ac dot uk
org ReportedBy: jv244 at cam dot ac dot uk GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38306

[Bug target/38306] [4.4 Regression] 15% slowdown of computational kernel

2008-11-28 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2008-11-28 16:01 --- Created an attachment (id=16788) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16788action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38306

[Bug fortran/38312] New: poor error message

2008-11-28 Thread jv244 at cam dot ac dot uk
Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38312

[Bug fortran/38181] calls to SIZE not optimized out of loops

2008-11-20 Thread jv244 at cam dot ac dot uk
--- Comment #4 from jv244 at cam dot ac dot uk 2008-11-20 08:53 --- so I guess this is up to the front end to generate 'better' code for size -- jv244 at cam dot ac dot uk changed: What|Removed |Added

[Bug fortran/38181] calls to SIZE not optimized out of loops

2008-11-20 Thread jv244 at cam dot ac dot uk
--- Comment #7 from jv244 at cam dot ac dot uk 2008-11-20 11:03 --- (In reply to comment #6) great.. thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38181

[Bug fortran/38115] unneeded temp

2008-11-20 Thread jv244 at cam dot ac dot uk
--- Comment #4 from jv244 at cam dot ac dot uk 2008-11-20 18:54 --- (In reply to comment #3) duplicate of pr36935? similar enough to make this one depend on PR36935. I think the testcases here (certainly comment #1), are more difficult. -- jv244 at cam dot ac dot uk changed

[Bug fortran/38114] unneeded temp

2008-11-19 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2008-11-19 13:08 --- (In reply to comment #1) SUBROUTINE S(b,i,j) INTEGER, DIMENSION(:) :: b integer res(1) INTEGER :: i,j res = MINLOC(b(i:j)) END SUBROUTINE S right.. the 'orginal' testcase was. Actually, these temps are all

[Bug fortran/38111] unneeded temporary

2008-11-19 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2008-11-19 13:18 --- (In reply to comment #1) Do you know of any compilers that catch this? As you say, it is not so easy to fix. I believe ifort gets this right (compiled with 'ifort -S -heap-arrays 64), but this is just looking

[Bug fortran/38181] New: calls to SIZE not optimized out of loops

2008-11-19 Thread jv244 at cam dot ac dot uk
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38181

[Bug fortran/36928] array temporary for interleaving assignment

2008-11-14 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug fortran/36933] unneeded temporary with derived type containing an array as argument

2008-11-14 Thread jv244 at cam dot ac dot uk
--- Comment #3 from jv244 at cam dot ac dot uk 2008-11-14 08:34 --- This could be somewhat similar, I really wonder if this needs a temp: TYPE T1 INTEGER :: a(3) END TYPE T1 TYPE(T1), POINTER :: x,y ALLOCATE(x,y) x%a=y%a END -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36933

[Bug fortran/38111] New: unneeded temporary

2008-11-14 Thread jv244 at cam dot ac dot uk
: missed-optimization Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk OtherBugsDependingO 36854 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38111

[Bug fortran/38112] New: unneeded temporary

2008-11-14 Thread jv244 at cam dot ac dot uk
: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk OtherBugsDependingO 36854 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38112

[Bug fortran/38112] unneeded temporary

2008-11-14 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2008-11-14 08:50 --- that might be an even simpler case: SUBROUTINE S(a,i,j) INTEGER, POINTER, DIMENSION(:) :: a INTEGER, DIMENSION(:), ALLOCATABLE :: b INTEGER :: i,j ALLOCATE(b(10)) b(i:j)=a(i:j) END SUBROUTINE S -- http

[Bug fortran/38113] New: -Warray-temporaries output

2008-11-14 Thread jv244 at cam dot ac dot uk
: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38113

[Bug fortran/38114] New: unneeded temp

2008-11-14 Thread jv244 at cam dot ac dot uk
Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk OtherBugsDependingO 36854 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38114

[Bug fortran/38115] New: unneeded temp

2008-11-14 Thread jv244 at cam dot ac dot uk
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk OtherBugsDependingO 36854 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38115

[Bug fortran/38115] unneeded temp

2008-11-14 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2008-11-14 09:07 --- I guess this one is similar enough to put here as well: SUBROUTINE S1(a,i,j,k,m) INTEGER :: a(3,6) write(6,*) ALL(a(1:3,m).EQ.(/i,j,k/)) END -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38115

[Bug fortran/38065] private/public confusion with a contained function

2008-11-11 Thread jv244 at cam dot ac dot uk
--- Comment #6 from jv244 at cam dot ac dot uk 2008-11-11 13:28 --- reduced: MODULE M1 IMPLICIT NONE PRIVATE TYPE T1 INTEGER :: I1 END TYPE T1 PUBLIC :: S1 CONTAINS SUBROUTINE S1 CONTAINS TYPE(T1) FUNCTION F1() END FUNCTION F1 END SUBROUTINE S1 END MODULE M1

[Bug target/35366] [4.4 Regression] gfortran.dg/equiv_7.f90 fails with -m64 -Os on powerpc-apple-darwin9

2008-11-11 Thread jv244 at cam dot ac dot uk
--- Comment #3 from jv244 at cam dot ac dot uk 2008-11-11 16:08 --- just a note on the patch posted: http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00407.html the fortran standard guarantees that E==TRANSFER(TRANSFER(E,D),E) if the physical representation of D and E is the same length

[Bug fortran/38065] private/public confusion with a contained function

2008-11-11 Thread jv244 at cam dot ac dot uk
--- Comment #8 from jv244 at cam dot ac dot uk 2008-11-11 14:14 --- (In reply to comment #7) As best I can see, your reduction of the problem is not correct; in it subroutine S1 should be private, not public. I don't think so. See your code, S1 ~ GeomMTF, which is public

[Bug middle-end/31029] Fold does not fold C - a == a

2008-11-10 Thread jv244 at cam dot ac dot uk
--- Comment #8 from jv244 at cam dot ac dot uk 2008-11-11 06:00 --- (In reply to comment #7) Actually we can fold C - a == a only for odd C. But more generally a +- b == a to b == 0. right... that works as well for this optimization. The original argument was on the range

[Bug fortran/38065] bug5

2008-11-09 Thread jv244 at cam dot ac dot uk
--- Comment #3 from jv244 at cam dot ac dot uk 2008-11-09 17:22 --- (In reply to comment #2) Created an attachment (id=16640) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16640action=view) [edit] the shell script seems to have a few lines referring to your home, but it looks

[Bug fortran/37486] alignment of data in COMMON blocks

2008-09-12 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2008-09-12 17:56 --- the program is non-standard Fortran, but it is legacy, so an option would be useful. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37486

[Bug fortran/37494] function of a module not recognized by a subroutine in the same module

2008-09-12 Thread jv244 at cam dot ac dot uk
--- Comment #7 from jv244 at cam dot ac dot uk 2008-09-12 18:02 --- (In reply to comment #5) It seems that declaring 'fonc' makes it external to the module, while without any declaration, 'fonc' is found to be the internal procedure defined within the module. which is the correct

[Bug fortran/37486] alignment of data in COMMON blocks

2008-09-12 Thread jv244 at cam dot ac dot uk
--- Comment #4 from jv244 at cam dot ac dot uk 2008-09-12 18:48 --- (In reply to comment #2) (In reply to comment #1) the program is non-standard Fortran, but it is legacy, so an option would be useful. Why is it nonstandard? Maybe not, I was guessing based on 16.5.6

[Bug fortran/37498] Incorrect array value returned

2008-09-12 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2008-09-12 18:50 --- (In reply to comment #1) I've not checked, but maybe this is related to PR 37199? I can not reproduce that with the 4.3 branch: gcc version 4.3.3 20080912 (prerelease) (GCC) [EMAIL PROTECTED]:/data03/vondele/bug

[Bug fortran/37445] Host-associated proc not found if same-name generic is use-associated

2008-09-10 Thread jv244 at cam dot ac dot uk
--- Comment #6 from jv244 at cam dot ac dot uk 2008-09-10 06:38 --- (In reply to comment #5) Two or more accessible entities, other than generic interfaces or defined operators, may have the same identifier only if the identifier is not used to refer to an entity in the scoping unit

[Bug fortran/37445] Host-associated proc not found if same-name generic is use-associated

2008-09-10 Thread jv244 at cam dot ac dot uk
--- Comment #7 from jv244 at cam dot ac dot uk 2008-09-10 06:48 --- (In reply to comment #6): actually, I rather sure that gfortran gets it wrong. This would be a wrong-code MODULE M1 CONTAINS SUBROUTINE S1 write(6,*) M1 OK CALL ABORT() END SUBROUTINE END MODULE MODULE M2 USE

[Bug fortran/37445] incorrect error reported

2008-09-09 Thread jv244 at cam dot ac dot uk
--- Comment #3 from jv244 at cam dot ac dot uk 2008-09-09 18:06 --- reduced: MODULE M1 INTERFACE putaline MODULE PROCEDURE S1,S2 END INTERFACE CONTAINS SUBROUTINE S1(I) END SUBROUTINE SUBROUTINE S2(F) END SUBROUTINE END MODULE MODULE M2 USE M1 CONTAINS SUBROUTINE S3 CALL

[Bug rtl-optimization/37251] [4.4 Regression] ICE with ira: delete_allocno_from_bucket

2008-09-06 Thread jv244 at cam dot ac dot uk
--- Comment #9 from jv244 at cam dot ac dot uk 2008-09-06 09:09 --- I believe this bug should be closed ? Or do you still want to add the testcase to mainline? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37251

[Bug debug/37300] New: -g causes internal compiler error: Segmentation fault

2008-08-31 Thread jv244 at cam dot ac dot uk
: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk OtherBugsDependingO 29975 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37300

[Bug debug/37300] -g causes internal compiler error: Segmentation fault

2008-08-31 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2008-08-31 17:11 --- Created an attachment (id=16175) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16175action=view) testcase to reproduce: gfortran -g -ffree-form f77_blas_extra.F f77_blas_generic.F f77_blas_poison.F f77_blas.F

[Bug debug/37300] [4.4 Regression] -g causes internal compiler error: Segmentation fault

2008-08-31 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added Known to fail||4.4.0 Summary|-g causes internal compiler |[4.4 Regression

[Bug rtl-optimization/37251] [4.4 Regression] ICE with ira: delete_allocno_from_bucket

2008-08-28 Thread jv244 at cam dot ac dot uk
--- Comment #6 from jv244 at cam dot ac dot uk 2008-08-28 08:15 --- (In reply to comment #5) The patch solving the problem will be sent soon. The patch you posted fixes the build of CP2K. Benchmark results will appear: http://cp2k.berlios.de/gfortran/ the night after it hits

[Bug tree-optimization/31029] missed optimization

2008-08-28 Thread jv244 at cam dot ac dot uk
--- Comment #5 from jv244 at cam dot ac dot uk 2008-08-28 15:40 --- current trunk still doesn't remove the if statement, despite the fact that it could. -- jv244 at cam dot ac dot uk changed: What|Removed |Added

[Bug rtl-optimization/17088] [4.4 Regression] poor fortran optimisation at -O2/3

2008-08-28 Thread jv244 at cam dot ac dot uk
--- Comment #14 from jv244 at cam dot ac dot uk 2008-08-28 15:55 --- It looks like 4.4 performs even worse than 4.3 on the attached testcase. gfortran -ffast-math -march=native -O3 PR17088.f90 trunk: 0.528032997 4.3.0: 0.492029997 ifort -xhost -O2 PR17088.f90 ifort

[Bug rtl-optimization/17088] [4.4 Regression] poor fortran optimisation at -O2/3

2008-08-28 Thread jv244 at cam dot ac dot uk
--- Comment #15 from jv244 at cam dot ac dot uk 2008-08-28 15:56 --- Created an attachment (id=16158) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16158action=view) ifort asm ifort asm as a reference -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17088

[Bug rtl-optimization/17088] [4.4 Regression] poor fortran optimisation at -O2/3

2008-08-28 Thread jv244 at cam dot ac dot uk
--- Comment #16 from jv244 at cam dot ac dot uk 2008-08-28 16:08 --- actually, I've been misreading the numbers... the timings for the library function (MATMUL) is bad, not the generated code, which is reasonable also with gfortran. I'll close the bug. -- jv244 at cam dot ac dot

[Bug rtl-optimization/37251] New: [4.4 Regression] ICE with ira: delete_allocno_from_bucket

2008-08-27 Thread jv244 at cam dot ac dot uk
ReportedBy: jv244 at cam dot ac dot uk OtherBugsDependingO 29975 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37251

[Bug rtl-optimization/37251] [4.4 Regression] ICE with ira: delete_allocno_from_bucket

2008-08-27 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2008-08-27 06:26 --- Created an attachment (id=16153) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16153action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37251

[Bug rtl-optimization/37251] [4.4 Regression] ICE with ira: delete_allocno_from_bucket

2008-08-27 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37251

[Bug rtl-optimization/37251] [4.4 Regression] ICE with ira: delete_allocno_from_bucket

2008-08-27 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2008-08-27 07:45 --- Created an attachment (id=16154) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16154action=view) shorter Fortran only testcase gfortran -v -c -O3 -ffast-math -funroll-loops -ftree-vectorize -march=native

[Bug rtl-optimization/37251] [4.4 Regression] ICE with ira: delete_allocno_from_bucket

2008-08-27 Thread jv244 at cam dot ac dot uk
--- Comment #3 from jv244 at cam dot ac dot uk 2008-08-27 07:53 --- This is the minimal command line to reproduce the bug: gfortran -c -O1 -ffast-math -march=core2 bug_PR37251.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37251

[Bug middle-end/37223] [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563

2008-08-25 Thread jv244 at cam dot ac dot uk
--- Comment #6 from jv244 at cam dot ac dot uk 2008-08-25 06:10 --- today's trunk gets this right. -- jv244 at cam dot ac dot uk changed: What|Removed |Added

[Bug middle-end/37223] New: [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563

2008-08-24 Thread jv244 at cam dot ac dot uk
Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk OtherBugsDependingO 29975 nThis: http

[Bug middle-end/37223] [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563

2008-08-24 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2008-08-24 18:05 --- Created an attachment (id=16137) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16137action=view) testcase untar and compile with gfortran -c -O3 -ffast-math -funroll-loops -ftree-vectorize -march=native -ffree

[Bug middle-end/37223] [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563

2008-08-24 Thread jv244 at cam dot ac dot uk
--- Comment #3 from jv244 at cam dot ac dot uk 2008-08-24 19:13 --- (In reply to comment #2) (In reply to comment #1) Created an attachment (id=16137) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16137action=view) [edit] testcase untar and compile with gfortran -c

[Bug middle-end/37223] [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563

2008-08-24 Thread jv244 at cam dot ac dot uk
--- Comment #4 from jv244 at cam dot ac dot uk 2008-08-24 20:00 --- Created an attachment (id=16138) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16138action=view) Fortran only testcase compile as: gfortran -c -O3 -ffast-math -funroll-loops -ftree-vectorize -march=native -ffree

[Bug fortran/37199] array assignment from function writes out of bounds

2008-08-22 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added OtherBugsDependingO||32834 nThis

[Bug fortran/37193] USE mod, ONLY: i, i=j does not import i

2008-08-22 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug middle-end/37174] New: ICE: in vinfo_for_stmt, at tree-vectorizer.h:546

2008-08-20 Thread jv244 at cam dot ac dot uk
dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu OtherBugsDependingO 29975 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37174

[Bug middle-end/37174] ICE: in vinfo_for_stmt, at tree-vectorizer.h:546

2008-08-20 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2008-08-20 07:36 --- Created an attachment (id=16105) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16105action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37174

[Bug middle-end/37174] [4.4 Regression] ICE: in vinfo_for_stmt, at tree-vectorizer.h:546

2008-08-20 Thread jv244 at cam dot ac dot uk
--- Comment #5 from jv244 at cam dot ac dot uk 2008-08-20 12:34 --- (In reply to comment #4) I am testing the following patch: I checked that it fixed the problem with the original bug (PR37174.tgz) Thanks! Index: tree-vect-analyze.c

[Bug tree-optimization/31079] 20% difference between ifort/gfortran, missed vectorization

2008-08-19 Thread jv244 at cam dot ac dot uk
--- Comment #11 from jv244 at cam dot ac dot uk 2008-08-19 06:09 --- Created an attachment (id=16095) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16095action=view) new testcase This (PR31079_11.f90) should be a replacement for comment #4, and illustrates the vectorizer issue

[Bug tree-optimization/31079] 20% difference between ifort/gfortran, missed vectorization

2008-08-19 Thread jv244 at cam dot ac dot uk
--- Comment #12 from jv244 at cam dot ac dot uk 2008-08-19 06:11 --- Created an attachment (id=16096) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16096action=view) ifort's asm for PR31079_11.f90 at -O3 -xT -S -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31079

[Bug middle-end/37150] vectorizer issue

2008-08-19 Thread jv244 at cam dot ac dot uk
--- Comment #4 from jv244 at cam dot ac dot uk 2008-08-19 10:53 --- (In reply to comment #2) Note that the first complete unrolling pass unrolls loops that result in smaller code. This interferes with vectorization in your case, so can you try unfortunately, the patch below

[Bug middle-end/37150] vectorizer issue

2008-08-19 Thread jv244 at cam dot ac dot uk
--- Comment #5 from jv244 at cam dot ac dot uk 2008-08-19 11:36 --- Created an attachment (id=16098) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16098action=view) ifort asm added the ifort asm. The remaining difference seems to be related to how data is being loaded

[Bug tree-optimization/31079] 20% difference between ifort/gfortran, missed vectorization

2008-08-19 Thread jv244 at cam dot ac dot uk
--- Comment #13 from jv244 at cam dot ac dot uk 2008-08-19 13:31 --- (In reply to comment #11) This (PR31079_11.f90) should be a replacement for comment #4, and illustrates the vectorizer issue. The patch Richard posted in PR37150 also improves this PR31079_11.f90 testcase a lot

[Bug middle-end/37150] vectorizer issue

2008-08-19 Thread jv244 at cam dot ac dot uk
--- Comment #6 from jv244 at cam dot ac dot uk 2008-08-19 13:50 --- Created an attachment (id=16099) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16099action=view) non-reduced testcase unfortunately, on the non-reduced testcase (attached as collocate_fast_2.f90) the vectorization

[Bug middle-end/37150] New: vectorizer issue

2008-08-18 Thread jv244 at cam dot ac dot uk
: missed-optimization Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37150

[Bug middle-end/37150] vectorizer issue

2008-08-18 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2008-08-18 15:33 --- Created an attachment (id=16082) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16082action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37150

[Bug tree-optimization/31079] 20% difference between ifort/gfortran, missed vectorization

2008-08-18 Thread jv244 at cam dot ac dot uk
--- Comment #8 from jv244 at cam dot ac dot uk 2008-08-19 05:43 --- (In reply to comment #7) That is, GCCs inner loop is .L6: addl$1, %eax addsd %xmm12, %xmm11 cmpl$1, %eax addsd %xmm14, %xmm3 addsd %xmm15, %xmm2

[Bug tree-optimization/31079] 20% difference between ifort/gfortran, missed vectorization

2008-08-18 Thread jv244 at cam dot ac dot uk
--- Comment #9 from jv244 at cam dot ac dot uk 2008-08-19 05:44 --- Created an attachment (id=16093) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16093action=view) comment #0 source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31079

[Bug tree-optimization/31079] 20% difference between ifort/gfortran, missed vectorization

2008-08-18 Thread jv244 at cam dot ac dot uk
--- Comment #10 from jv244 at cam dot ac dot uk 2008-08-19 05:45 --- Created an attachment (id=16094) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16094action=view) comment #0 intel's assembly (ifort 9.1 at -O2 -xT) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31079

[Bug debug/37098] [vta] ICE in expand_debug_expr, at cfgexpand.c:2519

2008-08-13 Thread jv244 at cam dot ac dot uk
--- Comment #4 from jv244 at cam dot ac dot uk 2008-08-13 06:47 --- (In reply to comment #3) Created an attachment (id=16062) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16062action=view) [edit] Patch that may fix the bug Thanks for the report. Wow, I was a bit surprised

[Bug debug/37098] New: [vta] ICE in expand_debug_expr, at cfgexpand.c:2519

2008-08-12 Thread jv244 at cam dot ac dot uk
Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http

[Bug debug/37098] [vta] ICE in expand_debug_expr, at cfgexpand.c:2519

2008-08-12 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2008-08-12 19:04 --- some vta testing on CP2K as requested in http://gcc.gnu.org/ml/gcc/2008-08/msg00160.html -- jv244 at cam dot ac dot uk changed: What|Removed |Added

[Bug debug/37098] [vta] ICE in expand_debug_expr, at cfgexpand.c:2519

2008-08-12 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2008-08-12 19:25 --- already happens at -O1: gfortran -c -g -O1 all_cp2k_gfortran.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37098

[Bug fortran/37099] Wrong results when comparing a character array to a character expression

2008-08-12 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added OtherBugsDependingO||32834 nThis

[Bug fortran/34828] ICE: GNU MP: Cannot reallocate memory for gfortran.dg/parameter_array_init_3.f90

2008-08-11 Thread jv244 at cam dot ac dot uk
--- Comment #22 from jv244 at cam dot ac dot uk 2008-08-11 07:34 --- as per comment #20 and comment #21 -- jv244 at cam dot ac dot uk changed: What|Removed |Added

[Bug fortran/34567] module name without a module

2008-08-08 Thread jv244 at cam dot ac dot uk
--- Comment #6 from jv244 at cam dot ac dot uk 2008-08-08 20:34 --- (In reply to comment #5) (In reply to comment #4) If you look, the patch preceeded the PR. Toon posted the problem on the list, promising to develop this testcase. This he duly did. Please keep it open another

<    1   2   3   4   5   6   7   8   9   10   >