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
35fdafcd
Commit
35fdafcd
authored
Oct 30, 2014
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Recommit wrongly reverted change.
From-SVN: r216924
parent
f11ac8e7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
17 deletions
+20
-17
gcc/ada/a-cimutr.adb
+11
-10
gcc/ada/freeze.adb
+6
-6
gcc/ada/opt.adb
+1
-1
gcc/ada/s-os_lib.adb
+2
-0
No files found.
gcc/ada/a-cimutr.adb
View file @
35fdafcd
...
...
@@ -6,7 +6,7 @@
--
--
--
B
o
d
y
--
--
--
--
Copyright
(
C
)
2004
-
201
3
,
Free
Software
Foundation
,
Inc
.
--
--
Copyright
(
C
)
2004
-
201
4
,
Free
Software
Foundation
,
Inc
.
--
--
--
--
GNAT
is
free
software
;
you
can
redistribute
it
and
/
or
modify
it
under
--
--
terms
of
the
GNU
General
Public
License
as
published
by
the
Free
Soft
-
--
...
...
@@ -1217,6 +1217,7 @@ package body Ada.Containers.Indefinite_Multiway_Trees is
Position : out Cursor;
Count : Count_Type := 1)
is
First : Tree_Node_Access;
Last : Tree_Node_Access;
Element : Element_Access;
...
...
@@ -1249,8 +1250,6 @@ package body Ada.Containers.Indefinite_Multiway_Trees is
with "attempt to tamper with cursors (tree is busy)";
end if;
Position.Container := Parent.Container;
declare
-- The element allocator may need an accessibility check in the case
-- the actual type is class-wide or has access discriminants (see
...
...
@@ -1264,16 +1263,16 @@ package body Ada.Containers.Indefinite_Multiway_Trees is
Element
:=
new
Element_Type
'(New_Item);
end;
Position.Node := new Tree_Node_Type'
(
Parent
=>
Parent
.
Node
,
Element
=>
Element
,
others
=>
<>);
Last
:=
Position
.
Node
;
First := new Tree_Node_Type'
(
Parent
=>
Parent
.
Node
,
Element
=>
Element
,
others
=>
<>);
Last
:=
First
;
for
J
in
Count_Type
'(2) .. Count loop
-- Reclaim other nodes if Storage_Error. ???
Element := new Element_Type'
(
New_Item
);
Element
:= new Element_Type'
(
New_Item
);
Last
.
Next
:=
new
Tree_Node_Type
'(Parent => Parent.Node,
Prev => Last,
Element => Element,
...
...
@@ -1283,7 +1282,7 @@ package body Ada.Containers.Indefinite_Multiway_Trees is
end loop;
Insert_Subtree_List
(First =>
Position.Node
,
(First =>
First
,
Last => Last,
Parent => Parent.Node,
Before => Before.Node);
...
...
@@ -1293,6 +1292,8 @@ package body Ada.Containers.Indefinite_Multiway_Trees is
-- nodes we just inserted.
Container.Count := Container.Count + Count;
Position := Cursor'
(
Parent
.
Container
,
First
);
end
Insert_Child
;
-------------------------
...
...
gcc/ada/freeze.adb
View file @
35fdafcd
...
...
@@ -3569,11 +3569,15 @@ package body Freeze is
Next_Entity (Comp);
end loop;
SSO_ADC := Get_Attribute_Definition_Clause
(Rec, Attribute_Scalar_Storage_Order);
-- Deal with default setting of reverse storage order
Set_SSO_From_Default (Rec);
-- Check consistent attribute setting on component types
SSO_ADC := Get_Attribute_Definition_Clause
(Rec, Attribute_Scalar_Storage_Order);
declare
Comp_ADC_Present : Boolean;
begin
...
...
@@ -3589,10 +3593,6 @@ package body Freeze is
end loop;
end;
-- Deal with default setting of reverse storage order
Set_SSO_From_Default (Rec);
-- Now deal with reverse storage order/bit order issues
if Present (SSO_ADC) then
...
...
gcc/ada/opt.adb
View file @
35fdafcd
...
...
@@ -171,6 +171,7 @@ package body Opt is
Ada_Version
:=
Ada_Version_Runtime
;
Ada_Version_Pragma
:=
Empty
;
Default_SSO
:=
' '
;
Dynamic_Elaboration_Checks
:=
False
;
Extensions_Allowed
:=
True
;
External_Name_Exp_Casing
:=
As_Is
;
...
...
@@ -194,7 +195,6 @@ package body Opt is
Assertions_Enabled
:=
Assertions_Enabled_Config
;
Assume_No_Invalid_Values
:=
Assume_No_Invalid_Values_Config
;
Check_Policy_List
:=
Check_Policy_List_Config
;
Default_SSO
:=
Default_SSO_Config
;
SPARK_Mode
:=
SPARK_Mode_Config
;
SPARK_Mode_Pragma
:=
SPARK_Mode_Pragma_Config
;
else
...
...
gcc/ada/s-os_lib.adb
View file @
35fdafcd
...
...
@@ -797,6 +797,8 @@ package body System.OS_Lib is
return C_Create_File (C_Name (C_Name'
First
)
'Address);
end Create_New_Output_Text_File;
-- Start of processing for Create_Temp_File_Internal
begin
-- Loop until a new temp file can be created
...
...
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