This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13732] internal compiler error with structures with VLAs and functions inside functions
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2004 21:07:30 -0000
- Subject: [Bug c/13732] internal compiler error with structures with VLAs and functions inside functions
- References: <20040118205152.13732.sylvain@gplservice.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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