[Bug libfortran/35001] shape for negative sizes

2008-01-31 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2008-01-31 21:10 --- A patch for when trunk reopens. Index: m4/shape.m4 === --- m4/shape.m4 (revision 131915) +++ m4/shape.m4 (working copy) @@ -46,6 +46,7 @@ shape_

[Bug libfortran/35001] shape for negative sizes

2008-02-02 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2008-02-02 13:51 --- Subject: Bug 35001 Author: tkoenig Date: Sat Feb 2 13:50:55 2008 New Revision: 132070 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132070 Log: 2008-02-02 Thomas Koenig <[EMAIL PROTECTED]&g

[Bug libfortran/35001] shape for negative sizes

2008-02-02 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2008-02-02 13:51 --- (In reply to comment #2) > Thomas, this is OK to commit since it is fixing a wrong code bug, assuming you > have regression tested. (Discussed with Richi on IRC.) Yes, I had done so. Commited to trunk.

[Bug libfortran/35063] write statement leaks handles/memory on windows xp

2008-02-03 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2008-02-04 07:17 --- (In reply to comment #3) > ==25454== Conditional jump or move depends on uninitialised value(s) > ==25454==at 0x4333BD: strlen (in /home/jerry/prs/pr35063/a.out) > ==25454==by 0x408087: writ

[Bug libfortran/35063] I/O leaks handles/memory on Windows XP

2008-02-06 Thread tkoenig at gcc dot gnu dot org
--- Comment #12 from tkoenig at gcc dot gnu dot org 2008-02-06 21:49 --- Just wondering... is this a regression? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35063

[Bug libfortran/35132] New: Formatted stream I/O write should truncate

2008-02-07 Thread tkoenig at gcc dot gnu dot org
20,'(A)') c print '(A)',c end do close (20) end program main It currently prints 123456 ASDFef qwerty which is wrong. -- Summary: Formatted stream I/O write should truncate Product: gcc Version: 4.3.0 Status: UNCONFIRMED

[Bug libfortran/35063] [Regression wrt g77] I/O leaks handles/memory on Windows XP

2008-02-09 Thread tkoenig at gcc dot gnu dot org
--- Comment #33 from tkoenig at gcc dot gnu dot org 2008-02-09 21:49 --- We should fix this in 4.3.0 (and it's a regression, too). -- tkoenig at gcc dot gnu dot org changed: What|Removed |

[Bug ada/35143] [4.3 regression] Serious regression on ACATS results since 4.2.3

2008-02-09 Thread tkoenig at gcc dot gnu dot org
--- Comment #10 from tkoenig at gcc dot gnu dot org 2008-02-09 21:54 --- Adjusting Subject and milestone, to make sure this gets noticed. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-09 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2008-02-09 21:48 --- (In reply to comment #3) > How does this look :) I have a couple of other test prints in there. > > $ gfc pr35132.f90 > $ ./a.out > 1st: 123456 > 2nd: abcdef > 123456 > ASDFef > At

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-10 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2008-02-10 11:43 --- Hi Jerry, _unformatted_ stream should not truncate, you can put bytes into the middle of a file there. Does your patch do that? (I can't test right now). Thomas -- tkoenig at gcc dot gnu dot org ch

[Bug fortran/35157] New: accepts keyword argument without explicit interface

2008-02-10 Thread tkoenig at gcc dot gnu dot org
MED Keywords: accepts-invalid Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35157

[Bug fortran/29549] matmul slow for complex matrices

2008-02-10 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2008-02-10 22:47 --- (In reply to comment #5) > The big culprit seems to be -fcx-limited-range. The other flags enabled by > -ffast-math help very little. C has some strange rules for complex types, which are mandated by the C st

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-17 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2008-02-17 10:11 --- Patch has been OK'd for 4.4. -- tkoenig at gcc dot gnu dot org changed: What|Removed |

[Bug fortran/35299] scope of variables in statement function do not acquire rank from host

2008-02-23 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2008-02-23 20:22 --- Confirmed. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added CC

[Bug libfortran/35293] [4.4 Regression] truncation errors with gfortran.dg/streamio_11.f90, 3, 4 and 15.

2008-02-26 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2008-02-26 21:45 --- If we don't have a way to truncate a file, we won't have an easy time enforcing Fortran semantics. Are there any other ways of truncating a file on that particular target? If there aren't, we coul

[Bug libfortran/35293] [4.4 Regression] truncation errors with gfortran.dg/streamio_11.f90, 3, 4 and 15.

2008-02-26 Thread tkoenig at gcc dot gnu dot org
--- Comment #9 from tkoenig at gcc dot gnu dot org 2008-02-26 23:19 --- (In reply to comment #8) > > b) fail at runtime (noisily) and xfail the > >corresponding test cases > > *sigh* ok, I'll do it, except for the noise. Thanks a lot! You'll probably

[Bug libfortran/32972] performance of pack/unpack

2008-03-19 Thread tkoenig at gcc dot gnu dot org
--- Comment #11 from tkoenig at gcc dot gnu dot org 2008-03-19 09:26 --- Here's something for internal_pack and internal_unpack: http://gcc.gnu.org/ml/gcc-patches/2008-03/msg01121.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32972

[Bug libfortran/32972] performance of pack/unpack

2008-03-19 Thread tkoenig at gcc dot gnu dot org
--- Comment #12 from tkoenig at gcc dot gnu dot org 2008-03-19 15:43 --- Subject: Bug 32972 Author: tkoenig Date: Wed Mar 19 15:42:55 2008 New Revision: 133344 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133344 Log: 2008-03-19 Thomas Koenig <[EMAIL PROTECTED]&g

[Bug libfortran/32972] performance of pack/unpack

2008-03-19 Thread tkoenig at gcc dot gnu dot org
--- Comment #14 from tkoenig at gcc dot gnu dot org 2008-03-19 16:57 --- Subject: Bug 32972 Author: tkoenig Date: Wed Mar 19 16:56:22 2008 New Revision: 133345 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133345 Log: 2008-03-19 Thomas Koenig <[EMAIL PROTECTED]&g

[Bug libfortran/32972] performance of pack/unpack

2008-03-19 Thread tkoenig at gcc dot gnu dot org
--- Comment #15 from tkoenig at gcc dot gnu dot org 2008-03-19 16:58 --- (In reply to comment #13) > There is a typo in libgfortran/runtime/in_pack_generic.c: Fixed. Thanks a lot for catching that one, Dominique! I would have hated to break bootstrap. -- http://gcc.gnu.

[Bug libfortran/32972] performance of pack/unpack

2008-03-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #17 from tkoenig at gcc dot gnu dot org 2008-03-20 10:54 --- Subject: Bug 32972 Author: tkoenig Date: Thu Mar 20 10:54:04 2008 New Revision: 133368 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133368 Log: 2008-03-20 Thomas Koenig <[EMAIL PROTECTED]&g

[Bug libfortran/32972] performance of pack/unpack

2008-03-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #18 from tkoenig at gcc dot gnu dot org 2008-03-20 11:58 --- (In reply to comment #16) > gfortran.dg/internal_pack_3.f90 looks invalid and fails: Again, thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32972

[Bug fortran/35632] [Regression] stream io broken on FreeBSD due to ftruncate changes.

2008-03-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #8 from tkoenig at gcc dot gnu dot org 2008-03-20 14:47 --- (In reply to comment #7) > > Any chance, you'll revert the offending patch? > The patch fixed a wrong-code PR, so by reverting the patch, we would introduce a wrong-code regression. I think it woul

[Bug libfortran/32972] performance of pack/unpack

2008-03-21 Thread tkoenig at gcc dot gnu dot org
--- Comment #19 from tkoenig at gcc dot gnu dot org 2008-03-21 14:37 --- Subject: Bug 32972 Author: tkoenig Date: Fri Mar 21 14:37:03 2008 New Revision: 133427 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133427 Log: 2008-03-21 Thomas Koenig <[EMAIL PROTECTED]&g

[Bug libfortran/32972] performance of pack/unpack

2008-03-21 Thread tkoenig at gcc dot gnu dot org
--- Comment #20 from tkoenig at gcc dot gnu dot org 2008-03-21 15:33 --- Subject: Bug 32972 Author: tkoenig Date: Fri Mar 21 15:33:13 2008 New Revision: 133428 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133428 Log: 2008-03-21 Thomas Koenig <[EMAIL PROTECTED]&g

[Bug libfortran/32972] performance of pack/unpack

2008-03-23 Thread tkoenig at gcc dot gnu dot org
--- Comment #21 from tkoenig at gcc dot gnu dot org 2008-03-23 22:20 --- Subject: Bug 32972 Author: tkoenig Date: Sun Mar 23 22:19:19 2008 New Revision: 133469 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133469 Log: 2007-03-23 Thomas Koenig <[EMAIL PROTECTED]

[Bug fortran/32512] efficiency of RESHAPE and SPREAD

2008-03-28 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2008-03-28 23:23 --- Subject: Bug 32512 Author: tkoenig Date: Fri Mar 28 23:22:49 2008 New Revision: 133702 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133702 Log: 2008-03-28 Thomas Koenig <[EMAIL PROTECTED]&g

[Bug libfortran/32972] performance of pack/unpack

2008-03-28 Thread tkoenig at gcc dot gnu dot org
--- Comment #22 from tkoenig at gcc dot gnu dot org 2008-03-28 23:23 --- Subject: Bug 32972 Author: tkoenig Date: Fri Mar 28 23:22:49 2008 New Revision: 133702 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133702 Log: 2008-03-28 Thomas Koenig <[EMAIL PROTECTED]&g

[Bug fortran/35682] assignment to run-time zero-sized complex section stores a value

2008-03-30 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2008-03-30 16:36 --- > Related program, which also fails (I thought we fixed this; this seems to be a > libgfortran problem): > > integer xda(20) > integer, volatile :: n > n = 1 > pri

[Bug rtl-optimization/35775] New: collapsing popping args for tail calls at -Os

2008-03-31 Thread tkoenig at gcc dot gnu dot org
ancement Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35775

[Bug fortran/35826] some (erroneous) code produces: internal compiler error

2008-04-06 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2008-04-06 13:51 --- Confirmed that this works for 4.3 and 4.4. Also, using 1 (instead of the illegal 0) as format generates the right error in 4.2, as well: $ gfortran-4.2 foo.f90 foo.f90:1.10: write(18,1) 'trtot= ',trtot

[Bug tree-optimization/39052] New: writing arrays twice not optimized

2009-01-31 Thread tkoenig at gcc dot gnu dot org
In the test case below, both stores are done. The compiler chould eliminate the first loop completely. $ cat a.c void foo(int *a, int n) { int i; for (i=0; ihttp://gcc.gnu.org/bugzilla/show_bug.cgi?id=39052

[Bug tree-optimization/39052] writing arrays twice not optimized

2009-02-01 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2009-02-01 15:53 --- (In reply to comment #1) > I don't think trying to solve this particular case is useful. In order to extend the -finit- - options for gfortran to allocatable arrays, I was thinking of adding an as

[Bug fortran/38914] ICE with array inquiry functions above contains in parameter expression

2009-02-21 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2009-02-21 22:25 --- Subject: Bug 38914 Author: tkoenig Date: Sat Feb 21 22:25:06 2009 New Revision: 144362 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144362 Log: 2008-02-21 Thomas Koenig PR fortr

[Bug fortran/39280] New: Optimizing integer power

2009-02-23 Thread tkoenig at gcc dot gnu dot org
edTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39280

[Bug tree-optimization/39683] New: -fstrict-overflow misses multiply in comparison

2009-04-07 Thread tkoenig at gcc dot gnu dot org
D Keywords: missed-optimization Severity: enhancement Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39683

[Bug rtl-optimization/37377] [4.4 Regression] Bootstrap failure compiling libgcc

2009-04-11 Thread tkoenig at gcc dot gnu dot org
--- Comment #16 from tkoenig at gcc dot gnu dot org 2009-04-11 19:48 --- Subject: Bug 37377 Author: tkoenig Date: Sat Apr 11 19:48:19 2009 New Revision: 145965 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145965 Log: 2009-04-11 Thomas Koenig PR fortr

[Bug fortran/31593] Invariant DO loop variables and subroutines

2009-08-13 Thread tkoenig at gcc dot gnu dot org
--- Comment #13 from tkoenig at gcc dot gnu dot org 2009-08-13 18:55 --- (In reply to comment #12) > That's exactly what Thomas is achieving by adding parentheses. Thomas, If you > want to tackle something more difficult, I'm willing to do this over the > weekend

[Bug fortran/31593] Invariant DO loop variables and subroutines

2009-08-14 Thread tkoenig at gcc dot gnu dot org
--- Comment #23 from tkoenig at gcc dot gnu dot org 2009-08-14 22:05 --- (In reply to comment #20) > Created an attachment (id=18369) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18369&action=view) [edit] > updated patch > > Corrected patch, I copied the var

[Bug fortran/31593] Invariant DO loop variables and subroutines

2009-08-15 Thread tkoenig at gcc dot gnu dot org
--- Comment #29 from tkoenig at gcc dot gnu dot org 2009-08-15 09:22 --- Subject: Re: Invariant DO loop variables and subroutines On Sat, 2009-08-15 at 07:53 +, jv244 at cam dot ac dot uk wrote: > > --- Comment #28 from jv244 at cam dot ac dot uk 2009-08-15

[Bug fortran/31593] Invariant DO loop variables and subroutines

2009-08-15 Thread tkoenig at gcc dot gnu dot org
--- Comment #30 from tkoenig at gcc dot gnu dot org 2009-08-15 09:25 --- Subject: Re: Invariant DO loop variables and subroutines On Fri, 2009-08-14 at 22:58 +, tobi at gcc dot gnu dot org wrote: > > --- Comment #26 from tobi at gcc dot gnu dot org 2009-08-14

[Bug fortran/31593] Invariant DO loop variables and subroutines

2009-08-15 Thread tkoenig at gcc dot gnu dot org
--- Comment #34 from tkoenig at gcc dot gnu dot org 2009-08-15 10:57 --- (In reply to comment #33) > Actually, we're buggy there, and my patch fixes it. I'm just now trying > out testcases. Are we really buggy? $ cat gaga.f90 n=10 do i=1,n call foo(n) prin

[Bug bootstrap/41078] New: [4.5 Regression] Build failure with --enable-maintainer-mode

2009-08-15 Thread tkoenig at gcc dot gnu dot org
ords: build Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41078

[Bug bootstrap/41078] [4.5 Regression] Build failure with --enable-maintainer-mode

2009-08-15 Thread tkoenig at gcc dot gnu dot org
-- tkoenig at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |critical Target Milestone|--- |4.5.0

[Bug bootstrap/41078] [4.5 Regression] Build failure with --enable-maintainer-mode

2009-08-15 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2009-08-15 16:05 --- Caused by wrong version of aclocal, sorry for the noise. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31593] Invariant DO loop variables and subroutines

2009-08-16 Thread tkoenig at gcc dot gnu dot org
--- Comment #37 from tkoenig at gcc dot gnu dot org 2009-08-16 16:12 --- Subject: Re: Invariant DO loop variables and subroutines On Sun, 2009-08-16 at 15:57 +, tobi at gcc dot gnu dot org wrote: > Now I only need to figure out how to make that patch pass the > testsuite

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

2009-08-17 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2009-08-17 22:12 --- I'll look at this for a bit. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40962

[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 AssignedTo

[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=gcc&view=rev&rev=150974 Log: 2009-08-20 Thomas Koenig PR libfortr

[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=gcc&view=rev&rev=150975 Log: 2009-08-20 Thomas Koenig PR libfortr

[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 fortran/40632] Support F2008's contiguous attribute

2009-08-24 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2009-08-24 19:33 --- It would also be useful when assigning arrays with a single value: subroutine foo(a) integer, a(:,:) :: a a = 0 ! See PR 41137, we could use memset or subroutine foo(a) integer, a(:,:) :: a A = 42

[Bug libfortran/34670] bounds checking for array intrinsics

2009-08-25 Thread tkoenig at gcc dot gnu dot org
--- Comment #15 from tkoenig at gcc dot gnu dot org 2009-08-25 17:05 --- Subject: Bug 34670 Author: tkoenig Date: Tue Aug 25 17:05:10 2009 New Revision: 151085 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151085 Log: 2009-08-25 Thomas Koenig PR libfortr

[Bug fortran/41197] ICE with ALLOCATE and nonscalar STAT= variable

2009-09-06 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2009-09-06 17:38 --- I have a patch. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug fortran/41197] ICE with ALLOCATE and nonscalar STAT= variable

2009-09-07 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2009-09-07 15:23 --- Subject: Bug 41197 Author: tkoenig Date: Mon Sep 7 15:23:15 2009 New Revision: 151480 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151480 Log: 2009-09-07 Thomas Koenig PR fortr

[Bug fortran/41278] internal compiler error related to matmul and transpose

2009-09-08 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2009-09-08 16:21 --- Not a regression. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41278

[Bug fortran/41197] ICE with ALLOCATE and nonscalar STAT= variable

2009-09-08 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2009-09-08 16:13 --- Fixed on trunkk, I don't think it is worth a backport. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |

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

2009-09-12 Thread tkoenig at gcc dot gnu dot org
--- Comment #11 from tkoenig at gcc dot gnu dot org 2009-09-12 14:00 --- (In reply to comment #10) > It doesn't work if the 3rd dimension is > 2 > The test case only shows the array shape. > It should fill the sample arrays and > compares. The test case is: ! {

[Bug fortran/32131] knowing that stride==1 when using allocated arrays and escaping allocatable arrays

2009-09-13 Thread tkoenig at gcc dot gnu dot org
--- Comment #13 from tkoenig at gcc dot gnu dot org 2009-09-13 12:54 --- Actually closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41586] Allocatable _scalars_ are never auto-deallocated

2009-10-11 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2009-10-11 16:44 --- Confirmed. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug fortran/41137] inefficient zeroing of an array

2009-11-01 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2009-11-01 16:21 --- A workaround (which should really be implemented within the compiler): subroutine s(a,n) integer :: n real :: a(n*n*n*n) a = 0.0 end subroutine This is legal Fortran, equivalent to your routine, and should be much

[Bug fortran/41137] inefficient zeroing of an array

2009-11-01 Thread tkoenig at gcc dot gnu dot org
-- tkoenig at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41137

[Bug tree-optimization/41957] New: [4.4/4.5 Regression] ICE with -ftree-loop-linear

2009-11-05 Thread tkoenig at gcc dot gnu dot org
s: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41957

[Bug tree-optimization/41957] [4.4/4.5 Regression] ICE with -ftree-loop-linear

2009-11-05 Thread tkoenig at gcc dot gnu dot org
-- tkoenig at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41957

[Bug libfortran/31726] minloc/maxloc: wrong results with empty array (F2003 only)

2007-04-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2007-04-27 20:16 --- > One should also check the library version of MIN/MAXLOC. I'll do that. This is an area that I am working on anyway (PR 30694). Thanks for providing the test case, btw. It is quite thorough :-) --

[Bug libfortran/31726] minloc/maxloc: wrong results with empty array (F2003 only)

2007-04-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2007-04-27 21:00 --- Created an attachment (id=13457) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13457&action=view) Test case for the library functions The library function appears to be ok. Here is the test cas

[Bug fortran/31732] [4.3 regression] Assignment to array slice affects whole array

2007-04-28 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2007-04-28 10:46 --- Confirmed with i686-pc-linux-gnu. This fails with 4.3.0 20070419 and works with 4.2.0 20070415. Roger, I'm adding you to the CC list because you have been working on this part of the compiler. Could somebod

[Bug fortran/31732] [4.3 regression] Assignment to array slice affects whole array

2007-04-28 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2007-04-28 11:23 --- The zeroing is done by memset, as the slightly reduced test case shows: $ cat test2.f90 program Test implicit none real, dimension (2,2) :: smooth_factor data smooth_factor /4*1.0/ smooth_factor(1,:) = 0

[Bug fortran/31732] [4.3 regression] Assignment to array slice affects whole array

2007-04-29 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2007-04-29 20:23 --- I think I know what causes this, and I'll take this on. An expedition into the front-end :-) -- tkoenig at gcc dot gnu dot org changed: What|Removed |

[Bug fortran/31732] [4.3 regression] Assignment to array slice affects whole array

2007-04-29 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2007-04-29 21:59 --- Created an attachment (id=13464) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13464&action=view) Proposed patch This fixes the test case. Currently regtesting. -- http://gcc.gnu.org/b

[Bug fortran/31732] [4.3 regression] Assignment to array slice affects whole array

2007-04-30 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2007-04-30 08:41 --- This patch doesn't fix all cases. I'll work on a new one. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31732

[Bug fortran/31732] [4.3 regression] Assignment to array slice affects whole array

2007-05-01 Thread tkoenig at gcc dot gnu dot org
--- Comment #8 from tkoenig at gcc dot gnu dot org 2007-05-01 14:11 --- Subject: Bug 31732 Author: tkoenig Date: Tue May 1 14:11:36 2007 New Revision: 124326 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124326 Log: 2007-05-01 Thomas Koenig <[EMAIL PROTECTED]&g

[Bug fortran/31732] [4.3 regression] Assignment to array slice affects whole array

2007-05-01 Thread tkoenig at gcc dot gnu dot org
--- Comment #9 from tkoenig at gcc dot gnu dot org 2007-05-01 14:13 --- Fixed. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31716] segfault with real array bounds

2007-05-01 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2007-05-01 14:18 --- Closely related to PR 31251. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/31880] [4.2 only] silent data corruption in gfortran read statement

2007-05-11 Thread tkoenig at gcc dot gnu dot org
--- Comment #12 from tkoenig at gcc dot gnu dot org 2007-05-11 19:16 --- This is a regression WRT g77. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/31880] [4.2 only] silent data corruption in gfortran read statement

2007-05-11 Thread tkoenig at gcc dot gnu dot org
--- Comment #13 from tkoenig at gcc dot gnu dot org 2007-05-11 19:19 --- Mark, this bug is critical - silent data corruption upon read is really, really bad. I second Jerry's DeLisle's request for inclusion in 4.2. This is a regression versus g77, the fix is simpl

[Bug libfortran/30694] minval/maxval with +/-Inf

2007-05-17 Thread tkoenig at gcc dot gnu dot org
--- Comment #17 from tkoenig at gcc dot gnu dot org 2007-05-17 14:40 --- Created an attachment (id=13569) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13569&action=view) partial implementation Here's a partial implementation that seems to get things right for th

[Bug fortran/31994] conjg(transpose(a)) produces wrong answer.

2007-05-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2007-05-20 10:52 --- b = transpose(conjg(a)) works (also translated into the library call). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31994

[Bug fortran/31196] [4.2/4.1 only] wrong code generated with RESHAPE/TRANSPOSE

2007-05-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #10 from tkoenig at gcc dot gnu dot org 2007-05-20 13:28 --- Subject: Bug 31196 Author: tkoenig Date: Sun May 20 12:28:29 2007 New Revision: 124872 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124872 Log: 2007-05-20 Thomas Koenig <[EMAIL PROTECTED]&g

[Bug fortran/31196] [4.1 only] wrong code generated with RESHAPE/TRANSPOSE

2007-05-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #11 from tkoenig at gcc dot gnu dot org 2007-05-20 13:30 --- Fixed on 4.2. Do we want to backport to 4.1? -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31196] [4.1 only] wrong code generated with RESHAPE/TRANSPOSE

2007-05-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #13 from tkoenig at gcc dot gnu dot org 2007-05-20 21:01 --- One down, 54 wrong-code or ice-on-valid-code to go :-) Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31618] [4.2, 4.1 only] backspace intrinsic is not working on an unformatted file

2007-05-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #10 from tkoenig at gcc dot gnu dot org 2007-05-20 22:09 --- Subject: Bug 31618 Author: tkoenig Date: Sun May 20 21:07:14 2007 New Revision: 124878 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124878 Log: 2007-05-20 Thomas Koenig <[EMAIL PROTECTED]&g

[Bug fortran/31618] [4.2, 4.1 only] backspace intrinsic is not working on an unformatted file

2007-05-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #11 from tkoenig at gcc dot gnu dot org 2007-05-20 22:11 --- Now also fixed on 4.2.1 (revision 124878). Won't backport to 4.1. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |

[Bug fortran/24546] [meta-bug] gfortran debugging problems

2007-05-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #8 from tkoenig at gcc dot gnu dot org 2007-05-20 22:20 --- (In reply to comment #7) > PS: as a minor improvement, we might want to give numeric types a more > Fortran-like name, with a patch such as the following: ... Hi FX, are you planning to submit that patc

[Bug fortran/32048] New: max / min and NaN

2007-05-22 Thread tkoenig at gcc dot gnu dot org
org ReportedBy: tkoenig at gcc dot gnu dot org OtherBugsDependingO 30694 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32048

[Bug libfortran/30690] [4.2, 4.1 only] Clean up m4 files

2007-05-22 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2007-05-22 21:02 --- After some thoughts, I don't think it is worth backporting to 4.2. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |

[Bug fortran/31917] [4.2, 4.1 only] GFORTRAN_CONVERT_UNIT is ignored

2007-05-22 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2007-05-22 21:04 --- Do you plan a backport? If not, we should close this. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32059] include directives don't work with absolute pathnames

2007-05-23 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2007-05-23 20:33 --- Which version of gfortran are you using? This may be a duplicate of PR 30276, which was fixed in 4.2 and 4.3, but not 4.1. Upgrading to 4.2 (which is now released) may help. If the problem persists in 4.2 or 4.3

[Bug fortran/32048] max / min and NaN

2007-05-25 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2007-05-25 20:36 --- (In reply to comment #5) > Of course people are complaining that min/max as of IEEE does not propagate > NaNs > as other operations do. We could add flags like -fpropagate-nan, -fno-propagate-nan and -

[Bug fortran/22359] fseek intrinsic not implemented

2007-05-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2007-05-27 08:49 --- Frankly, I don't think we need to bother with a 4.2 backport. If nobody objects, I'll close this shortly. -- tkoenig at gcc dot gnu dot org changed: What|Removed

[Bug fortran/31258] segfault with transpose(reshape(char))

2007-05-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2007-05-27 09:04 --- The problem seems to extend to pretty much all array intrinsics: $ gfortran cshift.f90 cshift.f90: In function 'MAIN__': cshift.f90:3: internal compiler error: Segmentation fault Please submit a full

[Bug fortran/31258] segfault with transpose(reshape(char))

2007-05-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2007-05-27 09:06 --- I forgot the source code for the cshift case: $ cat cshift.f90 CHARACTER(LEN=3), DIMENSION(10) :: Z CHARACTER(LEN=10) :: res Z(:)="123" write(*,'(10A1)') CSHIFT(Z(:)(2:2),2) END $ gfortran cshif

[Bug fortran/31258] segfault with transpose(reshape(char))

2007-05-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2007-05-27 10:28 --- pack and unpack are also affected: $ cat pack.f90 CHARACTER(LEN=3), DIMENSION(10,10) :: Z CHARACTER(LEN=10) :: res Z="123" write(*,'(10A1)') pack(Z(:,:)(2:2),mask=.true.) END $ gfortran p

[Bug fortran/29602] [F2003] I/O specifiers can now be of any kind

2007-05-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2007-05-27 10:30 --- Setting severity to "enhancement". -- tkoenig at gcc dot gnu dot org changed: What|Removed

[Bug fortran/32131] New: knowing that stride==1 when using allocated arrays

2007-05-28 Thread tkoenig at gcc dot gnu dot org
rtran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32131

[Bug testsuite/32057] Random failure on gfortran.dg/secnds.f

2007-05-28 Thread tkoenig at gcc dot gnu dot org
-- tkoenig at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug fortran/32257] Scoping problem in implied do loop in I/O statement

2007-06-10 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2007-06-10 18:09 --- Two points: - The scoping is correct (i is indeed the same variable) - i becomes undefined on exit of the implied do loop, so the code is illegal. http://groups.google.de/group/comp.lang.fortran/browse_thread

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

2007-06-15 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2007-06-15 18:51 --- Confirmed, a runtime error would be better. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/30694] minval/maxval with +/-Inf

2007-06-15 Thread tkoenig at gcc dot gnu dot org
--- Comment #18 from tkoenig at gcc dot gnu dot org 2007-06-15 18:55 --- Due to huge time constraints, I won't be able to do anything with this for the next few weeks. Unassigning myself for the time. If anybody wants to look over my partial patch and fly with it, he'

[Bug libfortran/30694] minval/maxval with +/-Inf

2007-06-15 Thread tkoenig at gcc dot gnu dot org
-- tkoenig at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|tkoenig at gcc dot gnu dot |unassigned at gcc dot gnu |org

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