[Bug fortran/22327] [4.0 only] Wrong code in array constructor

2005-07-07 Thread tkoenig at gcc dot gnu dot org
-- What|Removed |Added Summary|Wrong code in array |[4.0 only] Wrong code in |constructor |array constructor Target Milestone|

[Bug middle-end/20434] pessimization of complex expression

2005-07-07 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-07 09:14 --- This appears to be fixed now in mainline: $ cat complex-parts.c #include #include int main() { float cr,ci; float complex c; foo(&cr,&ci); c = cr+I*ci; return crealf(c)+cim

[Bug fortran/21594] [4.0 only] FAIL: gfortran.dg/eoshift.f90 -O0 execution test

2005-07-07 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-07 22:04 --- This should be gone now on mainline. Waiting for 4.0 to reopen. -- What|Removed |Added

[Bug fortran/22290] Optimize Assigned GOTO to cause error with -O1 or higher

2005-07-07 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-07 22:16 --- g77 gets this right. -- What|Removed |Added OtherBugsDependingO

[Bug libfortran/21593] FAIL: gfortran.dg/dev_null.f90

2005-07-09 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-09 14:39 --- (In reply to comment #8) > Andrew, is this sufficient to close this PR? The behavior of > ftruncate() on /dev/null appears to be system dependent. Being able to read back from /dev/null is still

[Bug libfortran/21593] FAIL: gfortran.dg/dev_null.f90

2005-07-10 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-10 22:18 --- The comments in fd_truncate (line 505 ff. in unix.c) read if (lseek (s->fd, s->logical_offset, SEEK_SET) == -1) return FAILURE; /* non-seekable files, like terminals and fifo's fai

[Bug libfortran/22436] New: print *,tiny(1._10) yields asterisks

2005-07-12 Thread tkoenig at gcc dot gnu dot org
: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: ia64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22436

[Bug libfortran/22437] New: Missing array intrinsics for kind=10 and kind=16

2005-07-12 Thread tkoenig at gcc dot gnu dot org
Severity: normal Priority: P2 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22437

[Bug libfortran/21593] FAIL: gfortran.dg/dev_null.f90

2005-07-12 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-12 20:40 --- Commit for 4.1 here: http://gcc.gnu.org/ml/gcc-cvs/2005-07/msg00486.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21593

[Bug libfortran/22436] print *,tiny(1._10) yields asterisks

2005-07-14 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-14 07:12 --- We are assuming at most three digits for the exponent, which isn't true for a kind=10 real. This is both in unformatted and formatted output. $ cat tiny2.f90 program main real(kind=10) a a = t

[Bug fortran/21594] [4.0 only] FAIL: gfortran.dg/eoshift.f90 -O0 execution test

2005-07-14 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-14 21:19 --- Fixed in 4.0. -- What|Removed |Added Status|ASSIGNED

[Bug libfortran/22142] [4.0 only] eoshift: boundary not filled in correctly

2005-07-14 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-14 21:20 --- Fixed in 4.0. -- What|Removed |Added Status|ASSIGNED

[Bug fortran/21594] [4.0 only] FAIL: gfortran.dg/eoshift.f90 -O0 execution test

2005-07-14 Thread tkoenig at gcc dot gnu dot org
-- Bug 21594 depends on bug 22142, which changed state. Bug 22142 Summary: [4.0 only] eoshift: boundary not filled in correctly http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22142 What|Old Value |New Value -

[Bug libfortran/22144] [4.0 only] eoshift1, eoshift3, cshift1 lack memory allocation

2005-07-14 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-14 21:21 --- Fixed in 4.0. -- What|Removed |Added Status|NEW

[Bug fortran/21594] [4.0 only] FAIL: gfortran.dg/eoshift.f90 -O0 execution test

2005-07-14 Thread tkoenig at gcc dot gnu dot org
-- Bug 21594 depends on bug 22144, which changed state. Bug 22144 Summary: [4.0 only] eoshift1, eoshift3, cshift1 lack memory allocation http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22144 What|Old Value |New Value

[Bug fortran/22495] New: Different ideas about .true. and .false.

2005-07-15 Thread tkoenig at gcc dot gnu dot org
Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22495

[Bug fortran/18108] [gfortran] overloading does not work for functions

2005-07-15 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-15 20:25 --- (In reply to comment #16) > This is one bad nasty ugly bug. Yep. This "works" (for small values of "works") if the IMPLICIT NONE is omitted. The problem appears to be that resolv

[Bug libfortran/21926] [4.0 only] matmul does not deal with non-packed result

2005-07-15 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-15 20:48 --- Fixed in 4.0. -- What|Removed |Added Status|ASSIGNED

[Bug libfortran/18857] [4.0 only] MATMUL failing with ALLOCATED matrices, unless base indices given

2005-07-15 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-15 20:48 --- Fixed in 4.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18857

[Bug libfortran/18857] [4.0 only] MATMUL failing with ALLOCATED matrices, unless base indices given

2005-07-15 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-15 20:50 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/22509] New: [4.1 regression] elemental.f90 testsuite failure

2005-07-16 Thread tkoenig at gcc dot gnu dot org
90 testsuite failure Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot

[Bug middle-end/22509] [4.1 regression] elemental.f90 testsuite failure

2005-07-16 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-16 18:59 --- (In reply to comment #1) > What target is this on? x86_64-pc-linux-gnu? i686-pc-linux-gnu. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22509

[Bug fortran/22518] New: ICE in gfc_conv_function_call for elemental character functions

2005-07-17 Thread tkoenig at gcc dot gnu dot org
Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org OtherBugsDependingO 19276

[Bug fortran/19276] [meta-bug] CHARACTER related bugs in gfortran

2005-07-17 Thread tkoenig at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||22518 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19276

[Bug fortran/21480] [4.0 only] trivial reshape operation gives erroneous results

2005-07-17 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-17 19:12 --- Fixed in 4.0. -- What|Removed |Added Status|ASSIGNED

[Bug fortran/22519] Memory and binary disk layout disagree for real*10

2005-07-17 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-17 19:45 --- I don't think the timing issue is valid. Look at these benchmarks: The first one simulates copying 12-byte values to 10-bit values, the second one a compact memcpy of a larger field. $ cat foo.c #in

[Bug fortran/22519] Memory and binary disk layout disagree for real*10

2005-07-17 Thread tkoenig at gcc dot gnu dot org
-- What|Removed |Added CC||tkoenig at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla

[Bug fortran/22519] Memory and binary disk layout disagree for real*10

2005-07-18 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-18 14:35 --- (In reply to comment #2) > ultimately, things have to be written by a system call, and a system call is > expensive. (One system call per array element is out of the question.) With the c

[Bug libfortran/21333] [4.0 only] in_pack / in_unpack alignment issues

2005-07-18 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-18 17:41 --- Fixed in 4.0. -- What|Removed |Added Status|ASSIGNED

[Bug fortran/22518] ICE in gfc_conv_function_call for elemental character functions

2005-07-19 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-19 07:30 --- This is probably invalid code. ifort rejects this with fortcom: Error: elem-char.f90, line 5: A CHARACTER function name must not be declared with an asterisk type-param-value (i.e., (LEN=*)) if the

[Bug fortran/22518] ICE in gfc_conv_function_call for elemental character functions

2005-07-19 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-19 07:57 --- No elemental function call necessary, it seems. (The * is probably invalid for this). Here is another case which exhibits the same behavior: $ cat clen.f90 program main implicit none character(len=2

[Bug libfortran/21593] [4.0 only] FAIL: gfortran.dg/dev_null.f90

2005-07-19 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-19 18:31 --- Fixed in 4.0. -- What|Removed |Added Status|ASSIGNED

[Bug fortran/22518] ICE in gfc_conv_function_call for character function with LEN=length(arg)

2005-07-22 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-22 08:34 --- Updated summary to reflect the bug more accurately. -- What|Removed |Added

[Bug fortran/22607] New: Elemental character functions don't work

2005-07-22 Thread tkoenig at gcc dot gnu dot org
Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22607

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

2005-07-22 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-22 11:30 --- Confirmed. We need to reject dummy arguments if - they are of a derived type - the derived type is declared in that subroutine - they aren't sequence types. -- What|Re

[Bug middle-end/22619] New: [4.1 regression] Compilation failure for real_const_1.f and real_const_2.f90

2005-07-22 Thread tkoenig at gcc dot gnu dot org
d-code Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22619

[Bug middle-end/22619] [4.1 regression] Compilation failure for real_const_1.f and real_const_2.f90

2005-07-22 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-22 20:22 --- I forget: $ gfortran -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.1/configure --prefix=/home/ig25 --enable-languages=c,f95 Thread model: posix gcc version 4.1.0 20050722

[Bug tree-optimization/22623] [4.1 Regression] g++.old-deja/g++.other/unchanging1.C fails

2005-07-22 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-23 06:31 --- I don't experience the libgfortran failure on i686-pc-linux-gnu. The latest ChangeLog entry for the gcc subdirectory on my machine is: 2005-07-22 Mark Mitchell <[EMAIL PROTECTED]>

[Bug rtl-optimization/22619] [4.1 regression] Compilation failure for real_const_1.f and real_const_2.f90

2005-07-23 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-23 07:06 --- The dump of the .optimzed contains a lot of statements like Invalid sum of incoming frequencies 2731, should be 9500 :; if (ABS_EXPR > 9.9974737875163555145263671875e-6) goto ; else goto ; Inva

[Bug middle-end/22509] [4.1 regression] elemental.f90 testsuite failure

2005-07-26 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-26 21:24 --- Also seen on http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg01377.html and http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg01002.html (for Cygwin). Confirmed. -- What|Removed

[Bug fortran/23092] New: scalar mask for minval/maxval

2005-07-27 Thread tkoenig at gcc dot gnu dot org
Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23092

[Bug fortran/23151] New: print (buf, format), expression should be invalid

2005-07-30 Thread tkoenig at gcc dot gnu dot org
nedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23151

[Bug fortran/23152] New: namelist can't contain an assumed size array

2005-07-30 Thread tkoenig at gcc dot gnu dot org
ormal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23152

[Bug fortran/23209] array shape conformance not checked

2005-08-05 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-05 20:17 --- At least it's caught at runtime with -fbounds-check: $ gfortran -fbounds-check conform.f90 $ ./a.out Fortran runtime error: Array bound mismatch I agree that a compile-time check would be b

[Bug fortran/17758] gfortran_abort and some others should be marked as noreturn

2005-08-09 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-09 20:00 --- stop_numeric, stop_string and runtime_error have been fixed. abort requires some more work. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17758

[Bug libfortran/22143] missing kinds 1 and 2 for eoshift and cshift

2005-08-10 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-10 20:32 --- Fixed in mainline and 4.0. -- What|Removed |Added Status|NEW

[Bug fortran/21594] [4.0 only] FAIL: gfortran.dg/eoshift.f90 -O0 execution test

2005-08-10 Thread tkoenig at gcc dot gnu dot org
-- Bug 21594 depends on bug 22143, which changed state. Bug 22143 Summary: missing kinds 1 and 2 for eoshift and cshift http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22143 What|Old Value |New Value -

[Bug target/23360] New: [4.1 regression] -ffast-math startup broken on i686 (maybe Athlon-xp)

2005-08-12 Thread tkoenig at gcc dot gnu dot org
686 (maybe Athlon-xp) Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig a

[Bug libfortran/23364] New: missing format reversion for internal write

2005-08-12 Thread tkoenig at gcc dot gnu dot org
version for internal write Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P2 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoeni

[Bug target/23360] [4.1 regression] -ffast-math startup broken on i686 (maybe Athlon-xp)

2005-08-12 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-12 20:22 --- $ gcc -g -ffast-math hello.c $ gdb ./a.out GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it

[Bug target/23360] [4.1 regression] -ffast-math startup broken on i686 (maybe Athlon-xp)

2005-08-12 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-12 20:37 --- (gdb) r Starting program: /home/ig25/Krempel/a.out Program received signal SIGSEGV, Segmentation fault. 0x08048469 in set_fast_math () at ../../gcc-4.1/gcc/config/i386/crtfastmath.c:70 70

[Bug fortran/23368] internal compiler error with NAG routines

2005-08-12 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-12 21:35 --- The NAG source isn't generally available. Can you provide a small test that exposes the bug? Also, it would be helpful if you could run the f951 binary under gdb, compile the source and provie a back

[Bug fortran/17379] Generic functions not resolved

2005-08-12 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-12 21:47 --- This is fixed on mainline and on 4.0. -- What|Removed |Added Status|NEW

[Bug target/23360] [4.1 regression] -ffast-math startup broken on i686 (maybe Athlon-xp)

2005-08-12 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-12 22:29 --- This also segfaults (see below). I am also seeing the gfortran testsuite failure prompted by this problem on http://gcc.gnu.org/ml/gcc-testresults/2005-08/msg00694.html and http://gcc.gnu.org/ml/gcc

[Bug fortran/23373] New: Functions returning pointers with pointer argument

2005-08-13 Thread tkoenig at gcc dot gnu dot org
duct: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org

[Bug fortran/23374] Reallocate problem (Numerical Recipes fortran source)

2005-08-13 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-13 11:47 --- *** This bug has been marked as a duplicate of 23373 *** -- What|Removed |Added

[Bug fortran/23373] Functions returning pointers with pointer argument

2005-08-13 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-13 11:47 --- *** Bug 23374 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug fortran/23373] Functions returning pointers with pointer argument

2005-08-13 Thread tkoenig at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00 |2005-08-

[Bug fortran/20663] Generic function is not resolved

2005-08-13 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-13 11:54 --- This has been fixed with Paul T's patch for generic name resolution. -- What|Removed |

[Bug fortran/23375] New: show location for runtime errors

2005-08-13 Thread tkoenig at gcc dot gnu dot org
ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23375

[Bug libfortran/23364] missing format reversion for internal write

2005-08-13 Thread tkoenig at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||23379 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23364

[Bug fortran/23379] New: compiler segfault with internal write

2005-08-13 Thread tkoenig at gcc dot gnu dot org
l write Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot

[Bug target/19274] temporary not eliminated in composite _mm_set_ps1

2005-08-13 Thread tkoenig at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||23379 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19274

[Bug fortran/23379] compiler segfault with internal write

2005-08-13 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-13 21:25 --- Sorry, wrong bug number. -- What|Removed |Added OtherBugsDependingO|19274

[Bug libfortran/23321] Direct unformatted read beyond EOF cores

2005-08-14 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-14 21:39 --- If HAVE_MMAP is undefined, then the test case gets to "should not get here", so this is buggy as well. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23321

[Bug libfortran/23321] Direct unformatted read beyond EOF cores

2005-08-15 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-15 22:12 --- Proposed fix: Index: transfer.c === RCS file: /cvs/gcc/gcc/libgfortran/io/transfer.c,v retrieving revision 1.52 diff -c -p -r1.52 transfer.c

[Bug libfortran/23419] New: unformatted complex I/O with kind=10

2005-08-16 Thread tkoenig at gcc dot gnu dot org
portedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: ia64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23419

[Bug fortran/23420] New: ICE on invalid print statement

2005-08-16 Thread tkoenig at gcc dot gnu dot org
ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23420

[Bug fortran/22519] Memory and binary disk layout disagree for real*10

2005-08-16 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-16 19:52 --- We need to settle what kind of disk image we want for real(kind=10) before resolving this for complex. -- What|Removed |Added

[Bug fortran/23428] inquire(iolength= ) for complex give incorrect value

2005-08-16 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-16 20:12 --- Confirmed. -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu

[Bug tree-optimization/23429] New: Operations involving unsigneds could be simplified

2005-08-16 Thread tkoenig at gcc dot gnu dot org
riority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23429

[Bug libfortran/23428] inquire(iolength= ) for complex give incorrect value

2005-08-16 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-16 21:39 --- Fixed in 4.0 and mainline. Closing. -- What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/23452] New: Optimizing CONJG_EXPR (a) * a

2005-08-18 Thread tkoenig at gcc dot gnu dot org
ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23452

[Bug rtl-optimization/22509] [4.1 regression] elemental.f90 testsuite failure (-fweb)

2005-08-21 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-22 05:57 --- My understanding is that this is not Fortran-specific, but that Fortran happens to have a test case that exposes this bug. Has anybody constructed a C test case? -- http://gcc.gnu.org/bugzilla

[Bug libfortran/23598] New: iostat handling after library error return

2005-08-27 Thread tkoenig at gcc dot gnu dot org
Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P2 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23598

[Bug libfortran/23598] iostat handling after library error return

2005-08-28 Thread tkoenig at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |tkoenig at gcc dot gnu dot |dot org |org URL|

[Bug libfortran/23598] iostat handling after library error return

2005-08-29 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-29 20:56 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/42131] Weird translation of DO loops

2009-11-21 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2009-11-21 18:31 --- (In reply to comment #2) > Sorry, Steve - my mistake. > > The original message should have been: > > To illustrate this with a simple example: > > DO I = M1, M2, M3 >B(I) = A(I) &g

[Bug fortran/42131] Weird translation of DO loops

2009-11-21 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2009-11-21 23:07 --- Created an attachment (id=19076) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19076&action=view) proposed patch This patch generates D.1336 = m1; D.1337 = m2; D.1338 = m3; i = D.1336;

[Bug fortran/42131] Weird translation of DO loops

2009-11-21 Thread tkoenig at gcc dot gnu dot org
--- Comment #8 from tkoenig at gcc dot gnu dot org 2009-11-21 23:42 --- Subject: Re: Weird translation of DO loops On Sat, 2009-11-21 at 23:23 +, rguenther at suse dot de wrote: > That's better. Not yet correct, though, this causes regressions for prog

[Bug fortran/42131] Weird translation of DO loops

2009-11-23 Thread tkoenig at gcc dot gnu dot org
--- Comment #11 from tkoenig at gcc dot gnu dot org 2009-11-23 21:48 --- Created an attachment (id=19104) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19104&action=view) another proposed patch Here's another proposed patch, but there is a problem with it. If we c

[Bug fortran/42131] Weird translation of DO loops

2009-11-26 Thread tkoenig at gcc dot gnu dot org
--- Comment #13 from tkoenig at gcc dot gnu dot org 2009-11-26 21:56 --- Created an attachment (id=19159) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19159&action=view) patch that implements the multiplication idea This generates if (D.1339 > 0) {

[Bug fortran/42131] Weird translation of DO loops

2009-11-26 Thread tkoenig at gcc dot gnu dot org
--- Comment #15 from tkoenig at gcc dot gnu dot org 2009-11-26 23:43 --- (In reply to comment #14) > Looks much better than the current situation. Is there a valid > reason for the character(kind=4) casts? I would have thought > that this should be a integer(kind=4). The

[Bug fortran/42131] Weird translation of DO loops

2009-11-28 Thread tkoenig at gcc dot gnu dot org
--- Comment #19 from tkoenig at gcc dot gnu dot org 2009-11-28 15:16 --- (In reply to comment #18) > Well, in that case you can as well rely on twos-complement > arithmetic and avoid all the overflow issues? This is difficult without if statements or MAX_EXPR and MIN_EXPR, bec

[Bug fortran/42131] Weird translation of DO loops

2009-11-29 Thread tkoenig at gcc dot gnu dot org
--- Comment #20 from tkoenig at gcc dot gnu dot org 2009-11-30 07:31 --- Created an attachment (id=19182) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19182&action=view) Patch that works for unrolling It also passes do_3.F90. I'll submit just in time for meeting

[Bug fortran/42131] Weird translation of DO loops

2009-11-30 Thread tkoenig at gcc dot gnu dot org
--- Comment #22 from tkoenig at gcc dot gnu dot org 2009-11-30 19:15 --- (In reply to comment #21) > the "sign" for unsigned steps is always 1, you don't seem to account > for unsignedness? (Un)fortunately, there are no unsigned varaibles in Fortran. > Note t

[Bug fortran/42131] Weird translation of DO loops

2009-11-30 Thread tkoenig at gcc dot gnu dot org
--- Comment #24 from tkoenig at gcc dot gnu dot org 2009-11-30 20:35 --- Subject: Bug 42131 Author: tkoenig Date: Mon Nov 30 20:35:41 2009 New Revision: 154839 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154839 Log: 2009-11-30 Thomas Koenig PR fortr

[Bug fortran/42131] Weird translation of DO loops

2009-11-30 Thread tkoenig at gcc dot gnu dot org
--- Comment #25 from tkoenig at gcc dot gnu dot org 2009-11-30 21:01 --- Fixed on trunk. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/42268] New: [4.4/4.5 Regression] derived type segfault with pack and unpack

2009-12-03 Thread tkoenig at gcc dot gnu dot org
at gcc dot gnu dot org BugsThisDependsOn: 41478 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42268

[Bug fortran/42268] [4.4/4.5 Regression] derived type segfault with pack and unpack

2009-12-03 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2009-12-03 20:43 --- See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41478#c11 -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/42268] [4.4/4.5 Regression] derived type segfault with pack

2009-12-04 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2009-12-04 19:22 --- Janus, I just re-checked the patch from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41478#c12 and found that that is all that's needed. OK to commit to trunk and, after a few days, to 4.4 with the testcase

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2009-12-04 Thread tkoenig at gcc dot gnu dot org
--- Comment #14 from tkoenig at gcc dot gnu dot org 2009-12-04 20:33 --- The problem is with the allocatable components for intrinsics, at least. This has the same problem: program main type :: container_t integer, dimension(:), allocatable :: entry end type container_t type

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2009-12-04 Thread tkoenig at gcc dot gnu dot org
--- Comment #15 from tkoenig at gcc dot gnu dot org 2009-12-04 20:36 --- Very probably a dup of PR 40850. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41478

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2009-12-04 Thread tkoenig at gcc dot gnu dot org
--- Comment #16 from tkoenig at gcc dot gnu dot org 2009-12-04 21:03 --- We get this right on assignment, so it is probably "just" a matter of copying over the logic from there. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41478

[Bug fortran/36534] Bogus: '__convert_s1_s4' at (1) is obsolescent in fortran 95

2009-12-05 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2009-12-05 18:28 --- $ cat huhu.f90 CHARACTER (kind=4,len=*) MY_STRING4(1:3), my_string_s4 PARAMETER ( MY_STRING4 = (/ "A" , "B", "C" /) ) end $ gfortran huhu.f90 huhu.f90:1.54: CHARACTER (kind=4,len=*)

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

2009-12-05 Thread tkoenig at gcc dot gnu dot org
--- Comment #30 from tkoenig at gcc dot gnu dot org 2009-12-05 21:53 --- (In reply to comment #29) > Probably fixed by the commit of PR 40643 comment 7 > > Author: jakub > Date: Fri Jul 24 07:57:13 2009 > New Revision: 150041 > > URL: http://gcc.gnu.org/viewcvs?

[Bug fortran/40643] maxloc/minloc: Wrong result for NaN at position 1

2009-12-05 Thread tkoenig at gcc dot gnu dot org
--- Comment #8 from tkoenig at gcc dot gnu dot org 2009-12-05 21:54 --- As far as I can see, this is fixed. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41951] [OOP] ICE in gfc_match_varspec, at fortran/primary.c:1815

2009-12-05 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2009-12-05 22:14 --- Reduced test case, from c2.f90: module m_sort implicit none type, abstract :: sort_t contains procedure(gt_cmp), deferred :: gt_cmp end type sort_t contains subroutine bsort(a) class(sort_t

[Bug tree-optimization/42108] [4.4/4.5 Regression] 50% performance regression

2009-12-14 Thread tkoenig at gcc dot gnu dot org
--- Comment #36 from tkoenig at gcc dot gnu dot org 2009-12-15 07:09 --- If it is any help, code which traps for a do loop is illegal Fortran, so the compiler may do anything in this case anyway. Is there a function like

[Bug rtl-optimization/29854] reload_combine looses track of uses

2009-12-16 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2009-12-16 17:27 --- A test case is still required. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

<    4   5   6   7   8   9   10   11   12   13   >