public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/15976] New: ICE: assertion failure in trans-array.c
@ 2004-06-13 16:17 Mart dot Rentmeester at nn-online dot org
  2004-06-13 18:03 ` [Bug fortran/15976] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Mart dot Rentmeester at nn-online dot org @ 2004-06-13 16:17 UTC (permalink / raw)
  To: gcc-bugs

The compiler dies with an ICE:  n is not defined in the module.
Code is invalid. An error message should be generated; not
the obituary of the compiler.




gfortran -v -c n23.f95
Reading specs from /OPT/32/gcc-2004-06-09/lib/gcc/hppa2.0w-hp-hpux11.11/3.5.
0/specs
Configured with: ../configure --enable-languages=c,f95 
--prefix=/opt32/gcc-2004-06-09 --with-gmp=/opt32/gmp --with-gnu-as 
--with-as=/opt32/binutils/bin/as --enable-threads --disable-shared --disable-nls
Thread model: posix
gcc version 3.5.0 20040611 (experimental)
 /OPT/32/gcc-2004-06-09/libexec/gcc/hppa2.0w-hp-hpux11.11/3.5.0/f951 n23.f95 
-quiet -dumpbase n23.f95 -auxbase n23 -version -o /var/tmp//ccyr8Fge.s
GNU F95 version 3.5.0 20040611 (experimental) (hppa2.0w-hp-hpux11.11)
        compiled by GNU C version 3.5.0 20040611 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096


Assertion failed: onstack, file ../../gcc/fortran/trans-array.c, line 2836
n23.f95:0: internal compiler error: Aborted






module propmats

      integer    :: i(n)

end module propmats

-- 
           Summary: ICE: assertion failure in trans-array.c
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Mart dot Rentmeester at nn-online dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15976


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/15976] ICE: assertion failure in trans-array.c
  2004-06-13 16:17 [Bug fortran/15976] New: ICE: assertion failure in trans-array.c Mart dot Rentmeester at nn-online dot org
@ 2004-06-13 18:03 ` pinskia at gcc dot gnu dot org
  2004-09-23 14:09 ` pinskia at gcc dot gnu dot org
  2004-11-11  5:35 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-13 18:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-13 18:03 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-13 18:03:41
               date|                            |
            Summary|ICE: assertion failure in   |ICE: assertion failure in
                   |trans-array.c               |trans-array.c


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15976


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/15976] ICE: assertion failure in trans-array.c
  2004-06-13 16:17 [Bug fortran/15976] New: ICE: assertion failure in trans-array.c Mart dot Rentmeester at nn-online dot org
  2004-06-13 18:03 ` [Bug fortran/15976] " pinskia at gcc dot gnu dot org
@ 2004-09-23 14:09 ` pinskia at gcc dot gnu dot org
  2004-11-11  5:35 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-23 14:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-23 14:09 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02380.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15976


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/15976] ICE: assertion failure in trans-array.c
  2004-06-13 16:17 [Bug fortran/15976] New: ICE: assertion failure in trans-array.c Mart dot Rentmeester at nn-online dot org
  2004-06-13 18:03 ` [Bug fortran/15976] " pinskia at gcc dot gnu dot org
  2004-09-23 14:09 ` pinskia at gcc dot gnu dot org
@ 2004-11-11  5:35 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-11  5:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-11 05:35 -------
We now accepts the code slightly.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |accepts-invalid


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15976


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/15976] ICE: assertion failure in trans-array.c
       [not found] <bug-15976-7765@http.gcc.gnu.org/bugzilla/>
  2005-11-11  4:44 ` kargl at gcc dot gnu dot org
  2005-11-11  4:46 ` kargl at gcc dot gnu dot org
@ 2005-11-11  4:49 ` kargl at gcc dot gnu dot org
  2 siblings, 0 replies; 7+ messages in thread
From: kargl at gcc dot gnu dot org @ 2005-11-11  4:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from kargl at gcc dot gnu dot org  2005-11-11 04:49 -------
Fixed.


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15976


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/15976] ICE: assertion failure in trans-array.c
       [not found] <bug-15976-7765@http.gcc.gnu.org/bugzilla/>
  2005-11-11  4:44 ` kargl at gcc dot gnu dot org
@ 2005-11-11  4:46 ` kargl at gcc dot gnu dot org
  2005-11-11  4:49 ` kargl at gcc dot gnu dot org
  2 siblings, 0 replies; 7+ messages in thread
From: kargl at gcc dot gnu dot org @ 2005-11-11  4:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from kargl at gcc dot gnu dot org  2005-11-11 04:46 -------
Subject: Bug 15976

Author: kargl
Date: Fri Nov 11 04:46:50 2005
New Revision: 106778

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106778
Log:
PR fortran/15976
        * resolve.c (resolve_symbol): Disallow automatic arrays in module
scope.
        * gfortran.dg/automatic_module_variable.f90: New test.


Added:
   
branches/gcc-4_0-branch/gcc/testsuite/gfortran.dg/automatic_module_variable.f90
Modified:
    branches/gcc-4_0-branch/gcc/fortran/ChangeLog
    branches/gcc-4_0-branch/gcc/fortran/resolve.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15976


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/15976] ICE: assertion failure in trans-array.c
       [not found] <bug-15976-7765@http.gcc.gnu.org/bugzilla/>
@ 2005-11-11  4:44 ` kargl at gcc dot gnu dot org
  2005-11-11  4:46 ` kargl at gcc dot gnu dot org
  2005-11-11  4:49 ` kargl at gcc dot gnu dot org
  2 siblings, 0 replies; 7+ messages in thread
From: kargl at gcc dot gnu dot org @ 2005-11-11  4:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from kargl at gcc dot gnu dot org  2005-11-11 04:44 -------
Subject: Bug 15976

Author: kargl
Date: Fri Nov 11 04:44:16 2005
New Revision: 106777

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106777
Log:
PR fortran/15976
* resolve.c (resolve_symbol): Disallow automatic arrays in module scope.
* gfortran.dg/automatic_module_variable.f90: New test.



Added:
    trunk/gcc/testsuite/gfortran.dg/automatic_module_variable.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15976


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-11-11  4:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-13 16:17 [Bug fortran/15976] New: ICE: assertion failure in trans-array.c Mart dot Rentmeester at nn-online dot org
2004-06-13 18:03 ` [Bug fortran/15976] " pinskia at gcc dot gnu dot org
2004-09-23 14:09 ` pinskia at gcc dot gnu dot org
2004-11-11  5:35 ` pinskia at gcc dot gnu dot org
     [not found] <bug-15976-7765@http.gcc.gnu.org/bugzilla/>
2005-11-11  4:44 ` kargl at gcc dot gnu dot org
2005-11-11  4:46 ` kargl at gcc dot gnu dot org
2005-11-11  4:49 ` kargl at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).