diff options
author | Janus Weil <janus@gcc.gnu.org> | 2009-10-26 10:08:03 +0100 |
---|---|---|
committer | Janus Weil <janus@gcc.gnu.org> | 2009-10-26 10:08:03 +0100 |
commit | 60f5ed26b3f6935f26df139c7be127024eedd2c5 (patch) | |
tree | 68e7035f44ef5bedcb6aab787fc1a8b286a0a8e4 /gcc/gimple.h | |
parent | b0418319a0bbb73569df8a266d36f9558fb8e1e2 (diff) | |
download | gcc-60f5ed26b3f6935f26df139c7be127024eedd2c5.tar.gz |
re PR fortran/41714 ([OOP] ALLOCATE SOURCE= does not properly copy the value from SOURCE)
2009-10-26 Janus Weil <janus@gcc.gnu.org>
PR fortran/41714
* gimple.h (tree_annotate_all_with_location): Remove prototype.
* gimplify.c (tree_should_carry_location_p,
tree_annotate_one_with_location,tree_annotate_all_with_location):
Remove obsolete functions.
2009-10-26 Janus Weil <janus@gcc.gnu.org>
PR fortran/41714
* trans.c (gfc_trans_code): Remove call to
'tree_annotate_all_with_location'. Location should already be set.
* trans-openmp.c (gfc_trans_omp_workshare): Ditto.
* trans-stmt.c (gfc_trans_allocate): Do correct data initialization for
CLASS variables with SOURCE tag, plus some cleanup.
2009-10-26 Janus Weil <janus@gcc.gnu.org>
PR fortran/41714
* gfortran.dg/class_allocate_4.f03: New test.
From-SVN: r153547
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index 87309b694d4..8f6b3522098 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -939,7 +939,6 @@ extern tree create_tmp_var (tree, const char *); extern tree get_initialized_tmp_var (tree, gimple_seq *, gimple_seq *); extern tree get_formal_tmp_var (tree, gimple_seq *); extern void declare_vars (tree, gimple, bool); -extern void tree_annotate_all_with_location (tree *, location_t); extern void annotate_all_with_location (gimple_seq, location_t); /* Validation of GIMPLE expressions. Note that these predicates only check |