aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/prj-conf.adb2
-rw-r--r--gcc/ada/sinfo.ads15
2 files changed, 7 insertions, 10 deletions
diff --git a/gcc/ada/prj-conf.adb b/gcc/ada/prj-conf.adb
index d64c78b..766ce8e 100644
--- a/gcc/ada/prj-conf.adb
+++ b/gcc/ada/prj-conf.adb
@@ -566,7 +566,7 @@ package body Prj.Conf is
end if;
if Target = "" then
- OK := not Autoconf_Specified or else Tgt_Name = No_Name;
+ OK := Autoconf_Specified or else Tgt_Name = No_Name;
else
OK := Tgt_Name /= No_Name
and then Target = Get_Name_String (Tgt_Name);
diff --git a/gcc/ada/sinfo.ads b/gcc/ada/sinfo.ads
index 08b09d2..20ad924 100644
--- a/gcc/ada/sinfo.ads
+++ b/gcc/ada/sinfo.ads
@@ -7638,6 +7638,12 @@ package Sinfo is
N_Function_Call,
N_Procedure_Call_Statement,
+ -- N_Subexpr, N_Has_Etype, N_Raise_xxx_Error
+
+ N_Raise_Constraint_Error,
+ N_Raise_Program_Error,
+ N_Raise_Storage_Error,
+
-- N_Subexpr, N_Has_Etype
N_Explicit_Dereference,
@@ -7648,15 +7654,6 @@ package Sinfo is
N_Null,
N_Qualified_Expression,
N_Quantified_Expression,
-
- -- N_Raise_xxx_Error, N_Subexpr, N_Has_Etype
-
- N_Raise_Constraint_Error,
- N_Raise_Program_Error,
- N_Raise_Storage_Error,
-
- -- N_Subexpr, N_Has_Etype
-
N_Aggregate,
N_Allocator,
N_Case_Expression,