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
0ae84753
Commit
0ae84753
authored
Dec 05, 2001
by
Robert Dewar
Committed by
Geert Bosch
Dec 05, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* errout.adb: Minor reformatting
From-SVN: r47640
parent
63db260e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
gcc/ada/ChangeLog
+4
-0
gcc/ada/errout.adb
+10
-5
No files found.
gcc/ada/ChangeLog
View file @
0ae84753
2001-12-04 Robert Dewar <dewar@gnat.com>
* errout.adb: Minor reformatting
2001-12-04 Robert Dewar <dewar@gnat.com>
* exp_util.adb: Minor reformatting from last change
* errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
...
...
gcc/ada/errout.adb
View file @
0ae84753
...
...
@@ -1937,8 +1937,6 @@ package body Errout is
Traverse_Func
(
Check_For_Warning
);
--
This
defines
the
traversal
operation
Discard
:
Traverse_Result
;
-----------------------
--
Check_For_Warning
--
-----------------------
...
...
@@ -1951,6 +1949,10 @@ package body Errout is
--
Returns
True
for
a
message
that
is
to
be
removed
.
Also
adjusts
--
warning
count
appropriately
.
-------------------
--
To_Be_Removed
--
-------------------
function
To_Be_Removed
(
E
:
Error_Msg_Id
)
return
Boolean
is
begin
if
E
/=
No_Error_Msg
...
...
@@ -1984,7 +1986,6 @@ package body Errout is
if
Nkind
(
N
)
=
N_Raise_Constraint_Error
and
then
Original_Node
(
N
)
/=
N
then
--
Warnings
may
have
been
posted
on
subexpressions
of
--
the
original
tree
.
We
temporarily
replace
the
raise
--
statement
with
the
original
expression
to
remove
...
...
@@ -1992,7 +1993,7 @@ package body Errout is
--
any
node
in
the
current
tree
.
declare
Old
:
Node_Id
:=
N
;
Old
:
Node_Id
:=
N
;
Status
:
Traverse_Result
;
begin
...
...
@@ -2011,7 +2012,11 @@ package body Errout is
begin
if
Warnings_Detected
/=
0
then
Discard
:=
Check_All_Warnings
(
N
);
declare
Discard
:
Traverse_Result
;
begin
Discard
:=
Check_All_Warnings
(
N
);
end
;
end
if
;
end
Remove_Warning_Messages
;
...
...
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