public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/15393] New: Initialization of automatic objects not detected, causes ICE
@ 2004-05-12 23:01 lei at il dot ibm dot com
  2004-05-12 23:10 ` [Bug fortran/15393] [gfortran] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: lei at il dot ibm dot com @ 2004-05-12 23:01 UTC (permalink / raw)
  To: gcc-bugs

Initialization of automatic arrays is not permitted
and should be rejected by front end.

f951: ../../gcc/gcc/fortran/trans-array.c:2882: gfc_trans_auto_array_allocation:
Assertion `!((decl)->common.static_flag)' failed.
defect.f90: In function `foo':
defect.f90:3: internal compiler error: Aborted


subroutine foo(n)
  integer :: n
  integer, dimension(n) :: t = 123  !!! this is illegal !!!
  print*, t
end subroutine foo

-- 
           Summary: Initialization of automatic objects not detected, causes
                    ICE
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lei at il dot ibm dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug fortran/15393] [gfortran] Initialization of automatic objects not detected, causes ICE
  2004-05-12 23:01 [Bug fortran/15393] New: Initialization of automatic objects not detected, causes ICE lei at il dot ibm dot com
@ 2004-05-12 23:10 ` pinskia at gcc dot gnu dot org
  2004-05-12 23:47 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-12 23:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-12 11:56 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-12 11:56:34
               date|                            |
            Summary|Initialization of automatic |[gfortran] Initialization of
                   |objects not detected, causes|automatic objects not
                   |ICE                         |detected, causes ICE
   Target Milestone|---                         |tree-ssa


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


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

* [Bug fortran/15393] [gfortran] Initialization of automatic objects not detected, causes ICE
  2004-05-12 23:01 [Bug fortran/15393] New: Initialization of automatic objects not detected, causes ICE lei at il dot ibm dot com
  2004-05-12 23:10 ` [Bug fortran/15393] [gfortran] " pinskia at gcc dot gnu dot org
@ 2004-05-12 23:47 ` pinskia at gcc dot gnu dot org
  2004-05-13  0:27 ` lei at il dot ibm dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-12 23:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-12 11:57 -------
*** Bug 15370 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jblomqvi at cc dot hut dot
                   |                            |fi


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


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

* [Bug fortran/15393] [gfortran] Initialization of automatic objects not detected, causes ICE
  2004-05-12 23:01 [Bug fortran/15393] New: Initialization of automatic objects not detected, causes ICE lei at il dot ibm dot com
  2004-05-12 23:10 ` [Bug fortran/15393] [gfortran] " pinskia at gcc dot gnu dot org
  2004-05-12 23:47 ` pinskia at gcc dot gnu dot org
@ 2004-05-13  0:27 ` lei at il dot ibm dot com
  2004-05-13 14:39 ` lei at il dot ibm dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: lei at il dot ibm dot com @ 2004-05-13  0:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From lei at il dot ibm dot com  2004-05-12 12:21 -------
Subject: Re:  [gfortran] Initialization of automatic objects not
 detected, causes ICE


Oops.  I should have seen it -- sorry!
      Victor



                                                                                                                     
                      "pinskia at gcc                                                                                
                      dot gnu dot org"         To:       Victor Leikehman/Haifa/IBM@IBMIL                            
                      <gcc-bugzilla@gcc        cc:                                                                   
                      .gnu.org>                Subject:  [Bug fortran/15393] [gfortran] Initialization of automatic  
                                                objects not detected, causes ICE                                     
                      05/12/04 02:57 PM                                                                              
                      Please respond to                                                                              
                      gcc-bugzilla                                                                                   
                                                                                                                     




------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-12
11:57 -------
*** Bug 15370 has been marked as a duplicate of this bug. ***

--
           What    |Removed                     |Added
----------------------------------------------------------------------------

                 CC|                            |jblomqvi at cc dot hut dot
                   |                            |fi


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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.





-- 


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


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

* [Bug fortran/15393] [gfortran] Initialization of automatic objects not detected, causes ICE
  2004-05-12 23:01 [Bug fortran/15393] New: Initialization of automatic objects not detected, causes ICE lei at il dot ibm dot com
                   ` (2 preceding siblings ...)
  2004-05-13  0:27 ` lei at il dot ibm dot com
@ 2004-05-13 14:39 ` lei at il dot ibm dot com
  2004-05-14 14:07 ` pinskia at gcc dot gnu dot org
  2004-05-16 21:41 ` pbrook at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: lei at il dot ibm dot com @ 2004-05-13 14:39 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |lei at il dot ibm dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug fortran/15393] [gfortran] Initialization of automatic objects not detected, causes ICE
  2004-05-12 23:01 [Bug fortran/15393] New: Initialization of automatic objects not detected, causes ICE lei at il dot ibm dot com
                   ` (3 preceding siblings ...)
  2004-05-13 14:39 ` lei at il dot ibm dot com
@ 2004-05-14 14:07 ` pinskia at gcc dot gnu dot org
  2004-05-16 21:41 ` pbrook at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-14 14:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-13 20:52 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-05/msg00775.html>.

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


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


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

* [Bug fortran/15393] [gfortran] Initialization of automatic objects not detected, causes ICE
  2004-05-12 23:01 [Bug fortran/15393] New: Initialization of automatic objects not detected, causes ICE lei at il dot ibm dot com
                   ` (4 preceding siblings ...)
  2004-05-14 14:07 ` pinskia at gcc dot gnu dot org
@ 2004-05-16 21:41 ` pbrook at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2004-05-16 21:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pbrook at gcc dot gnu dot org  2004-05-15 18:41 -------
Fixed 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-05-15 18:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-12 23:01 [Bug fortran/15393] New: Initialization of automatic objects not detected, causes ICE lei at il dot ibm dot com
2004-05-12 23:10 ` [Bug fortran/15393] [gfortran] " pinskia at gcc dot gnu dot org
2004-05-12 23:47 ` pinskia at gcc dot gnu dot org
2004-05-13  0:27 ` lei at il dot ibm dot com
2004-05-13 14:39 ` lei at il dot ibm dot com
2004-05-14 14:07 ` pinskia at gcc dot gnu dot org
2004-05-16 21:41 ` pbrook 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).