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
cc0b3bac
Commit
cc0b3bac
authored
Apr 25, 2017
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor reformatting.
From-SVN: r247184
parent
457cee0b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
25 deletions
+25
-25
gcc/ada/exp_atag.adb
+10
-9
gcc/ada/exp_ch4.adb
+1
-2
gcc/ada/inline.adb
+1
-1
gcc/ada/sem_ch8.adb
+13
-13
No files found.
gcc/ada/exp_atag.adb
View file @
cc0b3bac
...
@@ -197,20 +197,21 @@ package body Exp_Atag is
...
@@ -197,20 +197,21 @@ package body Exp_Atag is
Make_Object_Declaration
(
Loc
,
Make_Object_Declaration
(
Loc
,
Defining_Identifier
=>
Obj_TSD
,
Defining_Identifier
=>
Obj_TSD
,
Constant_Present
=>
True
,
Constant_Present
=>
True
,
Object_Definition
=>
New_Occurrence_Of
Object_Definition
=>
(
RTE
(
RE_Type_Specific_Data_Ptr
),
Loc
),
New_Occurrence_Of
(
RTE
(
RE_Type_Specific_Data_Ptr
),
Loc
),
Expression
=>
Build_TSD
(
Loc
,
New_Occurrence_Of
(
Tag_Addr
,
Loc
))),
Expression
=>
Build_TSD
(
Loc
,
New_Occurrence_Of
(
Tag_Addr
,
Loc
))),
Suppress
=>
All_Checks
);
Suppress
=>
All_Checks
);
Insert_Action
(
Related_Nod
,
Insert_Action
(
Related_Nod
,
Make_Object_Declaration
(
Loc
,
Make_Object_Declaration
(
Loc
,
Defining_Identifier
=>
Typ_TSD
,
Defining_Identifier
=>
Typ_TSD
,
Constant_Present
=>
True
,
Constant_Present
=>
True
,
Object_Definition
=>
New_Occurrence_Of
Object_Definition
=>
(
RTE
(
RE_Type_Specific_Data_Ptr
),
Loc
),
New_Occurrence_Of
(
RTE
(
RE_Type_Specific_Data_Ptr
),
Loc
),
Expression
=>
Build_TSD
(
Loc
,
Expression
=>
Unchecked_Convert_To
(
RTE
(
RE_Address
)
,
Build_TSD
(
Loc
,
Typ_Tag_Node
))),
Unchecked_Convert_To
(
RTE
(
RE_Address
),
Typ_Tag_Node
))),
Suppress
=>
All_Checks
);
Suppress
=>
All_Checks
);
Insert_Action
(
Related_Nod
,
Insert_Action
(
Related_Nod
,
...
@@ -246,7 +247,7 @@ package body Exp_Atag is
...
@@ -246,7 +247,7 @@ package body Exp_Atag is
Make_Op_Eq
(
Loc
,
Make_Op_Eq
(
Loc
,
Left_Opnd
=>
Left_Opnd
=>
Make_Indexed_Component
(
Loc
,
Make_Indexed_Component
(
Loc
,
Prefix
=>
Prefix
=>
Make_Selected_Component
(
Loc
,
Make_Selected_Component
(
Loc
,
Prefix
=>
New_Occurrence_Of
(
Obj_TSD
,
Loc
),
Prefix
=>
New_Occurrence_Of
(
Obj_TSD
,
Loc
),
Selector_Name
=>
Selector_Name
=>
...
...
gcc/ada/exp_ch4.adb
View file @
cc0b3bac
...
@@ -5859,8 +5859,7 @@ package body Exp_Ch4 is
...
@@ -5859,8 +5859,7 @@ package body Exp_Ch4 is
if Tagged_Type_Expansion then
if Tagged_Type_Expansion then
Tagged_Membership (N, SCIL_Node, New_N);
Tagged_Membership (N, SCIL_Node, New_N);
Rewrite (N, New_N);
Rewrite (N, New_N);
Analyze_And_Resolve
Analyze_And_Resolve (N, Restyp, Suppress => All_Checks);
(N, Restyp, Suppress => All_Checks);
-- Update decoration of relocated node referenced by the
-- Update decoration of relocated node referenced by the
-- SCIL node.
-- SCIL node.
...
...
gcc/ada/inline.adb
View file @
cc0b3bac
...
@@ -812,7 +812,7 @@ package body Inline is
...
@@ -812,7 +812,7 @@ package body Inline is
Next (Item);
Next (Item);
end loop;
end loop;
-- If no suspicious with_clauses, analyze the body
.
-- If no suspicious with_clauses, analyze the body
if Is_Inlined (U_Id) then
if Is_Inlined (U_Id) then
Semantics (Body_Unit);
Semantics (Body_Unit);
...
...
gcc/ada/sem_ch8.adb
View file @
cc0b3bac
...
@@ -1090,8 +1090,8 @@ package body Sem_Ch8 is
...
@@ -1090,8 +1090,8 @@ package body Sem_Ch8 is
(
"
\f
unction & will be called only once?R?"
,
Nam
,
(
"
\f
unction & will be called only once?R?"
,
Nam
,
Entity
(
Name
(
Nam
)));
Entity
(
Name
(
Nam
)));
Error_Msg_N
--
CODEFIX
Error_Msg_N
--
CODEFIX
(
"\suggest using an initialized constant "
(
"\suggest using an initialized constant
object
"
&
"
object
instead?R?"
,
Nam
);
&
"instead?R?"
,
Nam
);
end
if
;
end
if
;
end
case
;
end
case
;
end
if
;
end
if
;
...
@@ -3804,8 +3804,8 @@ package body Sem_Ch8 is
...
@@ -3804,8 +3804,8 @@ package body Sem_Ch8 is
return;
return;
end if;
end if;
-- Otherwise, create new list and attach to it the operations that
-- Otherwise, create new list and attach to it the operations that
are
--
are
made use-visible by the clause.
-- made use-visible by the clause.
Set_Used_Operations (N, New_Elmt_List);
Set_Used_Operations (N, New_Elmt_List);
Id := First (Subtype_Marks (N));
Id := First (Subtype_Marks (N));
...
@@ -4606,13 +4606,13 @@ package body Sem_Ch8 is
...
@@ -4606,13 +4606,13 @@ package body Sem_Ch8 is
-- use_type clause.
-- use_type clause.
if Nkind (Id) = N_Defining_Operator_Symbol
if Nkind (Id) = N_Defining_Operator_Symbol
and then
and then
(Is_Primitive_Operator_In_Use (Id, First_Formal (Id))
(Is_Primitive_Operator_In_Use (Id, First_Formal (Id))
or else
or else
(Present (Next_Formal (First_Formal (Id)))
(Present (Next_Formal (First_Formal (Id)))
and then
and then
Is_Primitive_Operator_In_Use
Is_Primitive_Operator_In_Use
(Id, Next_Formal (First_Formal (Id)))))
(Id, Next_Formal (First_Formal (Id)))))
then
then
null;
null;
else
else
...
@@ -9197,8 +9197,8 @@ package body Sem_Ch8 is
...
@@ -9197,8 +9197,8 @@ package body Sem_Ch8 is
elsif From_Limited_With (T) and then From_Limited_With (Scope (T)) then
elsif From_Limited_With (T) and then From_Limited_With (Scope (T)) then
Error_Msg_N
Error_Msg_N
("incomplete type from limited view
"
("incomplete type from limited view
cannot appear in use clause",
& "cannot appear in use clause",
Id);
Id);
-- If the use clause is redundant, Used_Operations will usually be
-- If the use clause is redundant, Used_Operations will usually be
-- empty, but we need to set it to empty here in one case: If we are
-- empty, but we need to set it to empty here in one case: If we are
...
...
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