Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 26284
Product:  
Component:  
Status: RESOLVED
Resolution: FIXED
Assigned To: Not yet assigned to anyone <unassigned@gcc.gnu.org>
Host:
Reported against  
Priority:  
Severity:  
Target Milestone:  
 
 
Target:
Reporter: John David Anglin <danglin@gcc.gnu.org>
Add CC:
CC:
Remove selected CCs
Build:
URL:
Summary:
Keywords:
Known to work:
Known to fail:

Attachment Description Type Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 26284 depends on: Show dependency tree
Show dependency graph
Bug 26284 blocks:

Additional Comments:






View Bug Activity   |   Format For Printing   |   Clone This Bug


Description:   Last confirmed: Opened: 2006-02-14 14:41
Executing on host: /test/gnu/gcc-4.1/objdir/gcc/testsuite/../gfortran
-B/test/gn
u/gcc-4.1/objdir/gcc/testsuite/../
/test/gnu/gcc-4.1/gcc/gcc/testsuite/gfortran.
dg/bad_automatic_objects_1.f90   -O   -pedantic-errors -S  -o
bad_automatic_obje
cts_1.s    (timeout = 300)
 In file
/test/gnu/gcc-4.1/gcc/gcc/testsuite/gfortran.dg/bad_automatic_objects_1
.f90:13

  integer, dimension (i) :: j ! { dg-error "must have constant shape" }
                            1
Error: Module array 'j' at (1) cannot be automatic or assumed shape
compiler exited with status 1
output is:
 In file
/test/gnu/gcc-4.1/gcc/gcc/testsuite/gfortran.dg/bad_automatic_objects_1
.f90:13

  integer, dimension (i) :: j ! { dg-error "must have constant shape" }
                            1
Error: Module array 'j' at (1) cannot be automatic or assumed shape

FAIL: gfortran.dg/bad_automatic_objects_1.f90  -O   (test for errors, line 13)
FAIL: gfortran.dg/bad_automatic_objects_1.f90  -O   (test for errors, line 14)
FAIL: gfortran.dg/bad_automatic_objects_1.f90  -O   (test for errors, line 18)
FAIL: gfortran.dg/bad_automatic_objects_1.f90  -O   (test for errors, line 19)
FAIL: gfortran.dg/bad_automatic_objects_1.f90  -O  (test for excess errors)
Excess errors:
/test/gnu/gcc-4.1/gcc/gcc/testsuite/gfortran.dg/bad_automatic_objects_1.f90:13:
Error: Module array 'j' at (1) cannot be automatic or assumed shape

------- Comment #1 From Andrew Pinski 2006-02-14 16:06 -------
Fixed by;
http://gcc.gnu.org/ml/fortran/2006-02/msg00251.html
http://gcc.gnu.org/ml/gcc-cvs/2006-02/msg00508.html

------- Comment #2 From Andrew Pinski 2006-02-14 16:07 -------
*** Bug 26285 has been marked as a duplicate of this bug. ***

------- Comment #3 From Andrew Pinski 2006-02-14 16:07 -------
*** Bug 26286 has been marked as a duplicate of this bug. ***

------- Comment #4 From Andrew Pinski 2006-02-14 16:07 -------
*** Bug 26287 has been marked as a duplicate of this bug. ***

------- Comment #5 From Andrew Pinski 2006-02-14 16:08 -------
*** Bug 26288 has been marked as a duplicate of this bug. ***

------- Comment #6 From Andrew Pinski 2006-02-14 16:08 -------
*** Bug 26289 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug