Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
7d02bbef
Commit
7d02bbef
authored
Apr 13, 1998
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
From-SVN: r19199
parent
556ffb67
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
5 deletions
+23
-5
gcc/ChangeLog
+15
-0
gcc/tree.h
+8
-5
No files found.
gcc/ChangeLog
View file @
7d02bbef
Mon Apr 13 11:31:49 1998 Jason Merrill <jason@yorick.cygnus.com>
* tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
* invoke.texi (ld options) Include memset requirements
...
...
@@ -1955,6 +1959,11 @@ Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
* collect2.c (main): Still handle !do_collecting for non-AIX targets.
1998-02-16 Mark Mitchell <mmitchell@usa.net>
* toplev.c (rest_of_compilation): Do not defer the output of a
nested function.
Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
* ginclude/va-mips.h (va_arg): Remove trailing space after '\'
...
...
@@ -2240,6 +2249,12 @@ Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
* varasm.c (assemble_string): Similarly for 'i'.
* i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
1998-02-13 Martin von Loewis <loewis@informatik.hu-berlin.de>
* c-lang.c (lang_print_xnode): New function.
* objc/objc-act.c (lang_print_xnode): Likewise.
* print-tree.c (print_node): Call it
Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
* dwarf2out.c (decl_scope_node): New type.
...
...
gcc/tree.h
View file @
7d02bbef
...
...
@@ -847,7 +847,7 @@ struct tree_type
#define BINFO_OFFSET(NODE) TREE_VEC_ELT ((NODE), 1)
#define TYPE_BINFO_OFFSET(NODE) BINFO_OFFSET (TYPE_BINFO (NODE))
#define BINFO_OFFSET_ZEROP(NODE) (
BINFO_OFFSET (NODE) == integer_zero_node
)
#define BINFO_OFFSET_ZEROP(NODE) (
integer_zerop (BINFO_OFFSET (NODE))
)
/* The virtual function table belonging to this basetype. Virtual
function tables provide a mechanism for run-time method dispatching.
...
...
@@ -875,15 +875,18 @@ struct tree_type
#define BINFO_BASETYPES(NODE) TREE_VEC_ELT ((NODE), 4)
#define TYPE_BINFO_BASETYPES(NODE) TREE_VEC_ELT (TYPE_BINFO (NODE), 4)
/* Accessor macro to get to the Nth basetype of this basetype. */
#define BINFO_BASETYPE(NODE,N) TREE_VEC_ELT (BINFO_BASETYPES (NODE), (N))
#define TYPE_BINFO_BASETYPE(NODE,N) BINFO_TYPE (TREE_VEC_ELT (BINFO_BASETYPES (TYPE_BINFO (NODE)), (N)))
/* For a BINFO record describing an inheritance, this yields a pointer
to the artificial FIELD_DECL node which contains the "virtual base
class pointer" for the given inheritance. */
#define BINFO_VPTR_FIELD(NODE) TREE_VEC_ELT ((NODE), 5)
/*
Accessor macro to get to the Nth basetype of this base
type. */
#define BINFO_
BASETYPE(NODE,N) TREE_VEC_ELT (BINFO_BASETYPES (NODE), (N)
)
#define TYPE_BINFO_
BASETYPE(NODE,N) BINFO_TYPE (TREE_VEC_ELT (BINFO_BASETYPES (TYPE_BINFO (NODE)), (N)
))
/*
The size of a base class subobject of this
type. */
#define BINFO_
SIZE(NODE) TREE_VEC_ELT ((NODE), 6
)
#define TYPE_BINFO_
SIZE(NODE) BINFO_SIZE (TYPE_BINFO (NODE
))
/* Slot used to build a chain that represents a use of inheritance.
For example, if X is derived from Y, and Y is derived from Z,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment