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
0bcee275
Commit
0bcee275
authored
8 years ago
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanups.
From-SVN: r247205
parent
b554177a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
16 deletions
+21
-16
gcc/ada/exp_ch4.adb
+21
-16
No files found.
gcc/ada/exp_ch4.adb
View file @
0bcee275
...
...
@@ -7616,20 +7616,12 @@ package body Exp_Ch4 is
-----------------------
procedure Expand_N_Op_Expon (N : Node_Id) is
Loc : constant Source_Ptr := Sloc (N);
Typ : constant Entity_Id := Etype (N);
Rtyp : constant Entity_Id := Root_Type (Typ);
Base : Node_Id;
Bastyp : Node_Id;
Exp : Node_Id;
Exptyp : Entity_Id;
Ovflo : constant Boolean := Do_Overflow_Check (N);
Expv : Uint;
Temp : Node_Id;
Rent : RE_Id;
Ent : Entity_Id;
Etyp : Entity_Id;
Xnode : Node_Id;
Loc : constant Source_Ptr := Sloc (N);
Ovflo : constant Boolean := Do_Overflow_Check (N);
Typ : constant Entity_Id := Etype (N);
Rtyp : constant Entity_Id := Root_Type (Typ);
Bastyp : Entity_Id;
function Wrap_MA (Exp : Node_Id) return Node_Id;
-- Given an expression Exp, if the root type is Float or Long_Float,
...
...
@@ -7644,6 +7636,7 @@ package body Exp_Ch4 is
function
Wrap_MA
(
Exp
:
Node_Id
)
return
Node_Id
is
Loc
:
constant
Source_Ptr
:=
Sloc
(
Exp
);
begin
if
Rtyp
=
Standard_Float
or
else
Rtyp
=
Standard_Long_Float
then
return
...
...
@@ -7656,6 +7649,18 @@ package body Exp_Ch4 is
end
if
;
end
Wrap_MA
;
--
Local
variables
Base
:
Node_Id
;
Ent
:
Entity_Id
;
Etyp
:
Entity_Id
;
Exp
:
Node_Id
;
Exptyp
:
Entity_Id
;
Expv
:
Uint
;
Rent
:
RE_Id
;
Temp
:
Node_Id
;
Xnode
:
Node_Id
;
--
Start
of
processing
for
Expand_N_Op_Expon
begin
...
...
@@ -10784,8 +10789,8 @@ package body Exp_Ch4 is
if
not
Comes_From_Source
(
N
)
and
then
Is_Interface
(
Designated_Type
(
Target_Type
))
and
then
Nkind
(
Original_Node
(
N
))
=
N_Attribute_Reference
and
then
Attribute_Name
(
Original_Node
(
N
))
=
Name_Unrestricted_Access
and
then
Attribute_Name
(
Original_Node
(
N
))
=
Name_Unrestricted_Access
then
null
;
...
...
This diff is collapsed.
Click to expand it.
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