[Bug fortran/27786] Bad interaction between Cray pointer, assumed-size array and bounds checking

2006-06-06 Thread langton at gcc dot gnu dot org
-- langton at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |langton at gcc dot gnu dot |dot org

[Bug fortran/27786] Bad interaction between Cray pointer, assumed-size array and bounds checking

2006-06-08 Thread langton at gcc dot gnu dot org
--- Comment #3 from langton at gcc dot gnu dot org 2006-06-08 21:01 --- Subject: Bug 27786 Author: langton Date: Thu Jun 8 21:00:26 2006 New Revision: 114495 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114495 Log: * cray_pointers_2.f90: Add -fbounds-check

[Bug fortran/27786] Bad interaction between Cray pointer, assumed-size array and bounds checking

2006-06-08 Thread langton at gcc dot gnu dot org
--- Comment #4 from langton at gcc dot gnu dot org 2006-06-08 21:03 --- I've committed a patch that should fix this bug. -- langton at gcc dot gnu dot org changed: What|Removed |

[Bug fortran/27786] [4.1 only] Bad interaction between Cray pointer, assumed-size array and bounds checking

2006-06-15 Thread langton at gcc dot gnu dot org
--- Comment #6 from langton at gcc dot gnu dot org 2006-06-15 23:07 --- Subject: Bug 27786 Author: langton Date: Thu Jun 15 23:07:14 2006 New Revision: 114692 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114692 Log: PR fortran/27786 * cray_pointers_2.

[Bug fortran/27786] [4.1 only] Bad interaction between Cray pointer, assumed-size array and bounds checking

2006-06-15 Thread langton at gcc dot gnu dot org
--- Comment #7 from langton at gcc dot gnu dot org 2006-06-15 23:11 --- I've backported the patch to 4.1, so this bug should be resolved. -- langton at gcc dot gnu dot org changed: What|Removed |

[Bug libfortran/26893] kinds.h not generated, causing failure

2006-06-20 Thread langton at gcc dot gnu dot org
--- Comment #15 from langton at gcc dot gnu dot org 2006-06-20 23:32 --- (In reply to comment #14) > GMP-4.2 > ./configure --prefix=/opt --with-gnu-ld --disable-cxx --disable-nails > --disable-mpfr > MPFR-2.2 > ./configure --enable-mpfr --with-gmp-=/opt --prefix=/opt

[Bug fortran/24748] substring of implicitly typed variable not rejected

2006-06-21 Thread langton at gcc dot gnu dot org
--- Comment #2 from langton at gcc dot gnu dot org 2006-06-21 23:40 --- Here's a proposed fix: http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01216.html -- langton at gcc dot gnu dot org changed: What|Removed |

[Bug fortran/24748] substring of implicitly typed variable not rejected

2006-06-22 Thread langton at gcc dot gnu dot org
--- Comment #3 from langton at gcc dot gnu dot org 2006-06-22 18:30 --- Subject: Bug 24748 Author: langton Date: Thu Jun 22 18:30:18 2006 New Revision: 114901 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114901 Log: PR fortran/24748 * p

[Bug fortran/24748] substring of implicitly typed variable not rejected

2006-06-22 Thread langton at gcc dot gnu dot org
-- langton at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |langton at gcc dot gnu dot |dot org

[Bug target/25765] gfortran.dg/assign_2.f90 -O0 fails

2006-06-27 Thread langton at gcc dot gnu dot org
--- Comment #4 from langton at gcc dot gnu dot org 2006-06-27 20:13 --- The rs6000 patch (attached) does appear to work, at least on assign_2.f90. I'll do a full bootstrap and regression-test, then submit the fix. -- langton at gcc dot gnu dot org changed:

[Bug target/25765] gfortran.dg/assign_2.f90 -O0 fails

2006-06-27 Thread langton at gcc dot gnu dot org
--- Comment #5 from langton at gcc dot gnu dot org 2006-06-27 20:15 --- Created an attachment (id=11761) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11761&action=view) Geoffrey Keating's rs6000 patch applied to i386. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25765

[Bug fortran/24748] substring of implicitly typed variable not rejected

2006-06-30 Thread langton at gcc dot gnu dot org
--- Comment #5 from langton at gcc dot gnu dot org 2006-06-30 16:41 --- Subject: Bug 24748 Author: langton Date: Fri Jun 30 16:41:11 2006 New Revision: 115092 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115092 Log: PR fortran/24748 * gfortran.dg/im

[Bug target/25765] gfortran.dg/assign_2.f90 -O0 fails

2006-06-30 Thread langton at gcc dot gnu dot org
--- Comment #6 from langton at gcc dot gnu dot org 2006-06-30 16:46 --- This is fixed in 4.2 as of revision 115079. I'll backport the fix to 4.1 in the next few days: http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01492.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25765

[Bug fortran/24748] substring of implicitly typed variable not rejected

2006-06-30 Thread langton at gcc dot gnu dot org
--- Comment #6 from langton at gcc dot gnu dot org 2006-06-30 16:48 --- Fix backported to 4.1. -- langton at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/26893] kinds.h not generated, causing failure

2006-07-13 Thread langton at gcc dot gnu dot org
--- Comment #17 from langton at gcc dot gnu dot org 2006-07-13 21:00 --- (In reply to comment #16) > > Thanks but it doesn't work... Did you re-run 'configure' after rebuilding GMP and MPFR? What happens if you try to configure and bootstrap from a c

[Bug other/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6

2006-07-13 Thread langton at gcc dot gnu dot org
--- Comment #8 from langton at gcc dot gnu dot org 2006-07-13 21:11 --- (In reply to comment #0) > 3. Run ./configure --enable-threads --x-includes=/usr/X11R6 > --x-libraries=/usr/X11R6 --with-cpu=powerpc --with-mpfr=/usr/local/lib > --with-gmp=/usr/local/lib. Are you buildi

[Bug fortran/28411] gfortran: Internal error: Illegal instruction

2006-07-17 Thread langton at gcc dot gnu dot org
--- Comment #1 from langton at gcc dot gnu dot org 2006-07-17 21:42 --- I can confirm that there is a problem here, but I am getting different output. On MacIntel: york.llnl.gov(771)% gfortran -c -O2 -mfpmath=sse -msse -msse2 -ffpe-trap=invalid,zero,overflow -ftrapping-math -ftrapv

[Bug fortran/28411] gfortran: Internal error: Illegal instruction

2006-07-17 Thread langton at gcc dot gnu dot org
--- Comment #2 from langton at gcc dot gnu dot org 2006-07-17 21:57 --- The flags "-O2 -ftrapv" are sufficient to reproduce this crash. I get the same result on the Mac, and on Linux: ilx1(1067)% gfortran -c -O2 -ftrapv module_utilities2.f90 virtual memory exhausted: Canno

[Bug middle-end/28411] gfortran: Internal error: Illegal instruction

2006-07-17 Thread langton at gcc dot gnu dot org
--- Comment #3 from langton at gcc dot gnu dot org 2006-07-17 22:26 --- This doesn't appear to be a gfortran bug. On both i686-darwin and i686-pc-linux, a comparable C program crashes in the same way: york.llnl.gov(831)% cat foo.c void test_check_sums() { const int SIZE = 1

[Bug tree-optimization/28411] "Illegal instruction" error with -ftrapv

2006-07-18 Thread langton at gcc dot gnu dot org
--- Comment #7 from langton at gcc dot gnu dot org 2006-07-18 16:30 --- (In reply to comment #4) > This is the backtrace for the testcase in comment #3: I didn't post the Linux output for the C testcase, but I was seeing either segmentation faults after a long wait or (occa

[Bug fortran/20441] -finit-local-zero is missing from gfortran

2007-08-20 Thread langton at gcc dot gnu dot org
--- Comment #10 from langton at gcc dot gnu dot org 2007-08-20 15:07 --- (In reply to comment #9) > Adding -finit-real=nan (http://gcc.gnu.org/ml/fortran/2007-08/msg00408.html) > is > a real bonus for gfortran. > Any chance to add "-finit-real=snan" to set "

[Bug fortran/20441] -finit-local-zero is missing from gfortran

2007-09-20 Thread langton at gcc dot gnu dot org
--- Comment #11 from langton at gcc dot gnu dot org 2007-09-21 02:34 --- Subject: Bug 20441 Author: langton Date: Fri Sep 21 02:34:14 2007 New Revision: 128643 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128643 Log: PR fortran/20441 * gfortran

[Bug fortran/20441] -finit-local-zero is missing from gfortran

2007-09-20 Thread langton at gcc dot gnu dot org
--- Comment #12 from langton at gcc dot gnu dot org 2007-09-21 02:40 --- Fixed on trunk as of revision 128643. -- langton at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/33526] FAIL: gfortran.dg/openmp_stack.f90 -O0 (test for excess errors)

2007-09-22 Thread langton at gcc dot gnu dot org
--- Comment #2 from langton at gcc dot gnu dot org 2007-09-22 14:17 --- Okay, sorry about that! I'll ping Jakub Jelinek for approval to move this into libgomp/testsuite/libgomp.fortran. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33526

[Bug fortran/20441] -finit-local-zero is missing from gfortran

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

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

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

[Bug fortran/37039] Cray pointer with pointee DIMENSION statement after POINTER statement

2010-02-10 Thread langton at gcc dot gnu dot org
-- langton at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |langton at gcc dot gnu dot |dot org

[Bug fortran/43985] New: ICE when assumed size cray-pointee passed as argument

2010-05-04 Thread langton at gcc dot gnu dot org
f AS_EXPLICIT in trans-decl.c -- Summary: ICE when assumed size cray-pointee passed as argument Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: langton at gcc dot gnu dot org

[Bug fortran/37039] Cray pointer with pointee DIMENSION statement after POINTER statement

2010-05-12 Thread langton at gcc dot gnu dot org
--- Comment #3 from langton at gcc dot gnu dot org 2010-05-12 15:57 --- I don't think this is a dupe of either of those bugs. In this case, the dimension attribute isn't properly applied to 'tab' on line 5. The problem appears to be in variable_decl() (decl.c), w

[Bug fortran/37039] Cray pointer with pointee DIMENSION statement after POINTER statement

2010-05-12 Thread langton at gcc dot gnu dot org
--- Comment #4 from langton at gcc dot gnu dot org 2010-05-12 16:51 --- Created an attachment (id=20651) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20651&action=view) Possible fix (minimal testing) Removing cp_as entirely seems to work. I'll have to test th

[Bug fortran/37039] Cray pointer with pointee DIMENSION statement after POINTER statement

2010-05-12 Thread langton at gcc dot gnu dot org
--- Comment #5 from langton at gcc dot gnu dot org 2010-05-12 19:37 --- The patch I posted isn't correct. It causes a regression in gfortran.dg/cray_pointers_2.f90. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37039

[Bug fortran/37039] Cray pointer with pointee DIMENSION statement after POINTER statement

2010-05-12 Thread langton at gcc dot gnu dot org
--- Comment #6 from langton at gcc dot gnu dot org 2010-05-12 22:14 --- Created an attachment (id=20653) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20653&action=view) decl.c patch Trying again: this patch fixes the bug in the testcase and passes regression