public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/21881] Array descriptors limit derived type sizes
       [not found] <bug-21881-10391@http.gcc.gnu.org/bugzilla/>
@ 2006-10-21 17:39 ` fxcoudert at gcc dot gnu dot org
  2007-01-05 14:12 ` fxcoudert at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2006-10-21 17:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from fxcoudert at gcc dot gnu dot org  2006-10-21 17:39 -------
Thomas, isn't the 4.3 branching a good time to work on this? Would you have
time for that?


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org


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


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

* [Bug libfortran/21881] Array descriptors limit derived type sizes
       [not found] <bug-21881-10391@http.gcc.gnu.org/bugzilla/>
  2006-10-21 17:39 ` [Bug libfortran/21881] Array descriptors limit derived type sizes fxcoudert at gcc dot gnu dot org
@ 2007-01-05 14:12 ` fxcoudert at gcc dot gnu dot org
  2007-09-14 11:31 ` fxcoudert at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-01-05 14:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from fxcoudert at gcc dot gnu dot org  2007-01-05 14:12 -------
ping: Would you have either an example where this limit is encountered?
Wouldn't 4.3 be ideal for that work?


-- 


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


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

* [Bug libfortran/21881] Array descriptors limit derived type sizes
       [not found] <bug-21881-10391@http.gcc.gnu.org/bugzilla/>
  2006-10-21 17:39 ` [Bug libfortran/21881] Array descriptors limit derived type sizes fxcoudert at gcc dot gnu dot org
  2007-01-05 14:12 ` fxcoudert at gcc dot gnu dot org
@ 2007-09-14 11:31 ` fxcoudert at gcc dot gnu dot org
  2007-09-21 19:56 ` [Bug fortran/21881] ICE instead of error for large arrays in derived types fxcoudert at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-09-14 11:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from fxcoudert at gcc dot gnu dot org  2007-09-14 11:31 -------
I think this is related to the check in trans-types.c:

  if (size && INTEGER_CST_P (size))
    {
      if (tree_int_cst_lt (gfc_max_array_element_size, size))
        internal_error ("Array element size too big");

      i += TREE_INT_CST_LOW (size) << GFC_DTYPE_SIZE_SHIFT;
    }
  dtype = build_int_cst (gfc_array_index_type, i);

which is triggered by code such as:

  type t
    integer i001(268435456)
  end type t

  type(t), allocatable :: x(:)

  allocate(x(1))
  print *, size(x)
  print *, shape(x)
  end


-- 


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


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

* [Bug fortran/21881] ICE instead of error for large arrays in derived types
       [not found] <bug-21881-10391@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2007-09-14 11:31 ` fxcoudert at gcc dot gnu dot org
@ 2007-09-21 19:56 ` fxcoudert at gcc dot gnu dot org
  2007-10-01 10:52 ` fxcoudert at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-09-21 19:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from fxcoudert at gcc dot gnu dot org  2007-09-21 19:56 -------
For now, we should simply change the ICE into a standard error.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal
          Component|libfortran                  |fortran
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|2005-12-28 06:36:10         |2007-09-21 19:56:35
               date|                            |
            Summary|Array descriptors limit     |ICE instead of error for
                   |derived type sizes          |large arrays in derived
                   |                            |types


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


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

* [Bug fortran/21881] ICE instead of error for large arrays in derived types
       [not found] <bug-21881-10391@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2007-09-21 19:56 ` [Bug fortran/21881] ICE instead of error for large arrays in derived types fxcoudert at gcc dot gnu dot org
@ 2007-10-01 10:52 ` fxcoudert at gcc dot gnu dot org
  2007-12-08 18:06 ` fxcoudert at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-10-01 10:52 UTC (permalink / raw)
  To: gcc-bugs



-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |fxcoudert at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-09-21 19:56:35         |2007-10-01 10:52:19
               date|                            |


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


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

* [Bug fortran/21881] ICE instead of error for large arrays in derived types
       [not found] <bug-21881-10391@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2007-10-01 10:52 ` fxcoudert at gcc dot gnu dot org
@ 2007-12-08 18:06 ` fxcoudert at gcc dot gnu dot org
  2007-12-16 19:38 ` tkoenig at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-12-08 18:06 UTC (permalink / raw)
  To: gcc-bugs



-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|fxcoudert at gcc dot gnu dot|unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


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


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

* [Bug fortran/21881] ICE instead of error for large arrays in derived types
       [not found] <bug-21881-10391@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2007-12-08 18:06 ` fxcoudert at gcc dot gnu dot org
@ 2007-12-16 19:38 ` tkoenig at gcc dot gnu dot org
  2007-12-17 22:20 ` tkoenig at gcc dot gnu dot org
  2010-05-08 20:04 ` dfranke at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-12-16 19:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from tkoenig at gcc dot gnu dot org  2007-12-16 19:38 -------
I'll do this.


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |tkoenig at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-10-01 10:52:19         |2007-12-16 19:38:41
               date|                            |


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


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

* [Bug fortran/21881] ICE instead of error for large arrays in derived types
       [not found] <bug-21881-10391@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2007-12-16 19:38 ` tkoenig at gcc dot gnu dot org
@ 2007-12-17 22:20 ` tkoenig at gcc dot gnu dot org
  2010-05-08 20:04 ` dfranke at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-12-17 22:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from tkoenig at gcc dot gnu dot org  2007-12-17 22:20 -------
Changing this into a normal error leads to double
errors and assorted strangeness.

Unassigning myself for now.


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|tkoenig at gcc dot gnu dot  |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


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


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

* [Bug fortran/21881] ICE instead of error for large arrays in derived types
       [not found] <bug-21881-10391@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2007-12-17 22:20 ` tkoenig at gcc dot gnu dot org
@ 2010-05-08 20:04 ` dfranke at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2010-05-08 20:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from dfranke at gcc dot gnu dot org  2010-05-08 20:04 -------
I expect, the array descriptor reform may make this fixable?!


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |37577


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


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

* [Bug libfortran/21881] Array descriptors limit derived type sizes
  2005-06-02 15:43 [Bug libfortran/21881] New: Array descriptors limit derived type sizes tkoenig at gcc dot gnu dot org
@ 2005-06-05  9:59 ` tobi at gcc dot gnu dot org
  0 siblings, 0 replies; 10+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-06-05  9:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2005-06-05 09:59 -------
So an array of the derived type couldn't have more than 2**(32-26) = 64 entries
before overflowing memory with our current scheme, and if this was enlarged the
allowed arrays would be even smaller, but it is certainly true that the sizes of
derived type array elements are limited.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-05 09:59:44
               date|                            |


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


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

end of thread, other threads:[~2010-05-08 20:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-21881-10391@http.gcc.gnu.org/bugzilla/>
2006-10-21 17:39 ` [Bug libfortran/21881] Array descriptors limit derived type sizes fxcoudert at gcc dot gnu dot org
2007-01-05 14:12 ` fxcoudert at gcc dot gnu dot org
2007-09-14 11:31 ` fxcoudert at gcc dot gnu dot org
2007-09-21 19:56 ` [Bug fortran/21881] ICE instead of error for large arrays in derived types fxcoudert at gcc dot gnu dot org
2007-10-01 10:52 ` fxcoudert at gcc dot gnu dot org
2007-12-08 18:06 ` fxcoudert at gcc dot gnu dot org
2007-12-16 19:38 ` tkoenig at gcc dot gnu dot org
2007-12-17 22:20 ` tkoenig at gcc dot gnu dot org
2010-05-08 20:04 ` dfranke at gcc dot gnu dot org
2005-06-02 15:43 [Bug libfortran/21881] New: Array descriptors limit derived type sizes tkoenig at gcc dot gnu dot org
2005-06-05  9:59 ` [Bug libfortran/21881] " tobi 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).