summaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-04 10:09:29 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-04 10:09:29 +0000
commitcbcba2f82befbe6206f756ad092812c51896dfe6 (patch)
tree5dfe4d47e33c2b0687f5dab3bd522598629fdf6d /gcc/ada
parent23abd64dd32091ac36f82d7b4a15c565c04bccf3 (diff)
downloadgcc-cbcba2f82befbe6206f756ad092812c51896dfe6.tar.gz
2013-01-04 Robert Dewar <dewar@adacore.com>
* sinfo.ads: Clean up order of N_xxx subtypes 2013-01-04 Vincent Celier <celier@adacore.com> * prj-conf.adb (Check_Target): Allow --autoconf= with no target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194897 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada')
-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 d64c78b3bfc..766ce8e09c7 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 08b09d2ad04..20ad9244a01 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,