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
e1578ff3
Commit
e1578ff3
authored
Jun 16, 2010
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Complete previous change.
From-SVN: r160848
parent
3f165ff2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
+11
-1
gcc/ada/sem_warn.adb
+11
-1
No files found.
gcc/ada/sem_warn.adb
View file @
e1578ff3
...
@@ -3507,16 +3507,26 @@ package body Sem_Warn is
...
@@ -3507,16 +3507,26 @@ package body Sem_Warn is
and then Is_Known_Branch
and then Is_Known_Branch
then
then
declare
declare
Start : Source_Ptr;
Dummy : Source_Ptr;
Typ : Character;
Atrue : Boolean;
Atrue : Boolean;
begin
begin
Sloc_Range (Orig, Start, Dummy);
Atrue := Test_Result;
Atrue := Test_Result;
if Present (Parent (C)) and then Nkind (Parent (C)) = N_Op_Not then
if Present (Parent (C)) and then Nkind (Parent (C)) = N_Op_Not then
Atrue := not Atrue;
Atrue := not Atrue;
end if;
end if;
Set_SCO_Condition (Orig, Atrue);
if Atrue then
Typ := '
t
';
else
Typ := '
f
';
end if;
Set_SCO_Condition (Start, Typ);
end;
end;
end if;
end if;
...
...
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