re PR c/35751 (ICE with invalid variable after #pragma omp parallel)
PR c/35751 * c-decl.c (finish_decl): If extern or static var has variable size, set TREE_TYPE (decl) to error_mark_node. * decl.c (layout_var_decl): If extern or static var has variable size, set TREE_TYPE (decl) to error_mark_node. * gcc.dg/gomp/pr35751.c: New test. * g++.dg/gomp/pr35751.C: New test. From-SVN: r134317
Showing
gcc/testsuite/g++.dg/gomp/pr35751.C
0 → 100644
gcc/testsuite/gcc.dg/gomp/pr35751.c
0 → 100644
Please
register
or
sign in
to comment