]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Fri, 4 Jan 2013 10:09:29 +0000 (11:09 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 4 Jan 2013 10:09:29 +0000 (11:09 +0100)
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.

From-SVN: r194897

gcc/ada/prj-conf.adb
gcc/ada/sinfo.ads

index d64c78b3bfca818aad28320d7f9bc8875159223f..766ce8e09c7c29fc082b5935f45b1285ec6b7816 100644 (file)
@@ -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);
index 08b09d2ad048043bcef5ccfd9db97d84ba070e3c..20ad9244a01a0c9cbff0427610267ecfa1f8f461 100644 (file)
@@ -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,