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
88fe2466
Commit
88fe2466
authored
22 years ago
by
Tim Josling
Committed by
Tim Josling
22 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
treelang fixes to accommodate chaqnges elsewhere.
From-SVN: r56412
parent
2984fe64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
61 deletions
+15
-61
gcc/treelang/ChangeLog
+14
-0
gcc/treelang/treetree.c
+1
-61
No files found.
gcc/treelang/ChangeLog
View file @
88fe2466
2002-08-16 Tim Josling <tej@melbpc.org.au>
Remove variables and functions now defined elsewhere.
* treetree.c (maybe_objc_comptypes): Remove.
(warn_format, warn_format_y2k, warn_format_extra_args,
warn_format_nonliteral, warn_format_security,
warn_format_zero_length): Remove.
(maybe_building_objc_message_expr): Remove.
(cpp_post_options): Remove.
(maybe_objc_check_decl): Remove.
(integer_types): Remove.
2002-08-13 Neil Booth <neil@daikokuya.co.uk>
* treelang.c: Remove cpp_post_options.
...
...
This diff is collapsed.
Click to expand it.
gcc/treelang/treetree.c
View file @
88fe2466
...
...
@@ -90,16 +90,6 @@
extern
int
option_main
;
extern
char
**
file_names
;
/* Flags etc required by c code. */
int
warn_format
=
0
;
int
warn_format_y2k
=
0
;
int
warn_format_extra_args
=
0
;
int
warn_format_nonliteral
=
0
;
int
warn_format_security
=
0
;
int
warn_format_zero_length
=
0
;
/* The front end language hooks (addresses of code for this front
end). Mostly just use the C routines. */
...
...
@@ -850,21 +840,6 @@ tree_ggc_storage_always_used (void * m)
/* Following from c-lang.c. */
/* Tell the c code we are not objective C. */
int
maybe_objc_comptypes
(
tree
lhs
ATTRIBUTE_UNUSED
,
tree
rhs
ATTRIBUTE_UNUSED
,
int
reflexive
ATTRIBUTE_UNUSED
);
int
maybe_objc_comptypes
(
tree
lhs
ATTRIBUTE_UNUSED
,
tree
rhs
ATTRIBUTE_UNUSED
,
int
reflexive
ATTRIBUTE_UNUSED
)
{
return
-
1
;
}
/* Used by c-typeck.c (build_external_ref), but only for objc. */
tree
...
...
@@ -885,17 +860,6 @@ check_function_format (int *status ATTRIBUTE_UNUSED,
/* Tell the c code we are not objective C. */
tree
maybe_building_objc_message_expr
(
void
);
tree
maybe_building_objc_message_expr
()
{
return
0
;
}
/* Tell the c code we are not objective C. */
int
objc_comptypes
(
tree
lhs
ATTRIBUTE_UNUSED
,
tree
rhs
ATTRIBUTE_UNUSED
,
...
...
@@ -972,14 +936,6 @@ cpp_create_reader (enum c_lang lang ATTRIBUTE_UNUSED)
/* Should not be called for treelang. */
void
cpp_post_options
(
cpp_reader
*
pfile
ATTRIBUTE_UNUSED
)
{
abort
();
}
/* Should not be called for treelang. */
const
char
*
init_c_lex
(
const
char
*
filename
ATTRIBUTE_UNUSED
)
{
...
...
@@ -1063,17 +1019,6 @@ set_Wformat (int setting ATTRIBUTE_UNUSED)
abort
();
}
/* Should not be called for treelang. */
void
maybe_objc_check_decl
(
tree
decl
ATTRIBUTE_UNUSED
);
void
maybe_objc_check_decl
(
tree
decl
ATTRIBUTE_UNUSED
)
{
abort
();
}
/* Used for objective C. */
void
...
...
@@ -1082,6 +1027,7 @@ objc_check_decl (tree decl ATTRIBUTE_UNUSED);
void
objc_check_decl
(
tree
decl
ATTRIBUTE_UNUSED
)
{
abort
();
}
/* Tell the c code we are not objective C. */
...
...
@@ -1202,12 +1148,6 @@ cpp_get_callbacks (cpp_reader * cr ATTRIBUTE_UNUSED)
Note that stddef.h uses `unsigned long',
and this must agree, even if long and int are the same size. */
/* This variable keeps a table for types for each precision so that we
only allocate each of them once. Signed and unsigned types are
kept separate. */
tree
integer_types
[
itk_none
]
=
{
NULL_TREE
};
/* The reserved keyword table. */
struct
resword
{
...
...
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