aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-09-03 15:03:56 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2008-09-03 15:03:56 +0200
commit05a26161b47e20ef03df11724609d82f372a37f7 (patch)
tree969a011521d5e52852f69db9aefe7bab4454aa42 /gcc/gimple.h
parenta6340be14474c7cdd6637413be9e25f9e5e550d1 (diff)
downloadgcc-05a26161b47e20ef03df11724609d82f372a37f7.zip
gcc-05a26161b47e20ef03df11724609d82f372a37f7.tar.gz
gcc-05a26161b47e20ef03df11724609d82f372a37f7.tar.bz2
re PR target/37436 (arm-cross-g++. internal compiler error: in extract_insn, at recog.c:1990)
PR c++/37436 * gimple.h (gimple_has_substatements): GIMPLE_OMP_CRITICAL has substatements. * tree-inline.c (remap_gimple_stmt): Handle GIMPLE_OMP_CRITICAL. * g++.dg/gomp/pr37436.C: New test. From-SVN: r139937
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r--gcc/gimple.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h
index ca8e644..f8af057 100644
--- a/gcc/gimple.h
+++ b/gcc/gimple.h
@@ -1052,6 +1052,7 @@ gimple_has_substatements (gimple g)
case GIMPLE_OMP_TASK:
case GIMPLE_OMP_SECTIONS:
case GIMPLE_OMP_SINGLE:
+ case GIMPLE_OMP_CRITICAL:
case GIMPLE_WITH_CLEANUP_EXPR:
return true;