summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-30 18:28:56 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-30 18:28:56 +0000
commitc100ae558240565362c2a2177c6a18f7514616b9 (patch)
tree9e1cdb7bb52fd56d7d73e3d3f91b644d3a435450 /gcc
parentf72bc3f3c4a4c980388f6803d4aa8f5143929f71 (diff)
downloadgcc-c100ae558240565362c2a2177c6a18f7514616b9.tar.gz
* gengenrtl.c (type_from_format, accessor_from_format): Support 'B'.
* rtl.texi: Document 'B' git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54062 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/rtl.texi3
-rw-r--r--gcc/gengenrtl.c6
3 files changed, 12 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6c9b4722e85..fbbe1f21fe3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu May 30 20:28:01 CEST 2002 Jan Hubicka <jh@suse.cz>
+
+ * gengenrtl.c (type_from_format, accessor_from_format): Support 'B'.
+ * rtl.texi: Document 'B'
+
2002-05-30 Jason Thorpe <thorpej@wasabisystems.com>
* config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute
diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi
index bf90a7b5a13..abeba3c26b8 100644
--- a/gcc/doc/rtl.texi
+++ b/gcc/doc/rtl.texi
@@ -243,6 +243,9 @@ core, @samp{V} is equivalent to @samp{E}, but when the object is read
from an @samp{md} file, the vector value of this operand may be omitted.
An omitted vector is effectively the same as a vector of no elements.
+@item B
+@samp{B} indicates a pointer to basic block strucure.
+
@item 0
@samp{0} means a slot whose contents do not fit any normal category.
@samp{0} slots are not printed at all in dumps, and are often used in
diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c
index b90c9ee29b2..07de2170f4a 100644
--- a/gcc/gengenrtl.c
+++ b/gcc/gengenrtl.c
@@ -81,6 +81,8 @@ type_from_format (c)
return "struct bitmap_head_def *"; /* bitmap - typedef not available */
case 't':
return "union tree_node *"; /* tree - typedef not available */
+ case 'B':
+ return "struct basic_block_def *"; /* basic block - typedef not available */
default:
abort ();
}
@@ -115,8 +117,8 @@ accessor_from_format (c)
case 't':
return "XTREE";
- default:
- abort ();
+ case 'B':
+ return "XBBDEF";
}
}