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
67b69383
Commit
67b69383
authored
Jul 31, 2014
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor reformatting.
From-SVN: r213357
parent
c1b37eda
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
14 deletions
+15
-14
gcc/ada/exp_ch9.adb
+7
-6
gcc/ada/g-exptty.adb
+8
-8
No files found.
gcc/ada/exp_ch9.adb
View file @
67b69383
...
...
@@ -8914,15 +8914,14 @@ package body Exp_Ch9 is
--
Discriminated_Size
--
------------------------
function
Discriminated_Size
(
Comp
:
Entity_Id
)
return
Boolean
is
function
Discriminated_Size
(
Comp
:
Entity_Id
)
return
Boolean
is
Typ
:
constant
Entity_Id
:=
Etype
(
Comp
);
Index
:
Node_Id
;
function
Non_Static_Bound
(
Bound
:
Node_Id
)
return
Boolean
;
--
Check
whether
the
bound
of
an
index
is
non
-
static
and
does
--
denote
a
discriminant
,
in
which
case
any
protected
object
of
--
the
type
will
have
a
non
-
static
size
.
--
Check
whether
the
bound
of
an
index
is
non
-
static
and
does
denote
--
a
discriminant
,
in
which
case
any
protected
object
of
the
type
--
will
have
a
non
-
static
size
.
----------------------
--
Non_Static_Bound
--
...
...
@@ -8934,7 +8933,7 @@ package body Exp_Ch9 is
return
False
;
elsif
Is_Entity_Name
(
Bound
)
and
then
Present
(
Discriminal_Link
(
Entity
(
Bound
)))
and
then
Present
(
Discriminal_Link
(
Entity
(
Bound
)))
then
return
False
;
...
...
@@ -8943,6 +8942,8 @@ package body Exp_Ch9 is
end
if
;
end
Non_Static_Bound
;
--
Start
of
processing
for
Discriminated_Size
begin
if
not
Is_Array_Type
(
Typ
)
then
return
False
;
...
...
gcc/ada/g-exptty.adb
View file @
67b69383
...
...
@@ -66,14 +66,14 @@ package body GNAT.Expect.TTY is
Status := -1;
else
-- Send a Ctrl-C to the process first. This way, if the
--
launched process is a "sh" or "cmd", the child processes
--
will get terminated as well. Otherwise, terminating the
--
main process
brutally will leave the children running.
--
-- Note: special characters are sent to the terminal to generate
--
the signal, so this needs to be done while the file descriptors
--
are still open
.
-- Send a Ctrl-C to the process first. This way, if the
launched
--
process is a "sh" or "cmd", the child processes will get
--
terminated as well. Otherwise, terminating the main process
-- brutally will leave the children running.
-- Note: special characters are sent to the terminal to generate
the
--
signal, so this needs to be done while the file descriptors are
--
still open (it used to be after the closes and that was wrong)
.
Interrupt (Descriptor);
delay (0.05);
...
...
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