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
cead616d
Commit
cead616d
authored
Oct 11, 2010
by
Arnaud Charlet
Committed by
Arnaud Charlet
Oct 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* xr_tabls.adb, sem_res.adb: Minor reformattingem_res.adb
From-SVN: r165292
parent
1b0b0f18
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
gcc/ada/ChangeLog
+4
-0
gcc/ada/sem_res.adb
+3
-3
gcc/ada/xr_tabls.adb
+4
-5
No files found.
gcc/ada/ChangeLog
View file @
cead616d
2010
-
10
-
11
Arnaud
Charlet
<
charlet
@
adacore
.
com
>
2010
-
10
-
11
Arnaud
Charlet
<
charlet
@
adacore
.
com
>
*
xr_tabls
.
adb
,
sem_res
.
adb
:
Minor
reformatting
2010
-
10
-
11
Arnaud
Charlet
<
charlet
@
adacore
.
com
>
*
gnat_rm
.
texi
,
exp_attr
.
adb
,
sem_attr
.
adb
,
sem_attr
.
ads
,
*
gnat_rm
.
texi
,
exp_attr
.
adb
,
sem_attr
.
adb
,
sem_attr
.
ads
,
snames
.
ads
-
tmpl
(
Analyze_Attribute
,
Expand_N_Attribute_Reference
):
Add
snames
.
ads
-
tmpl
(
Analyze_Attribute
,
Expand_N_Attribute_Reference
):
Add
handling
of
Attribute_Ref
.
Add
missing
blanks
in
some
error
messages
.
handling
of
Attribute_Ref
.
Add
missing
blanks
in
some
error
messages
.
...
...
gcc/ada/sem_res.adb
View file @
cead616d
...
@@ -8380,9 +8380,9 @@ package body Sem_Res is
...
@@ -8380,9 +8380,9 @@ package body Sem_Res is
if not Tagged_Type_Expansion
if not Tagged_Type_Expansion
or else not
or else not
(RTU_Loaded (Ada_Tags)
(RTU_Loaded (Ada_Tags)
and then Nkind (Prefix (N)) = N_Selected_Component
and then Nkind (Prefix (N)) = N_Selected_Component
and then Present (Entity (Selector_Name (Prefix (N))))
and then Present (Entity (Selector_Name (Prefix (N))))
and then Entity (Selector_Name (Prefix (N))) =
and then Entity (Selector_Name (Prefix (N))) =
RTE_Record_Component (RE_Prims_Ptr))
RTE_Record_Component (RE_Prims_Ptr))
then
then
Apply_Range_Check (Drange, Etype (Index));
Apply_Range_Check (Drange, Etype (Index));
...
...
gcc/ada/xr_tabls.adb
View file @
cead616d
...
@@ -453,11 +453,10 @@ package body Xr_Tabls is
...
@@ -453,11 +453,10 @@ package body Xr_Tabls is
Source_Line => null,
Source_Line => null,
Next => null);
Next => null);
-- We can insert the reference in the list directly, since all
-- We can insert the reference into the list directly, since all the
-- the references will appear only once in the ALI file
-- references will appear only once in the ALI file corresponding to the
-- corresponding to the file where they are referenced.
-- file where they are referenced. This saves a lot of time compared to
-- This saves a lot of time compared to checking the list to check
-- checking the list to check if it exists.
-- if it exists.
case Ref_Type is
case Ref_Type is
when '
b
' | '
c
' =>
when '
b
' | '
c
' =>
...
...
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