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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ messages in thread

* [Bug fortran/21881] ICE instead of error for large arrays in derived types
       [not found] <bug-21881-4@http.gcc.gnu.org/bugzilla/>
  2011-11-09  6:58 ` fxcoudert at gcc dot gnu.org
@ 2011-11-09  7:37 ` fxcoudert at gcc dot gnu.org
  1 sibling, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-11-09  7:37 UTC (permalink / raw)
  To: gcc-bugs

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

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |diagnostic
             Status|NEW                         |RESOLVED
                 CC|                            |fxcoudert at gcc dot
                   |                            |gnu.org
         Resolution|                            |FIXED
   Target Milestone|---                         |4.7.0

--- Comment #10 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-11-09 06:57:55 UTC ---
Fixed on trunk.


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

* [Bug fortran/21881] ICE instead of error for large arrays in derived types
       [not found] <bug-21881-4@http.gcc.gnu.org/bugzilla/>
@ 2011-11-09  6:58 ` fxcoudert at gcc dot gnu.org
  2011-11-09  7:37 ` fxcoudert at gcc dot gnu.org
  1 sibling, 0 replies; 11+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-11-09  6:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-11-09 06:57:15 UTC ---
Author: fxcoudert
Date: Wed Nov  9 06:57:10 2011
New Revision: 181192

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181192
Log:
    PR fortran/21881
    * trans-types.c (gfc_get_dtype): Issue a fatal error instead of
    an internal error.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-types.c


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

end of thread, other threads:[~2011-11-09  6:58 UTC | newest]

Thread overview: 11+ 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
     [not found] <bug-21881-4@http.gcc.gnu.org/bugzilla/>
2011-11-09  6:58 ` fxcoudert at gcc dot gnu.org
2011-11-09  7:37 ` fxcoudert at gcc dot gnu.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).