diff options
author | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-22 17:43:43 -0300 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-22 17:43:43 -0300 |
commit | a926878ddbd5a98b272c22171ce58663fc04c3e0 (patch) | |
tree | 86af256e5d9a9c06263c00adc90e5fe348008c43 /gcc/ada/sem_scil.adb | |
parent | 542730f087133690b47e036dfd43eb0db8a650ce (diff) | |
parent | 07cbaed8ba7d1b6e4ab3a9f44175502a4e1ecdb1 (diff) | |
download | gcc-devel/autopar_devel.zip gcc-devel/autopar_devel.tar.gz gcc-devel/autopar_devel.tar.bz2 |
Merge branch 'autopar_rebase2' into autopar_develdevel/autopar_devel
Quickly commit changes in the rebase branch.
Diffstat (limited to 'gcc/ada/sem_scil.adb')
-rw-r--r-- | gcc/ada/sem_scil.adb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/ada/sem_scil.adb b/gcc/ada/sem_scil.adb index a3ebca0..f8ad56b 100644 --- a/gcc/ada/sem_scil.adb +++ b/gcc/ada/sem_scil.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 2009-2019, Free Software Foundation, Inc. -- +-- Copyright (C) 2009-2020, 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- -- @@ -86,8 +86,8 @@ package body Sem_SCIL is -- object or parameter declaration. Interface types are still -- unsupported. - elsif Nkind_In (Ctrl_Tag, N_Object_Declaration, - N_Parameter_Specification) + elsif Nkind (Ctrl_Tag) in + N_Object_Declaration | N_Parameter_Specification then Ctrl_Typ := Etype (Defining_Identifier (Ctrl_Tag)); @@ -132,10 +132,10 @@ package body Sem_SCIL is -- Check contents of the boolean expression associated with the -- membership test. - pragma Assert (Nkind_In (N, N_Identifier, - N_And_Then, - N_Or_Else, - N_Expression_With_Actions) + pragma Assert + (Nkind (N) in + N_Identifier | N_And_Then | N_Or_Else | + N_Expression_With_Actions and then Etype (N) = Standard_Boolean); -- Check the entity identifier of the associated tagged type (that |