public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/13248] New: ICE when using CHARACTER() in a type
@ 2003-12-01  1:13 dann at godzilla dot ics dot uci dot edu
  2003-12-01  1:21 ` [Bug middle-end/13248] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dann at godzilla dot ics dot uci dot edu @ 2003-12-01  1:13 UTC (permalink / raw)
  To: gcc-bugs

With: gcc version 3.5-tree-ssa 20031130 (merged 20031123)

mymod.f90: 
      MODULE mymod
                                                                        
      TYPE :: mymod_type                                         
        INTEGER          field1
        CHARACTER(80)    field2
      END TYPE
      TYPE (mymod_type), &
     & DIMENSION(:), ALLOCATABLE :: AN_EXAMPLE
      END MODULE mymod

test.f90

      SUBROUTINE mytest (MYARG)
      USE mymod;
      INTEGER :: MYARG
      DO i = 1,MYARG
        AN_EXAMPLE(i) = mymod_type (0,' ')
      ENDDO
      END

gfortran -c test.f90
test.f90: In function `mytest':

test.f90:5: internal compiler error: in operand_subword_force, at emit-rtl.c:1731
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

If field2's type is changed to something else, everything works fine.

-- 
           Summary: ICE when using CHARACTER() in a type
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dann at godzilla dot ics dot uci dot edu
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug middle-end/13248] ICE when using CHARACTER() in a type
  2003-12-01  1:13 [Bug fortran/13248] New: ICE when using CHARACTER() in a type dann at godzilla dot ics dot uci dot edu
@ 2003-12-01  1:21 ` pinskia at gcc dot gnu dot org
  2003-12-01  2:19 ` [Bug middle-end/13248] [gfortran] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-01  1:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-01 01:21 -------
This is most likely a middle-end problem rather than a front-end problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|fortran                     |middle-end
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |tree-ssa


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


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

* [Bug middle-end/13248] [gfortran] ICE when using CHARACTER() in a type
  2003-12-01  1:13 [Bug fortran/13248] New: ICE when using CHARACTER() in a type dann at godzilla dot ics dot uci dot edu
  2003-12-01  1:21 ` [Bug middle-end/13248] " pinskia at gcc dot gnu dot org
@ 2003-12-01  2:19 ` pinskia at gcc dot gnu dot org
  2003-12-02 16:01 ` pinskia at gcc dot gnu dot org
  2004-01-31  3:35 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-01  2:19 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE when using CHARACTER()  |[gfortran] ICE when using
                   |in a type                   |CHARACTER() in a type


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


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

* [Bug middle-end/13248] [gfortran] ICE when using CHARACTER() in a type
  2003-12-01  1:13 [Bug fortran/13248] New: ICE when using CHARACTER() in a type dann at godzilla dot ics dot uci dot edu
  2003-12-01  1:21 ` [Bug middle-end/13248] " pinskia at gcc dot gnu dot org
  2003-12-01  2:19 ` [Bug middle-end/13248] [gfortran] " pinskia at gcc dot gnu dot org
@ 2003-12-02 16:01 ` pinskia at gcc dot gnu dot org
  2004-01-31  3:35 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-02 16:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-02 16:01 -------
Confirmed, I really do not know if this is caused by the Tree to RTL expanders or the Fortran front-
end, with optimizations it still ICE's in the same place.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-12-02 16:01:10
               date|                            |


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


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

* [Bug middle-end/13248] [gfortran] ICE when using CHARACTER() in a type
  2003-12-01  1:13 [Bug fortran/13248] New: ICE when using CHARACTER() in a type dann at godzilla dot ics dot uci dot edu
                   ` (2 preceding siblings ...)
  2003-12-02 16:01 ` pinskia at gcc dot gnu dot org
@ 2004-01-31  3:35 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-31  3:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-31 03:35 -------
Fixed since at least 20040129.

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


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


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

end of thread, other threads:[~2004-01-31  3:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-01  1:13 [Bug fortran/13248] New: ICE when using CHARACTER() in a type dann at godzilla dot ics dot uci dot edu
2003-12-01  1:21 ` [Bug middle-end/13248] " pinskia at gcc dot gnu dot org
2003-12-01  2:19 ` [Bug middle-end/13248] [gfortran] " pinskia at gcc dot gnu dot org
2003-12-02 16:01 ` pinskia at gcc dot gnu dot org
2004-01-31  3:35 ` pinskia 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).