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
721de836
Commit
721de836
authored
24 years ago
by
Mark Mitchell
Committed by
Mark Mitchell
24 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-dump.h: New file.
From-SVN: r37368
parent
4e135bdd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
88 additions
and
0 deletions
+88
-0
gcc/ChangeLog
+4
-0
gcc/c-dump.h
+84
-0
No files found.
gcc/ChangeLog
View file @
721de836
2000-11-10 Mark Mitchell <mark@codesourcery.com>
* c-dump.h: New file.
2000-11-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* alpha.c (check_float_value): Use memcpy, not bcopy.
...
...
This diff is collapsed.
Click to expand it.
gcc/c-dump.h
0 → 100644
View file @
721de836
/* Tree-dumping functionality for intermediate representation.
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
Written by Mark Mitchell <mark@codesourcery.com>
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* Flags used with queue functions. */
#define DUMP_NONE 0
#define DUMP_BINFO 1
/* Information about a node to be dumped. */
typedef
struct
dump_node_info
{
/* The index for the node. */
unsigned
int
index
;
/* Nonzero if the node is a binfo. */
unsigned
int
binfo_p
:
1
;
}
*
dump_node_info_p
;
/* A dump_queue is a link in the queue of things to be dumped. */
typedef
struct
dump_queue
{
/* The queued tree node. */
splay_tree_node
node
;
/* The next node in the queue. */
struct
dump_queue
*
next
;
}
*
dump_queue_p
;
/* A dump_info gives information about how we should perform the dump
and about the current state of the dump. */
struct
dump_info
{
/* The stream on which to dump the information. */
FILE
*
stream
;
/* The next unused node index. */
unsigned
int
index
;
/* The next column. */
unsigned
int
column
;
/* The first node in the queue of nodes to be written out. */
dump_queue_p
queue
;
/* The last node in the queue. */
dump_queue_p
queue_end
;
/* Free queue nodes. */
dump_queue_p
free_list
;
/* The tree nodes which we have already written out. The
keys are the addresses of the nodes; the values are the integer
indices we assigned them. */
splay_tree
nodes
;
};
/* Dump the CHILD and its children. */
#define dump_child(field, child) \
queue_and_dump_index (di, field, child, DUMP_NONE)
extern
void
dump_int
PARAMS
((
dump_info_p
,
const
char
*
,
int
));
extern
void
dump_string
PARAMS
((
dump_info_p
,
const
char
*
));
extern
void
dump_stmt
PARAMS
((
dump_info_p
,
tree
));
extern
void
dump_next_stmt
PARAMS
((
dump_info_p
,
tree
));
extern
void
queue_and_dump_index
PARAMS
((
dump_info_p
,
const
char
*
,
tree
,
int
));
extern
void
queue_and_dump_type
PARAMS
((
dump_info_p
,
tree
));
This diff is collapsed.
Click to expand it.
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