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
a54e3bf0
Commit
a54e3bf0
authored
Jun 11, 2014
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code clean up.
From-SVN: r211462
parent
43bebb10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
gcc/ada/sem_ch12.adb
+18
-2
No files found.
gcc/ada/sem_ch12.adb
View file @
a54e3bf0
...
@@ -1776,6 +1776,22 @@ package body Sem_Ch12 is
...
@@ -1776,6 +1776,22 @@ package body Sem_Ch12 is
Delta_Val
:
constant
Ureal
:=
Ureal_1
;
Delta_Val
:
constant
Ureal
:=
Ureal_1
;
Digs_Val
:
constant
Uint
:=
Uint_6
;
Digs_Val
:
constant
Uint
:=
Uint_6
;
function
Make_Dummy_Bound
return
Node_Id
;
--
Return
a
properly
typed
universal
real
literal
to
use
as
a
bound
----------------------
--
Make_Dummy_Bound
--
----------------------
function
Make_Dummy_Bound
return
Node_Id
is
Bound
:
constant
Node_Id
:=
Make_Real_Literal
(
Loc
,
Ureal_1
);
begin
Set_Etype
(
Bound
,
Universal_Real
);
return
Bound
;
end
Make_Dummy_Bound
;
--
Start
of
processing
for
Analyze_Formal_Decimal_Fixed_Point_Type
begin
begin
Enter_Name
(
T
);
Enter_Name
(
T
);
...
@@ -1788,8 +1804,8 @@ package body Sem_Ch12 is
...
@@ -1788,8 +1804,8 @@ package body Sem_Ch12 is
Set_Small_Value
(
Base
,
Delta_Val
);
Set_Small_Value
(
Base
,
Delta_Val
);
Set_Scalar_Range
(
Base
,
Set_Scalar_Range
(
Base
,
Make_Range
(
Loc
,
Make_Range
(
Loc
,
Low_Bound
=>
Make_
Real_Literal
(
Loc
,
Ureal_1
)
,
Low_Bound
=>
Make_
Dummy_Bound
,
High_Bound
=>
Make_
Real_Literal
(
Loc
,
Ureal_1
)
));
High_Bound
=>
Make_
Dummy_Bound
));
Set_Is_Generic_Type
(
Base
);
Set_Is_Generic_Type
(
Base
);
Set_Parent
(
Base
,
Parent
(
Def
));
Set_Parent
(
Base
,
Parent
(
Def
));
...
...
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