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
3b0d91ff
Commit
3b0d91ff
authored
Jan 17, 2000
by
Kaveh R. Ghazi
Committed by
Kaveh Ghazi
Jan 17, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* All files: PROTO -> PARAMS.
From-SVN: r31456
parent
97715246
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
235 additions
and
231 deletions
+235
-231
gcc/ch/ChangeLog
+4
-0
gcc/ch/actions.c
+16
-16
gcc/ch/actions.h
+8
-8
gcc/ch/ch-tree.h
+0
-0
gcc/ch/convert.c
+10
-10
gcc/ch/decl.c
+22
-22
gcc/ch/except.c
+4
-4
gcc/ch/expr.c
+30
-30
gcc/ch/grant.c
+38
-38
gcc/ch/inout.c
+21
-21
gcc/ch/lang.c
+2
-2
gcc/ch/lex.c
+22
-22
gcc/ch/lex.h
+4
-4
gcc/ch/loop.c
+8
-8
gcc/ch/nloop.c
+18
-18
gcc/ch/parse.c
+0
-0
gcc/ch/satisfy.c
+5
-5
gcc/ch/tasking.c
+11
-11
gcc/ch/tree.c
+1
-1
gcc/ch/typeck.c
+11
-11
No files found.
gcc/ch/ChangeLog
View file @
3b0d91ff
2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* All files: PROTO -> PARAMS.
2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* lex.c: Include tm_p.h.
...
...
gcc/ch/actions.c
View file @
3b0d91ff
...
...
@@ -32,21 +32,21 @@ Boston, MA 02111-1307, USA. */
#include "assert.h"
#include "toplev.h"
static
int
id_cmp
P
ROTO
((
tree
*
,
tree
*
));
static
void
warn_unhandled
P
ROTO
((
const
char
*
));
static
tree
adjust_return_value
P
ROTO
((
tree
,
const
char
*
));
static
tree
update_else_range_for_int_const
P
ROTO
((
tree
,
tree
));
static
tree
update_else_range_for_range
P
ROTO
((
tree
,
tree
,
tree
));
static
tree
update_else_range_for_range_expr
P
ROTO
((
tree
,
tree
));
static
tree
update_else_range_for_type
P
ROTO
((
tree
,
tree
));
static
tree
compute_else_range
P
ROTO
((
tree
,
tree
,
int
));
static
tree
check_case_value
P
ROTO
((
tree
,
tree
));
static
void
chill_handle_case_label_range
P
ROTO
((
tree
,
tree
,
tree
));
static
tree
chill_handle_multi_case_label_range
P
ROTO
((
tree
,
tree
,
tree
));
static
tree
chill_handle_multi_case_else_label
P
ROTO
((
tree
));
static
tree
chill_handle_multi_case_label
P
ROTO
((
tree
,
tree
));
static
tree
chill_handle_multi_case_label_list
P
ROTO
((
tree
,
tree
));
static
void
print_missing_cases
P
ROTO
((
tree
,
const
unsigned
char
*
,
long
));
static
int
id_cmp
P
ARAMS
((
tree
*
,
tree
*
));
static
void
warn_unhandled
P
ARAMS
((
const
char
*
));
static
tree
adjust_return_value
P
ARAMS
((
tree
,
const
char
*
));
static
tree
update_else_range_for_int_const
P
ARAMS
((
tree
,
tree
));
static
tree
update_else_range_for_range
P
ARAMS
((
tree
,
tree
,
tree
));
static
tree
update_else_range_for_range_expr
P
ARAMS
((
tree
,
tree
));
static
tree
update_else_range_for_type
P
ARAMS
((
tree
,
tree
));
static
tree
compute_else_range
P
ARAMS
((
tree
,
tree
,
int
));
static
tree
check_case_value
P
ARAMS
((
tree
,
tree
));
static
void
chill_handle_case_label_range
P
ARAMS
((
tree
,
tree
,
tree
));
static
tree
chill_handle_multi_case_label_range
P
ARAMS
((
tree
,
tree
,
tree
));
static
tree
chill_handle_multi_case_else_label
P
ARAMS
((
tree
));
static
tree
chill_handle_multi_case_label
P
ARAMS
((
tree
,
tree
));
static
tree
chill_handle_multi_case_label_list
P
ARAMS
((
tree
,
tree
));
static
void
print_missing_cases
P
ARAMS
((
tree
,
const
unsigned
char
*
,
long
));
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free
...
...
@@ -172,7 +172,7 @@ build_exception_variant (type, raises)
/* NULL terminator for list. */
a
[
i
]
=
NULL_TREE
;
qsort
(
a
,
i
,
sizeof
(
tree
),
(
int
(
*
)
P
ROTO
((
const
void
*
,
const
void
*
)))
id_cmp
);
(
int
(
*
)
P
ARAMS
((
const
void
*
,
const
void
*
)))
id_cmp
);
while
(
i
--
)
TREE_CHAIN
(
a
[
i
])
=
a
[
i
+
1
];
raises
=
a
[
0
];
...
...
gcc/ch/actions.h
View file @
3b0d91ff
...
...
@@ -20,15 +20,15 @@ Boston, MA 02111-1307, USA. */
/* used by compile_file */
void
init_chill
P
ROTO
((
void
));
void
init_chill
P
ARAMS
((
void
));
extern
int
grant_count
;
extern
void
push_handler
P
ROTO
((
void
));
extern
void
pop_handler
P
ROTO
((
int
));
extern
void
push_action
P
ROTO
((
void
));
extern
void
push_handler
P
ARAMS
((
void
));
extern
void
pop_handler
P
ARAMS
((
int
));
extern
void
push_action
P
ARAMS
((
void
));
extern
int
chill_handle_single_dimension_case_label
P
ROTO
((
tree
,
tree
,
int
*
,
int
*
));
extern
tree
build_chill_multi_dimension_case_expr
P
ROTO
((
tree
,
tree
,
tree
));
extern
tree
build_multi_case_selector_expression
P
ROTO
((
tree
,
tree
));
extern
void
compute_else_ranges
P
ROTO
((
tree
,
tree
));
extern
int
chill_handle_single_dimension_case_label
P
ARAMS
((
tree
,
tree
,
int
*
,
int
*
));
extern
tree
build_chill_multi_dimension_case_expr
P
ARAMS
((
tree
,
tree
,
tree
));
extern
tree
build_multi_case_selector_expression
P
ARAMS
((
tree
,
tree
));
extern
void
compute_else_ranges
P
ARAMS
((
tree
,
tree
));
gcc/ch/ch-tree.h
View file @
3b0d91ff
This diff is collapsed.
Click to expand it.
gcc/ch/convert.c
View file @
3b0d91ff
...
...
@@ -38,18 +38,18 @@ extern tree bit_one_node, bit_zero_node;
extern
tree
string_one_type_node
;
extern
tree
bitstring_one_type_node
;
static
tree
convert_to_reference
P
ROTO
((
tree
,
tree
));
static
tree
convert_to_boolean
P
ROTO
((
tree
,
tree
));
static
tree
convert_to_char
P
ROTO
((
tree
,
tree
));
static
tree
convert_to_reference
P
ARAMS
((
tree
,
tree
));
static
tree
convert_to_boolean
P
ARAMS
((
tree
,
tree
));
static
tree
convert_to_char
P
ARAMS
((
tree
,
tree
));
#if 0
static tree base_type_size_in_bytes P
ROTO
((tree));
static tree base_type_size_in_bytes P
ARAMS
((tree));
#endif
static
tree
remove_tree_element
P
ROTO
((
tree
,
tree
*
));
static
tree
check_ps_range
P
ROTO
((
tree
,
tree
,
tree
));
static
tree
digest_powerset_tuple
P
ROTO
((
tree
,
tree
));
static
tree
digest_structure_tuple
P
ROTO
((
tree
,
tree
));
static
tree
digest_array_tuple
P
ROTO
((
tree
,
tree
,
int
));
static
tree
convert1
P
ROTO
((
tree
,
tree
));
static
tree
remove_tree_element
P
ARAMS
((
tree
,
tree
*
));
static
tree
check_ps_range
P
ARAMS
((
tree
,
tree
,
tree
));
static
tree
digest_powerset_tuple
P
ARAMS
((
tree
,
tree
));
static
tree
digest_structure_tuple
P
ARAMS
((
tree
,
tree
));
static
tree
digest_array_tuple
P
ARAMS
((
tree
,
tree
,
int
));
static
tree
convert1
P
ARAMS
((
tree
,
tree
));
static
tree
convert_to_reference
(
reftype
,
expr
)
...
...
gcc/ch/decl.c
View file @
3b0d91ff
...
...
@@ -205,12 +205,12 @@ extern struct obstack *saveable_obstack;
extern
tree
signal_code
;
extern
int
special_UC
;
static
tree
get_next_decl
P
ROTO
((
void
));
static
tree
lookup_name_for_seizing
P
ROTO
((
tree
));
static
tree
get_next_decl
P
ARAMS
((
void
));
static
tree
lookup_name_for_seizing
P
ARAMS
((
tree
));
#if 0
static tree lookup_name_current_level P
ROTO
((tree));
static tree lookup_name_current_level P
ARAMS
((tree));
#endif
static
void
save_decl
P
ROTO
((
tree
));
static
void
save_decl
P
ARAMS
((
tree
));
extern
struct
obstack
permanent_obstack
;
extern
int
in_pseudo_module
;
...
...
@@ -240,21 +240,21 @@ tree chill_result_decl;
int
result_never_set
;
/* forward declarations */
static
void
pushdecllist
P
ROTO
((
tree
,
int
));
static
int
init_nonvalue_struct
P
ROTO
((
tree
));
static
int
init_nonvalue_array
P
ROTO
((
tree
));
static
void
set_nesting_level
P
ROTO
((
tree
,
int
));
static
tree
make_chill_variants
P
ROTO
((
tree
,
tree
,
tree
));
static
tree
fix_identifier
P
ROTO
((
tree
));
static
void
proclaim_decl
P
ROTO
((
tree
,
int
));
static
tree
maybe_acons
P
ROTO
((
tree
,
tree
));
static
void
push_scope_decls
P
ROTO
((
int
));
static
void
pop_scope_decls
P
ROTO
((
tree
,
tree
));
static
tree
build_implied_names
P
ROTO
((
tree
));
static
void
bind_sub_modules
P
ROTO
((
int
));
static
void
layout_array_type
P
ROTO
((
tree
));
static
void
do_based_decl
P
ROTO
((
tree
,
tree
,
tree
));
static
void
handle_one_level
P
ROTO
((
tree
,
tree
));
static
void
pushdecllist
P
ARAMS
((
tree
,
int
));
static
int
init_nonvalue_struct
P
ARAMS
((
tree
));
static
int
init_nonvalue_array
P
ARAMS
((
tree
));
static
void
set_nesting_level
P
ARAMS
((
tree
,
int
));
static
tree
make_chill_variants
P
ARAMS
((
tree
,
tree
,
tree
));
static
tree
fix_identifier
P
ARAMS
((
tree
));
static
void
proclaim_decl
P
ARAMS
((
tree
,
int
));
static
tree
maybe_acons
P
ARAMS
((
tree
,
tree
));
static
void
push_scope_decls
P
ARAMS
((
int
));
static
void
pop_scope_decls
P
ARAMS
((
tree
,
tree
));
static
tree
build_implied_names
P
ARAMS
((
tree
));
static
void
bind_sub_modules
P
ARAMS
((
int
));
static
void
layout_array_type
P
ARAMS
((
tree
));
static
void
do_based_decl
P
ARAMS
((
tree
,
tree
,
tree
));
static
void
handle_one_level
P
ARAMS
((
tree
,
tree
));
int
current_nesting_level
=
BUILTIN_NESTING_LEVEL
;
int
current_module_nesting_level
=
0
;
...
...
@@ -1545,7 +1545,7 @@ struct tree_pair
tree
decl
;
};
static
int
label_value_cmp
P
ROTO
((
struct
tree_pair
*
,
static
int
label_value_cmp
P
ARAMS
((
struct
tree_pair
*
,
struct
tree_pair
*
));
/* Function to help qsort sort variant labels by value order. */
...
...
@@ -1739,7 +1739,7 @@ layout_chill_variants (utype)
int
limit
;
qsort
(
label_value_array
,
label_index
,
sizeof
(
struct
tree_pair
),
(
int
(
*
)
P
ROTO
((
const
void
*
,
const
void
*
)))
label_value_cmp
);
(
int
(
*
)
P
ARAMS
((
const
void
*
,
const
void
*
)))
label_value_cmp
);
limit
=
label_index
-
1
;
for
(
label_index
=
0
;
label_index
<
limit
;
label_index
++
)
{
...
...
@@ -2493,7 +2493,7 @@ struct path
tree
node
;
};
static
tree
find_implied_types
P
ROTO
((
tree
,
struct
path
*
,
tree
));
static
tree
find_implied_types
P
ARAMS
((
tree
,
struct
path
*
,
tree
));
/* Look for implied types (enumeral types) implied by TYPE (a decl or type).
Add these to list.
...
...
gcc/ch/except.c
View file @
3b0d91ff
...
...
@@ -60,10 +60,10 @@ static tree link_handler_decl;
static
tree
handler_link_pointer_type
;
static
tree
unlink_handler_decl
;
static
int
exceptions_initialized
=
0
;
static
void
emit_setup_handler
P
ROTO
((
void
));
static
void
initialize_exceptions
P
ROTO
((
void
));
static
tree
start_handler_array
P
ROTO
((
void
));
static
void
finish_handler_array
P
ROTO
((
void
));
static
void
emit_setup_handler
P
ARAMS
((
void
));
static
void
initialize_exceptions
P
ARAMS
((
void
));
static
tree
start_handler_array
P
ARAMS
((
void
));
static
void
finish_handler_array
P
ARAMS
((
void
));
static
tree
char_pointer_type_for_handler
;
/* If this is 1, operations to push and pop on the __exceptionStack
...
...
gcc/ch/expr.c
View file @
3b0d91ff
...
...
@@ -52,42 +52,42 @@ extern int special_UC;
#define DAYS_MAX 49
/* forward declarations */
static
rtx
chill_expand_expr
P
ROTO
((
tree
,
rtx
,
enum
machine_mode
,
static
rtx
chill_expand_expr
P
ARAMS
((
tree
,
rtx
,
enum
machine_mode
,
enum
expand_modifier
));
static
tree
chill_expand_case_expr
P
ROTO
((
tree
));
static
int
check_arglist_length
P
ROTO
((
tree
,
int
,
int
,
tree
));
static
tree
internal_build_compound_expr
P
ROTO
((
tree
,
int
));
static
int
is_really_instance
P
ROTO
((
tree
));
static
int
invalid_operand
P
ROTO
((
enum
chill_tree_code
,
static
tree
chill_expand_case_expr
P
ARAMS
((
tree
));
static
int
check_arglist_length
P
ARAMS
((
tree
,
int
,
int
,
tree
));
static
tree
internal_build_compound_expr
P
ARAMS
((
tree
,
int
));
static
int
is_really_instance
P
ARAMS
((
tree
));
static
int
invalid_operand
P
ARAMS
((
enum
chill_tree_code
,
tree
,
int
));
static
int
invalid_right_operand
P
ROTO
((
enum
chill_tree_code
,
tree
));
static
tree
build_chill_abstime
P
ROTO
((
tree
));
static
tree
build_allocate_memory_call
P
ROTO
((
tree
,
tree
));
static
tree
build_allocate_global_memory_call
P
ROTO
((
tree
,
tree
));
static
tree
build_return_memory
P
ROTO
((
tree
));
static
tree
build_chill_duration
P
ROTO
((
tree
,
unsigned
long
,
static
int
invalid_right_operand
P
ARAMS
((
enum
chill_tree_code
,
tree
));
static
tree
build_chill_abstime
P
ARAMS
((
tree
));
static
tree
build_allocate_memory_call
P
ARAMS
((
tree
,
tree
));
static
tree
build_allocate_global_memory_call
P
ARAMS
((
tree
,
tree
));
static
tree
build_return_memory
P
ARAMS
((
tree
));
static
tree
build_chill_duration
P
ARAMS
((
tree
,
unsigned
long
,
tree
,
unsigned
long
));
static
tree
build_chill_floatcall
P
ROTO
((
tree
,
const
char
*
,
static
tree
build_chill_floatcall
P
ARAMS
((
tree
,
const
char
*
,
const
char
*
));
static
tree
build_allocate_getstack
P
ROTO
((
tree
,
tree
,
const
char
*
,
static
tree
build_allocate_getstack
P
ARAMS
((
tree
,
tree
,
const
char
*
,
const
char
*
,
tree
,
tree
));
static
tree
build_chill_allocate
P
ROTO
((
tree
,
tree
));
static
tree
build_chill_getstack
P
ROTO
((
tree
,
tree
));
static
tree
build_chill_terminate
P
ROTO
((
tree
));
static
tree
build_chill_inttime
P
ROTO
((
tree
,
tree
));
static
tree
build_chill_lower_or_upper
P
ROTO
((
tree
,
int
));
static
tree
build_max_min
P
ROTO
((
tree
,
int
));
static
tree
build_chill_pred_or_succ
P
ROTO
((
tree
,
enum
tree_code
));
static
tree
expand_packed_set
P
ROTO
((
const
char
*
,
int
,
tree
));
static
tree
fold_set_expr
P
ROTO
((
enum
chill_tree_code
,
static
tree
build_chill_allocate
P
ARAMS
((
tree
,
tree
));
static
tree
build_chill_getstack
P
ARAMS
((
tree
,
tree
));
static
tree
build_chill_terminate
P
ARAMS
((
tree
));
static
tree
build_chill_inttime
P
ARAMS
((
tree
,
tree
));
static
tree
build_chill_lower_or_upper
P
ARAMS
((
tree
,
int
));
static
tree
build_max_min
P
ARAMS
((
tree
,
int
));
static
tree
build_chill_pred_or_succ
P
ARAMS
((
tree
,
enum
tree_code
));
static
tree
expand_packed_set
P
ARAMS
((
const
char
*
,
int
,
tree
));
static
tree
fold_set_expr
P
ARAMS
((
enum
chill_tree_code
,
tree
,
tree
));
static
tree
build_compare_set_expr
P
ROTO
((
enum
tree_code
,
tree
,
tree
));
static
tree
scalar_to_string
P
ROTO
((
tree
));
static
tree
build_concat_expr
P
ROTO
((
tree
,
tree
));
static
tree
build_compare_string_expr
P
ROTO
((
enum
tree_code
,
tree
,
tree
));
static
tree
compare_records
P
ROTO
((
tree
,
tree
));
static
tree
string_char_rep
P
ROTO
((
int
,
tree
));
static
tree
build_boring_bitstring
P
ROTO
((
long
,
int
));
static
tree
build_compare_set_expr
P
ARAMS
((
enum
tree_code
,
tree
,
tree
));
static
tree
scalar_to_string
P
ARAMS
((
tree
));
static
tree
build_concat_expr
P
ARAMS
((
tree
,
tree
));
static
tree
build_compare_string_expr
P
ARAMS
((
enum
tree_code
,
tree
,
tree
));
static
tree
compare_records
P
ARAMS
((
tree
,
tree
));
static
tree
string_char_rep
P
ARAMS
((
int
,
tree
));
static
tree
build_boring_bitstring
P
ARAMS
((
long
,
int
));
/* variable to hold the type the DESCR built-in returns */
static
tree
descr_type
=
NULL_TREE
;
...
...
gcc/ch/grant.c
View file @
3b0d91ff
...
...
@@ -73,44 +73,44 @@ char *grant_file_name;
MYSTRING
*
gstring
=
NULL
;
MYSTRING
*
selective_gstring
=
NULL
;
static
MYSTRING
*
decode_decl
P
ROTO
((
tree
));
static
MYSTRING
*
decode_constant
P
ROTO
((
tree
));
static
void
grant_one_decl
P
ROTO
((
tree
));
static
MYSTRING
*
get_type
P
ROTO
((
tree
));
static
MYSTRING
*
decode_mode
P
ROTO
((
tree
));
static
MYSTRING
*
decode_prefix_rename
P
ROTO
((
tree
));
static
MYSTRING
*
decode_constant_selective
P
ROTO
((
tree
,
tree
));
static
MYSTRING
*
decode_mode_selective
P
ROTO
((
tree
,
tree
));
static
MYSTRING
*
get_type_selective
P
ROTO
((
tree
,
tree
));
static
MYSTRING
*
decode_decl_selective
P
ROTO
((
tree
,
tree
));
static
MYSTRING
*
newstring
P
ROTO
((
const
char
*
));
static
void
strfree
P
ROTO
((
MYSTRING
*
));
static
MYSTRING
*
append
P
ROTO
((
MYSTRING
*
,
const
char
*
));
static
MYSTRING
*
prepend
P
ROTO
((
MYSTRING
*
,
const
char
*
));
static
void
grant_use_seizefile
P
ROTO
((
const
char
*
));
static
MYSTRING
*
decode_layout
P
ROTO
((
tree
));
static
MYSTRING
*
grant_array_type
P
ROTO
((
tree
));
static
MYSTRING
*
grant_array_type_selective
P
ROTO
((
tree
,
tree
));
static
MYSTRING
*
get_tag_value
P
ROTO
((
tree
));
static
MYSTRING
*
get_tag_value_selective
P
ROTO
((
tree
,
tree
));
static
MYSTRING
*
print_enumeral
P
ROTO
((
tree
));
static
MYSTRING
*
print_enumeral_selective
P
ROTO
((
tree
,
tree
));
static
MYSTRING
*
print_integer_type
P
ROTO
((
tree
));
static
tree
find_enum_parent
P
ROTO
((
tree
,
tree
));
static
MYSTRING
*
print_integer_selective
P
ROTO
((
tree
,
tree
));
static
MYSTRING
*
print_struct
P
ROTO
((
tree
));
static
MYSTRING
*
print_struct_selective
P
ROTO
((
tree
,
tree
));
static
MYSTRING
*
print_proc_exceptions
P
ROTO
((
tree
));
static
MYSTRING
*
print_proc_tail
P
ROTO
((
tree
,
tree
,
int
));
static
MYSTRING
*
print_proc_tail_selective
P
ROTO
((
tree
,
tree
,
tree
));
static
tree
find_in_decls
P
ROTO
((
tree
,
tree
));
static
int
in_ridpointers
P
ROTO
((
tree
));
static
void
grant_seized_identifier
P
ROTO
((
tree
));
static
void
globalize_decl
P
ROTO
((
tree
));
static
void
grant_one_decl_selective
P
ROTO
((
tree
,
tree
));
static
int
compare_memory_file
P
ROTO
((
const
char
*
,
const
char
*
));
static
int
search_in_list
P
ROTO
((
tree
,
tree
));
static
int
really_grant_this
P
ROTO
((
tree
,
tree
));
static
MYSTRING
*
decode_decl
P
ARAMS
((
tree
));
static
MYSTRING
*
decode_constant
P
ARAMS
((
tree
));
static
void
grant_one_decl
P
ARAMS
((
tree
));
static
MYSTRING
*
get_type
P
ARAMS
((
tree
));
static
MYSTRING
*
decode_mode
P
ARAMS
((
tree
));
static
MYSTRING
*
decode_prefix_rename
P
ARAMS
((
tree
));
static
MYSTRING
*
decode_constant_selective
P
ARAMS
((
tree
,
tree
));
static
MYSTRING
*
decode_mode_selective
P
ARAMS
((
tree
,
tree
));
static
MYSTRING
*
get_type_selective
P
ARAMS
((
tree
,
tree
));
static
MYSTRING
*
decode_decl_selective
P
ARAMS
((
tree
,
tree
));
static
MYSTRING
*
newstring
P
ARAMS
((
const
char
*
));
static
void
strfree
P
ARAMS
((
MYSTRING
*
));
static
MYSTRING
*
append
P
ARAMS
((
MYSTRING
*
,
const
char
*
));
static
MYSTRING
*
prepend
P
ARAMS
((
MYSTRING
*
,
const
char
*
));
static
void
grant_use_seizefile
P
ARAMS
((
const
char
*
));
static
MYSTRING
*
decode_layout
P
ARAMS
((
tree
));
static
MYSTRING
*
grant_array_type
P
ARAMS
((
tree
));
static
MYSTRING
*
grant_array_type_selective
P
ARAMS
((
tree
,
tree
));
static
MYSTRING
*
get_tag_value
P
ARAMS
((
tree
));
static
MYSTRING
*
get_tag_value_selective
P
ARAMS
((
tree
,
tree
));
static
MYSTRING
*
print_enumeral
P
ARAMS
((
tree
));
static
MYSTRING
*
print_enumeral_selective
P
ARAMS
((
tree
,
tree
));
static
MYSTRING
*
print_integer_type
P
ARAMS
((
tree
));
static
tree
find_enum_parent
P
ARAMS
((
tree
,
tree
));
static
MYSTRING
*
print_integer_selective
P
ARAMS
((
tree
,
tree
));
static
MYSTRING
*
print_struct
P
ARAMS
((
tree
));
static
MYSTRING
*
print_struct_selective
P
ARAMS
((
tree
,
tree
));
static
MYSTRING
*
print_proc_exceptions
P
ARAMS
((
tree
));
static
MYSTRING
*
print_proc_tail
P
ARAMS
((
tree
,
tree
,
int
));
static
MYSTRING
*
print_proc_tail_selective
P
ARAMS
((
tree
,
tree
,
tree
));
static
tree
find_in_decls
P
ARAMS
((
tree
,
tree
));
static
int
in_ridpointers
P
ARAMS
((
tree
));
static
void
grant_seized_identifier
P
ARAMS
((
tree
));
static
void
globalize_decl
P
ARAMS
((
tree
));
static
void
grant_one_decl_selective
P
ARAMS
((
tree
,
tree
));
static
int
compare_memory_file
P
ARAMS
((
const
char
*
,
const
char
*
));
static
int
search_in_list
P
ARAMS
((
tree
,
tree
));
static
int
really_grant_this
P
ARAMS
((
tree
,
tree
));
/* list of the VAR_DECLs of the module initializer entries */
tree
module_init_list
=
NULL_TREE
;
...
...
gcc/ch/inout.c
View file @
3b0d91ff
...
...
@@ -35,26 +35,26 @@ extern int ignore_case;
/* set non-zero if special words are to be entered in uppercase */
extern
int
special_UC
;
static
int
intsize_of_charsexpr
P
ROTO
((
tree
));
static
tree
add_enum_to_list
P
ROTO
((
tree
,
tree
));
static
void
build_chill_io_list_type
P
ROTO
((
void
));
static
void
build_io_types
P
ROTO
((
void
));
static
void
declare_predefined_file
P
ROTO
((
const
char
*
,
const
char
*
));
static
tree
build_access_part
P
ROTO
((
void
));
static
tree
textlocation_mode
P
ROTO
((
tree
));
static
int
check_assoc
P
ROTO
((
tree
,
int
,
const
char
*
));
static
tree
assoc_call
P
ROTO
((
tree
,
tree
,
const
char
*
));
static
int
check_transfer
P
ROTO
((
tree
,
int
,
const
char
*
));
static
int
connect_process_optionals
P
ROTO
((
tree
,
tree
*
,
tree
*
,
tree
));
static
tree
connect_text
P
ROTO
((
tree
,
tree
,
tree
,
tree
));
static
tree
connect_access
P
ROTO
((
tree
,
tree
,
tree
,
tree
));
static
int
check_access
P
ROTO
((
tree
,
int
,
const
char
*
));
static
int
check_text
P
ROTO
((
tree
,
int
,
const
char
*
));
static
tree
get_final_type_and_range
P
ROTO
((
tree
,
tree
*
,
tree
*
));
static
void
process_io_list
P
ROTO
((
tree
,
tree
*
,
tree
*
,
rtx
*
,
static
int
intsize_of_charsexpr
P
ARAMS
((
tree
));
static
tree
add_enum_to_list
P
ARAMS
((
tree
,
tree
));
static
void
build_chill_io_list_type
P
ARAMS
((
void
));
static
void
build_io_types
P
ARAMS
((
void
));
static
void
declare_predefined_file
P
ARAMS
((
const
char
*
,
const
char
*
));
static
tree
build_access_part
P
ARAMS
((
void
));
static
tree
textlocation_mode
P
ARAMS
((
tree
));
static
int
check_assoc
P
ARAMS
((
tree
,
int
,
const
char
*
));
static
tree
assoc_call
P
ARAMS
((
tree
,
tree
,
const
char
*
));
static
int
check_transfer
P
ARAMS
((
tree
,
int
,
const
char
*
));
static
int
connect_process_optionals
P
ARAMS
((
tree
,
tree
*
,
tree
*
,
tree
));
static
tree
connect_text
P
ARAMS
((
tree
,
tree
,
tree
,
tree
));
static
tree
connect_access
P
ARAMS
((
tree
,
tree
,
tree
,
tree
));
static
int
check_access
P
ARAMS
((
tree
,
int
,
const
char
*
));
static
int
check_text
P
ARAMS
((
tree
,
int
,
const
char
*
));
static
tree
get_final_type_and_range
P
ARAMS
((
tree
,
tree
*
,
tree
*
));
static
void
process_io_list
P
ARAMS
((
tree
,
tree
*
,
tree
*
,
rtx
*
,
int
,
int
));
static
void
check_format_string
P
ROTO
((
tree
,
tree
,
int
));
static
int
get_max_size
P
ROTO
((
tree
));
static
void
check_format_string
P
ARAMS
((
tree
,
tree
,
int
));
static
int
get_max_size
P
ARAMS
((
tree
));
/* association mode */
tree
association_type_node
;
...
...
@@ -3807,7 +3807,7 @@ typedef enum
}
convcode_t
;
static
convcode_t
convcode
;
static
tree
check_exprlist
P
ROTO
((
convcode_t
,
tree
,
int
,
static
tree
check_exprlist
P
ARAMS
((
convcode_t
,
tree
,
int
,
unsigned
long
));
typedef
enum
...
...
@@ -3844,7 +3844,7 @@ typedef enum {
NormalEnd
,
EndAtParen
,
TextFailEnd
}
formatexit_t
;
static
formatexit_t
scanformcont
P
ROTO
((
char
*
,
int
,
char
**
,
int
*
,
static
formatexit_t
scanformcont
P
ARAMS
((
char
*
,
int
,
char
**
,
int
*
,
tree
,
tree
*
,
int
,
int
*
));
/* NOTE: varibale have to be set to False before calling check_format_string */
...
...
gcc/ch/lang.c
View file @
3b0d91ff
...
...
@@ -52,8 +52,8 @@ extern FILE* finput;
extern
int
maximum_field_alignment
;
static
int
deep_const_expr
P
ROTO
((
tree
));
static
void
chill_print_error_function
P
ROTO
((
const
char
*
));
static
int
deep_const_expr
P
ARAMS
((
tree
));
static
void
chill_print_error_function
P
ARAMS
((
const
char
*
));
/* return 1 if the expression tree given has all
constant nodes as its leaves; return 0 otherwise. */
...
...
gcc/ch/lex.c
View file @
3b0d91ff
...
...
@@ -68,26 +68,26 @@ extern struct obstack permanent_obstack;
extern
struct
obstack
temporary_obstack
;
/* forward declarations */
static
void
close_input_file
P
ROTO
((
const
char
*
));
static
tree
convert_bitstring
P
ROTO
((
char
*
));
static
tree
convert_integer
P
ROTO
((
char
*
));
static
void
maybe_downcase
P
ROTO
((
char
*
));
static
int
maybe_number
P
ROTO
((
const
char
*
));
static
tree
equal_number
P
ROTO
((
void
));
static
void
handle_use_seizefile_directive
P
ROTO
((
int
));
static
int
handle_name
P
ROTO
((
tree
));
static
char
*
readstring
P
ROTO
((
int
,
int
*
));
static
void
read_directive
P
ROTO
((
void
));
static
tree
read_identifier
P
ROTO
((
int
));
static
tree
read_number
P
ROTO
((
int
));
static
void
skip_c_comment
P
ROTO
((
void
));
static
void
skip_line_comment
P
ROTO
((
void
));
static
int
skip_whitespace
P
ROTO
((
void
));
static
tree
string_or_char
P
ROTO
((
int
,
const
char
*
));
static
void
ch_lex_init
P
ROTO
((
void
));
static
void
skip_directive
P
ROTO
((
void
));
static
int
same_file
P
ROTO
((
const
char
*
,
const
char
*
));
static
int
getlc
P
ROTO
((
FILE
*
));
static
void
close_input_file
P
ARAMS
((
const
char
*
));
static
tree
convert_bitstring
P
ARAMS
((
char
*
));
static
tree
convert_integer
P
ARAMS
((
char
*
));
static
void
maybe_downcase
P
ARAMS
((
char
*
));
static
int
maybe_number
P
ARAMS
((
const
char
*
));
static
tree
equal_number
P
ARAMS
((
void
));
static
void
handle_use_seizefile_directive
P
ARAMS
((
int
));
static
int
handle_name
P
ARAMS
((
tree
));
static
char
*
readstring
P
ARAMS
((
int
,
int
*
));
static
void
read_directive
P
ARAMS
((
void
));
static
tree
read_identifier
P
ARAMS
((
int
));
static
tree
read_number
P
ARAMS
((
int
));
static
void
skip_c_comment
P
ARAMS
((
void
));
static
void
skip_line_comment
P
ARAMS
((
void
));
static
int
skip_whitespace
P
ARAMS
((
void
));
static
tree
string_or_char
P
ARAMS
((
int
,
const
char
*
));
static
void
ch_lex_init
P
ARAMS
((
void
));
static
void
skip_directive
P
ARAMS
((
void
));
static
int
same_file
P
ARAMS
((
const
char
*
,
const
char
*
));
static
int
getlc
P
ARAMS
((
FILE
*
));
/* next variables are public, because ch-actions uses them */
...
...
@@ -294,8 +294,8 @@ finish_parse ()
fclose
(
finput
);
}
static
int
yywrap
P
ROTO
((
void
));
static
int
yy_refill
P
ROTO
((
void
));
static
int
yywrap
P
ARAMS
((
void
));
static
int
yy_refill
P
ARAMS
((
void
));
#define YY_PUTBACK_SIZE 5
#define YY_BUF_SIZE 1000
...
...
gcc/ch/lex.h
View file @
3b0d91ff
...
...
@@ -82,9 +82,9 @@ extern tree ridpointers[(int) RID_MAX];
extern
char
*
token_buffer
;
/* Pointer to token buffer. */
extern
tree
make_pointer_declarator
P
ROTO
((
tree
,
tree
));
extern
void
reinit_parse_for_function
P
ROTO
((
void
));
extern
int
yylex
P
ROTO
((
void
));
extern
tree
make_pointer_declarator
P
ARAMS
((
tree
,
tree
));
extern
void
reinit_parse_for_function
P
ARAMS
((
void
));
extern
int
yylex
P
ARAMS
((
void
));
extern
tree
default_grant_file
;
extern
tree
current_grant_file
;
...
...
@@ -94,4 +94,4 @@ extern tree current_seize_file;
extern
int
chill_at_module_level
;
extern
tree
chill_initializer_name
;
extern
void
prepare_paren_colon
P
ROTO
((
void
));
extern
void
prepare_paren_colon
P
ARAMS
((
void
));
gcc/ch/loop.c
View file @
3b0d91ff
...
...
@@ -36,15 +36,15 @@ Boston, MA 02111-1307, USA. */
int
flag_local_loop_counter
=
1
;
/* forward declarations */
static
int
declare_temps
P
ROTO
((
void
));
static
int
initialize_iter_var
P
ROTO
((
void
));
static
void
maybe_skip_loop
P
ROTO
((
void
));
static
int
bottom_loop_end_check
P
ROTO
((
void
));
static
int
increment_temps
P
ROTO
((
void
));
static
tree
build_temporary_variable
P
ROTO
((
const
char
*
,
tree
));
static
tree
maybe_make_for_temp
P
ROTO
((
tree
,
const
char
*
,
tree
));
static
int
declare_temps
P
ARAMS
((
void
));
static
int
initialize_iter_var
P
ARAMS
((
void
));
static
void
maybe_skip_loop
P
ARAMS
((
void
));
static
int
bottom_loop_end_check
P
ARAMS
((
void
));
static
int
increment_temps
P
ARAMS
((
void
));
static
tree
build_temporary_variable
P
ARAMS
((
const
char
*
,
tree
));
static
tree
maybe_make_for_temp
P
ARAMS
((
tree
,
const
char
*
,
tree
));
#if 0
static tree chill_unsigned_type P
ROTO
((tree));
static tree chill_unsigned_type P
ARAMS
((tree));
#endif
/* In terms of the parameters passed to build_loop_iterator,
...
...
gcc/ch/nloop.c
View file @
3b0d91ff
...
...
@@ -35,26 +35,26 @@ Boston, MA 02111-1307, USA. */
ch-actions.c (lang_decode_option) will set this flag. */
int
flag_local_loop_counter
=
0
;
extern
tree
chill_truthvalue_conversion
P
ROTO
((
tree
));
extern
rtx
emit_line_note
P
ROTO
((
char
*
,
int
));
extern
void
error
P
ROTO
((
char
*
,
...));
extern
rtx
expand_assignment
P
ROTO
((
tree
,
tree
,
int
,
int
));
extern
void
save_expr_under_name
P
ROTO
((
tree
,
tree
));
extern
void
stamp_nesting_label
P
ROTO
((
tree
));
extern
int
int_fits_type_p
P
ROTO
((
tree
,
tree
));
extern
void
warning
P
ROTO
((
char
*
,
...));
extern
tree
chill_truthvalue_conversion
P
ARAMS
((
tree
));
extern
rtx
emit_line_note
P
ARAMS
((
char
*
,
int
));
extern
void
error
P
ARAMS
((
char
*
,
...));
extern
rtx
expand_assignment
P
ARAMS
((
tree
,
tree
,
int
,
int
));
extern
void
save_expr_under_name
P
ARAMS
((
tree
,
tree
));
extern
void
stamp_nesting_label
P
ARAMS
((
tree
));
extern
int
int_fits_type_p
P
ARAMS
((
tree
,
tree
));
extern
void
warning
P
ARAMS
((
char
*
,
...));
/* forward declarations */
static
int
classify_loop
P
ROTO
((
void
));
static
int
declare_temps
P
ROTO
((
void
));
static
int
initialize_iter_var
P
ROTO
((
void
));
static
int
maybe_skip_loop
P
ROTO
((
void
));
static
int
top_loop_end_check
P
ROTO
((
void
));
static
int
bottom_loop_end_check
P
ROTO
((
void
));
static
int
increment_temps
P
ROTO
((
void
));
static
tree
build_temporary_variable
P
ROTO
((
char
*
,
tree
));
static
tree
maybe_make_for_temp
P
ROTO
((
tree
,
char
*
,
tree
));
static
tree
chill_unsigned_type
P
ROTO
((
tree
));
static
int
classify_loop
P
ARAMS
((
void
));
static
int
declare_temps
P
ARAMS
((
void
));
static
int
initialize_iter_var
P
ARAMS
((
void
));
static
int
maybe_skip_loop
P
ARAMS
((
void
));
static
int
top_loop_end_check
P
ARAMS
((
void
));
static
int
bottom_loop_end_check
P
ARAMS
((
void
));
static
int
increment_temps
P
ARAMS
((
void
));
static
tree
build_temporary_variable
P
ARAMS
((
char
*
,
tree
));
static
tree
maybe_make_for_temp
P
ARAMS
((
tree
,
char
*
,
tree
));
static
tree
chill_unsigned_type
P
ARAMS
((
tree
));
/* In terms of the parameters passed to build_loop_iterator,
* there are several types of loops. They are encoded by
...
...
gcc/ch/parse.c
View file @
3b0d91ff
This diff is collapsed.
Click to expand it.
gcc/ch/satisfy.c
View file @
3b0d91ff
...
...
@@ -36,11 +36,11 @@ struct decl_chain
};
/* forward declarations */
static
tree
satisfy
P
ROTO
((
tree
,
struct
decl_chain
*
));
static
void
cycle_error_print
P
ROTO
((
struct
decl_chain
*
,
tree
));
static
tree
safe_satisfy_decl
P
ROTO
((
tree
,
struct
decl_chain
*
));
static
void
satisfy_list
P
ROTO
((
tree
,
struct
decl_chain
*
));
static
void
satisfy_list_values
P
ROTO
((
tree
,
struct
decl_chain
*
));
static
tree
satisfy
P
ARAMS
((
tree
,
struct
decl_chain
*
));
static
void
cycle_error_print
P
ARAMS
((
struct
decl_chain
*
,
tree
));
static
tree
safe_satisfy_decl
P
ARAMS
((
tree
,
struct
decl_chain
*
));
static
void
satisfy_list
P
ARAMS
((
tree
,
struct
decl_chain
*
));
static
void
satisfy_list_values
P
ARAMS
((
tree
,
struct
decl_chain
*
));
static
struct
decl_chain
dummy_chain
;
#define LOOKUP_ONLY (chain==&dummy_chain)
...
...
gcc/ch/tasking.c
View file @
3b0d91ff
...
...
@@ -45,18 +45,18 @@ tree chill_taskingcode_type_node;
/* forward declarations */
#if 0
static void validate_process_parameters P
ROTO
((tree));
static tree get_struct_variable_name P
ROTO
((tree));
static tree decl_tasking_code_variable P
ROTO
((tree, tree *, int));
static void validate_process_parameters P
ARAMS
((tree));
static tree get_struct_variable_name P
ARAMS
((tree));
static tree decl_tasking_code_variable P
ARAMS
((tree, tree *, int));
#endif
static
tree
get_struct_debug_type_name
P
ROTO
((
tree
));
static
tree
get_process_wrapper_name
P
ROTO
((
tree
));
static
tree
build_tasking_enum
P
ROTO
((
void
));
static
void
build_tasking_message_type
P
ROTO
((
void
));
static
tree
build_receive_signal_case_label
P
ROTO
((
tree
,
tree
));
static
tree
build_receive_buffer_case_label
P
ROTO
((
tree
,
tree
));
static
void
build_receive_buffer_case_end
P
ROTO
((
tree
,
tree
));
static
void
build_receive_signal_case_end
P
ROTO
((
tree
,
tree
));
static
tree
get_struct_debug_type_name
P
ARAMS
((
tree
));
static
tree
get_process_wrapper_name
P
ARAMS
((
tree
));
static
tree
build_tasking_enum
P
ARAMS
((
void
));
static
void
build_tasking_message_type
P
ARAMS
((
void
));
static
tree
build_receive_signal_case_label
P
ARAMS
((
tree
,
tree
));
static
tree
build_receive_buffer_case_label
P
ARAMS
((
tree
,
tree
));
static
void
build_receive_buffer_case_end
P
ARAMS
((
tree
,
tree
));
static
void
build_receive_signal_case_end
P
ARAMS
((
tree
,
tree
));
/* list of this module's process, buffer, etc. decls.
This is a list of TREE_VECs, chain by their TREE_CHAINs. */
...
...
gcc/ch/tree.c
View file @
3b0d91ff
...
...
@@ -34,7 +34,7 @@ extern struct obstack permanent_obstack;
to layout_chill_range_type for the index range of a string. */
tree
string_index_type_dummy
;
static
tree
make_powerset_type
P
ROTO
((
tree
));
static
tree
make_powerset_type
P
ARAMS
((
tree
));
/* Build a chill string type.
For a character string, ELT_TYPE==char_type_node;
...
...
gcc/ch/typeck.c
View file @
3b0d91ff
...
...
@@ -40,16 +40,16 @@ Boston, MA 02111-1307, USA. */
#include "output.h"
/* forward declarations */
static
int
chill_l_equivalent
P
ROTO
((
tree
,
tree
,
struct
mode_chain
*
));
static
tree
extract_constant_from_buffer
P
ROTO
((
tree
,
const
unsigned
char
*
,
int
));
static
int
expand_constant_to_buffer
P
ROTO
((
tree
,
unsigned
char
*
,
int
));
static
tree
build_empty_string
P
ROTO
((
tree
));
static
tree
make_chill_pointer_type
P
ROTO
((
tree
,
enum
tree_code
));
static
tree
make_chill_range_type
P
ROTO
((
tree
,
tree
,
tree
));
static
void
apply_chill_array_layout
P
ROTO
((
tree
));
static
int
field_decl_cmp
P
ROTO
((
tree
*
,
tree
*
));
static
tree
make_chill_struct_type
P
ROTO
((
tree
));
static
int
apply_chill_field_layout
P
ROTO
((
tree
,
int
*
));
static
int
chill_l_equivalent
P
ARAMS
((
tree
,
tree
,
struct
mode_chain
*
));
static
tree
extract_constant_from_buffer
P
ARAMS
((
tree
,
const
unsigned
char
*
,
int
));
static
int
expand_constant_to_buffer
P
ARAMS
((
tree
,
unsigned
char
*
,
int
));
static
tree
build_empty_string
P
ARAMS
((
tree
));
static
tree
make_chill_pointer_type
P
ARAMS
((
tree
,
enum
tree_code
));
static
tree
make_chill_range_type
P
ARAMS
((
tree
,
tree
,
tree
));
static
void
apply_chill_array_layout
P
ARAMS
((
tree
));
static
int
field_decl_cmp
P
ARAMS
((
tree
*
,
tree
*
));
static
tree
make_chill_struct_type
P
ARAMS
((
tree
));
static
int
apply_chill_field_layout
P
ARAMS
((
tree
,
int
*
));
/*
* This function checks an array access.
...
...
@@ -3292,7 +3292,7 @@ layout_chill_struct_type (t)
field_array
[
len
++
]
=
x
;
qsort
(
field_array
,
len
,
sizeof
(
tree
),
(
int
(
*
)
P
ROTO
((
const
void
*
,
const
void
*
)))
field_decl_cmp
);
(
int
(
*
)
P
ARAMS
((
const
void
*
,
const
void
*
)))
field_decl_cmp
);
}
}
...
...
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