aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/f95-lang.c
diff options
context:
space:
mode:
authorDavid Pagan <dave.pagan@oracle.com>2018-05-02 17:22:26 +0000
committerJeff Law <law@gcc.gnu.org>2018-05-02 11:22:26 -0600
commitf7584c811623675be258da5195d8e8daeb562975 (patch)
treeefbf7e13707325d8fd0fe006a25ea5ece053f911 /gcc/fortran/f95-lang.c
parent621af561737ae17f6b4cffad9b79b1189503f011 (diff)
downloadgcc-f7584c811623675be258da5195d8e8daeb562975.zip
gcc-f7584c811623675be258da5195d8e8daeb562975.tar.gz
gcc-f7584c811623675be258da5195d8e8daeb562975.tar.bz2
re PR c/30552 (gcc crashes when compiling examples with GNU statement expressions in VLAs (also involved: nested functions declared K&R-style))
PR c/30552 * c-decl.c (old_style_parameter_scope): New function. * c-parser.c (c_parser_postfix_expression): Check for statement expressions in old-style function parameter list declarations. * c-parser.h (old_style_parameter_scope): New extern declaration. PR c/30552 * gcc.dg/noncompile/pr30552-1.c: New test. * gcc.dg/noncompile/pr30552-2.c: New test. * gcc.dg/noncompile/pr30552-3.c: New test. * gcc.dg/noncompile/pr30552-4.c: New test. From-SVN: r259849
Diffstat (limited to 'gcc/fortran/f95-lang.c')
0 files changed, 0 insertions, 0 deletions