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
e8face4c
Commit
e8face4c
authored
Jun 10, 2003
by
Nathanael Nerode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* init.c, misc.c, trans.c, utils.c: Remove dead code.
From-SVN: r67735
parent
90712996
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
39 deletions
+5
-39
gcc/ada/ChangeLog
+4
-0
gcc/ada/init.c
+0
-10
gcc/ada/misc.c
+1
-14
gcc/ada/trans.c
+0
-8
gcc/ada/utils.c
+0
-7
No files found.
gcc/ada/ChangeLog
View file @
e8face4c
2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org>
* init.c, misc.c, trans.c, utils.c: Remove dead code.
2003-06-09 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Replace "host_canonical" with "host" for autoconf
...
...
gcc/ada/init.c
View file @
e8face4c
...
...
@@ -1623,16 +1623,6 @@ __gnat_initialize ()
__gnat_init_float
();
#ifdef __mips_vxworks
#if 0
/* For now remove this handler, since it is causing interferences with gdb */
/* Connect the overflow trap directly to the __gnat_int_handler routine
as it is not converted to a signal by VxWorks. */
intConnect (INUM_TO_IVEC (IV_TRAP_VEC), &__gnat_int_handler, IV_TRAP_VEC);
#endif
#endif
}
/***************************************/
...
...
gcc/ada/misc.c
View file @
e8face4c
...
...
@@ -586,21 +586,8 @@ static void
gnat_adjust_rli
(
rli
)
record_layout_info
rli
ATTRIBUTE_UNUSED
;
{
#if 0
/* This code seems to have no actual effect; record_align should already
/* This function has no actual effect; record_align should already
reflect the largest alignment desired by a field. jason 2003-04-01 */
unsigned int record_align = rli->unpadded_align;
tree field;
/* If any fields have variable size, we need to force the record to be at
least as aligned as the alignment of that type. */
for (field = TYPE_FIELDS (rli->t); field; field = TREE_CHAIN (field))
if (TREE_CODE (DECL_SIZE_UNIT (field)) != INTEGER_CST)
record_align = MAX (record_align, DECL_ALIGN (field));
if (TYPE_PACKED (rli->t))
rli->record_align = record_align;
#endif
}
/* Make a TRANSFORM_EXPR to later expand GNAT_NODE into code. */
...
...
gcc/ada/trans.c
View file @
e8face4c
...
...
@@ -532,14 +532,6 @@ tree_transform (gnat_node)
gnu_result
=
UI_To_gnu
(
Corresponding_Integer_Value
(
gnat_node
),
gnu_result_type
);
if
(
TREE_CONSTANT_OVERFLOW
(
gnu_result
)
#if 0
|| (TREE_CODE (TYPE_MIN_VALUE (gnu_result_type)) == INTEGER_CST
&& tree_int_cst_lt (gnu_result,
TYPE_MIN_VALUE (gnu_result_type)))
|| (TREE_CODE (TYPE_MAX_VALUE (gnu_result_type)) == INTEGER_CST
&& tree_int_cst_lt (TYPE_MAX_VALUE (gnu_result_type),
gnu_result))
#endif
)
gigi_abort
(
305
);
}
...
...
gcc/ada/utils.c
View file @
e8face4c
...
...
@@ -1814,13 +1814,6 @@ end_subprog_body ()
if
(
function_nesting_depth
>
1
)
ggc_pop_context
();
#if 0
/* If we're sure this function is defined in this file then mark it
as such */
if (TREE_ASM_WRITTEN (current_function_decl))
mark_fn_defined_in_this_file (current_function_decl);
#endif
/* Throw away any VAR_DECLs we made for OUT parameters; they must
not be seen when we call this function and will be in
unallocated memory anyway. */
...
...
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