[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug ada/31576] [regression] Ada bootstrap error




------- Comment #1 from krebbel at gcc dot gnu dot org  2007-04-16 12:38 -------
The same happens on s390 and s390x.  The constant Default_Bit_Order is definded
in system.ads:

   --  Other System-Dependent Declarations

   type Bit_Order is (High_Order_First, Low_Order_First);
   Default_Bit_Order : constant Bit_Order := High_Order_First;

With the -gnupg option gnat compains about all checks like:
 if Default_Bit_Order = High_Order_First then ...
with
 warning: condition is always True

I'm by far not an Ada expert but I would say that warning isn't very helpful
and in that case and should simply be omitted.


-- 

krebbel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krebbel at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   GCC host triplet|                            |sparc-linux-gnu, s390-ibm-
                   |                            |linux
 GCC target triplet|sparc-linux-gnu             |sparc-linux-gnu, s390-ibm-
                   |                            |linux
           Keywords|                            |build
   Last reconfirmed|0000-00-00 00:00:00         |2007-04-16 12:38:14
               date|                            |
            Summary|[regression] bootstrap error|[regression] Ada bootstrap
                   |on sparc-linux-gnu          |error


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31576

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: