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
1572e2c3
Commit
1572e2c3
authored
Oct 30, 2014
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-commit wrongly reverted previous change.
From-SVN: r216922
parent
cd2c6027
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
gcc/ada/gcc-interface/decl.c
+3
-5
gcc/ada/gcc-interface/misc.c
+1
-0
No files found.
gcc/ada/gcc-interface/decl.c
View file @
1572e2c3
...
...
@@ -2486,16 +2486,14 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, int definition)
/* We need special types for debugging information to point to
the index types if they have variable bounds, are not integer
types
, are biased or are wider than sizetype
. */
if
(
!
integer_onep
(
gnu_orig_min
)
types
or are biased
. */
if
(
TREE_CODE
(
gnu_orig_min
)
!=
INTEGER_CST
||
TREE_CODE
(
gnu_orig_max
)
!=
INTEGER_CST
||
TREE_CODE
(
gnu_index_type
)
!=
INTEGER_TYPE
||
(
TREE_TYPE
(
gnu_index_type
)
&&
TREE_CODE
(
TREE_TYPE
(
gnu_index_type
))
!=
INTEGER_TYPE
)
||
TYPE_BIASED_REPRESENTATION_P
(
gnu_index_type
)
||
compare_tree_int
(
rm_size
(
gnu_index_type
),
TYPE_PRECISION
(
sizetype
))
>
0
)
||
TYPE_BIASED_REPRESENTATION_P
(
gnu_index_type
))
need_index_type_struct
=
true
;
}
...
...
gcc/ada/gcc-interface/misc.c
View file @
1572e2c3
...
...
@@ -238,6 +238,7 @@ gnat_init_options (unsigned int decoded_options_count,
#undef flag_compare_debug
#undef flag_short_enums
#undef flag_stack_check
int
gnat_encodings
=
0
;
int
optimize
;
int
optimize_size
;
int
flag_compare_debug
;
...
...
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