[Bug c/16566] ICE with flexible arrays

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jul 16 00:51:00 GMT 2004


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-07-16 00:51 -------
Even shorter example:

=============================
struct A
{
    int i;
    int x[];
};

int foo(struct A a)
{
    return (a,a).x[0];
}
=============================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored


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



More information about the Gcc-bugs mailing list