[Bug c/28280] [4.2 regression] bogus "statement with no effect" warning with VLA and typeof

mrs at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 15 18:01:00 GMT 2006



------- Comment #12 from mrs at gcc dot gnu dot org  2006-08-15 18:01 -------
Subject: Bug 28280

Author: mrs
Date: Tue Aug 15 18:01:19 2006
New Revision: 116163

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116163
Log:
        PR c/28280
        * c-parser.c (c_parser_typeof_specifier): Don't use
        c_finish_expr_stmt, open code desired semantics instead.

Added:
    trunk/gcc/testsuite/gcc.dg/vla-9.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-parser.c


-- 


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



More information about the Gcc-bugs mailing list