re PR middle-end/35818 (ICE on incomplete array in shared clause)
authorJakub Jelinek <jakub@redhat.com>
Thu, 3 Apr 2008 21:02:44 +0000 (23:02 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 3 Apr 2008 21:02:44 +0000 (23:02 +0200)
commit5da250fca2d707547044284a84e94beb0c74bb5a
tree7337ce1fc06ad5e8ff8f9584479ecb8e19b23807
parent637b5a8e7ced71facbb36d9505b85ad3b991572b
re PR middle-end/35818 (ICE on incomplete array in shared clause)

PR middle-end/35818
* omp-low.c (scan_sharing_clauses) <case OMP_CLAUSE_SHARED>: Don't
call is_variable_sized if decl has incomplete type.

* gcc.dg/gomp/pr35818.c: New test.

From-SVN: r133875
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gomp/pr35818.c [new file with mode: 0644]