summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-15 23:16:27 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-15 23:16:27 +0000
commit0085bb7140b893a487dedc071f0bd69b0f5152cc (patch)
treef25f20c5623e01d441feddb6a4cb8421800fe0c9
parentb34f0fc7c0963a0a4664f8782c13ce63386b35af (diff)
downloadppe42-gcc-0085bb7140b893a487dedc071f0bd69b0f5152cc.tar.gz
ppe42-gcc-0085bb7140b893a487dedc071f0bd69b0f5152cc.zip
* tree.c: (last_annotated_node): Use sources_locus typedef.
This permits bootstrapping with --enable-mapped-location. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113804 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 06ecba3c4e4..20c530286f6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-15 Per Bothner <per@bothner.com>
+
+ * tree.c: (last_annotated_node): Use sources_locus typedef.
+ This permits bootstrapping with --enable-mapped-location.
+
2006-05-15 Zdenek Dvorak <dvorakz@suse.cz>
PR tree-optimization/26830
diff --git a/gcc/tree.c b/gcc/tree.c
index 81803481710..207df840343 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -3136,7 +3136,7 @@ build_block (tree vars, tree subblocks, tree supercontext, tree chain)
#if 1 /* ! defined(USE_MAPPED_LOCATION) */
/* ??? gengtype doesn't handle conditionals */
-static GTY(()) location_t *last_annotated_node;
+static GTY(()) source_locus last_annotated_node;
#endif
#ifdef USE_MAPPED_LOCATION
OpenPOWER on IntegriCloud