re PR middle-end/36790 (ICE on valid code: OpenMP task construct with default(shared...
authorJakub Jelinek <jakub@redhat.com>
Thu, 10 Jul 2008 15:22:50 +0000 (17:22 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 10 Jul 2008 15:22:50 +0000 (17:22 +0200)
commitb826efd98620ba65956843f515fb1698ea6feecf
treef4a082ece9e1b03e1028c0b236c631ddb2287f34
parent38a28aabc1c885725b749248165889e8f1e5180d
re PR middle-end/36790 (ICE on valid code: OpenMP task construct with default(shared) clause)

PR middle-end/36790
* omp-low.c (lower_omp_2): If task_shared_vars, test all DECL_P
uids in the bitmap, not just VAR_DECL uids.

* gcc.dg/gomp/pr36790.c: New test.
* g++.dg/gomp/pr36790.C: New test.

From-SVN: r137695
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr36790.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/gomp/pr36790.c [new file with mode: 0644]