diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-29 19:26:47 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-29 19:26:47 +0000 |
commit | c4aa078796bd9c7237e0ac5ea4ab7553106f199d (patch) | |
tree | 98a5e7f47a887d71b7ce051eac4583deee5a6dac /gcc/omp-low.c | |
parent | e34f5cd313173ac0144aeb70ab96e50fc36605ba (diff) | |
download | gcc-c4aa078796bd9c7237e0ac5ea4ab7553106f199d.tar.gz |
2009-08-29 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 151199
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@151206 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r-- | gcc/omp-low.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c index 3a4a1f40c55..a7de367e432 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -3316,8 +3316,8 @@ optimize_omp_library_calls (gimple entry_stmt) continue; if (TREE_CODE (TREE_TYPE (decl)) != FUNCTION_TYPE - || TYPE_MAIN_VARIANT (TREE_TYPE (TREE_TYPE (decl))) - != TYPE_MAIN_VARIANT (TREE_TYPE (TREE_TYPE (built_in)))) + || !types_compatible_p (TREE_TYPE (TREE_TYPE (decl)), + TREE_TYPE (TREE_TYPE (built_in)))) continue; gimple_call_set_fndecl (call, built_in); @@ -6931,7 +6931,7 @@ struct gimple_opt_pass pass_diagnose_omp_blocks = { { GIMPLE_PASS, - "diagnose_omp_blocks", /* name */ + "*diagnose_omp_blocks", /* name */ gate_diagnose_omp_blocks, /* gate */ diagnose_omp_structured_block_errors, /* execute */ NULL, /* sub */ |