summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-29 08:05:54 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-29 08:05:54 +0000
commit363135e63427bd852fbe1cebefc479ee410bcc1c (patch)
treed9227ddba9aed099c5aea8fe8d9f497f43771f6f
parent393f6d7f0cb4ab27a2bd5a6df0698e2ccc521807 (diff)
downloadgcc-363135e63427bd852fbe1cebefc479ee410bcc1c.tar.gz
* sem_ch3.adb: Minor reformatting
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136139 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ada/sem_ch3.adb11
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/ada/sem_ch3.adb b/gcc/ada/sem_ch3.adb
index 88a44138039..f0065b73901 100644
--- a/gcc/ada/sem_ch3.adb
+++ b/gcc/ada/sem_ch3.adb
@@ -6285,14 +6285,13 @@ package body Sem_Ch3 is
C1 := First_Elmt (New_Discrs);
C2 := First_Elmt (Discriminant_Constraint (Derived_Type));
while Present (C1) and then Present (C2) loop
-
if Fully_Conformant_Expressions (Node (C1), Node (C2))
or else
- (Is_OK_Static_Expression (Node (C1))
- and then
- Is_OK_Static_Expression (Node (C2))
- and then
- Expr_Value (Node (C1)) = Expr_Value (Node (C2)))
+ (Is_OK_Static_Expression (Node (C1))
+ and then
+ Is_OK_Static_Expression (Node (C2))
+ and then
+ Expr_Value (Node (C1)) = Expr_Value (Node (C2)))
then
null;