[Bug c++/43765] New: infinite loop on illegal code
doko at ubuntu dot com
gcc-bugzilla@gcc.gnu.org
Fri Apr 16 07:30:00 GMT 2010
the following (illegal code) loops and allocates memory until cc1plus aborts
-Wall gives you some hint, but else no diagnostic is given.
struct SomeType
{
const char *values[];
};
const char *temp[] = {"607", "612", 0};
SomeType vals[] =
{
{ values : temp, },
0
};
--
Summary: infinite loop on illegal code
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: doko at ubuntu dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43765
More information about the Gcc-bugs
mailing list