This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/13732] internal compiler error with structures with VLAs and functions inside functions


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-18 21:07 -------
Note to get this ICEing on the tree-ssa (at -O2 or higher or using -funit-at-a-time) the following 
testcase is needed:
int
algo_fourmis (int nombre_points)
{
  typedef struct
  {
    char bann_list[nombre_points];
  } fourmi;

  int creation_fourmi (int nombre_points)
  {
    return sizeof (fourmi);
  }
  return creation_fourmi(nombre_points);
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|internal compiler error with|internal compiler error with
                   |structures                  |structures with VLAs and
                   |                            |functions inside functions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]