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

Bug#699736: marked as done ([Fixed in 4.8] Bug box in gnat_to_gnu, at ada/gcc-interface/trans.c:4526)



Your message dated Thu, 20 Aug 2015 12:09:36 +0000
with message-id <[🔎] E1ZSOf2-0005fk-SF@franck.debian.org>
and subject line Bug#796148: Removed package(s) from unstable
has caused the Debian Bug report #699736,
regarding [Fixed in 4.8] Bug box in gnat_to_gnu, at ada/gcc-interface/trans.c:4526
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
699736: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699736
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gnat-4.6
Version: 4.6.3-8

When compiled with gnatmake -gnat12 algo_2sat.adb

package body Algo_2SAT is
   type Orientation is (Unused, Unnegated, Negated, Both);
   procedure Monodirectional (P: in out Problem_2SAT) is
      Count : array (1 .. Variable (100)) of Orientation := (others => Unused);
      C : Clause;
      P_New : Problem_2SAT;
   begin
      for I in P.First_Index .. P.Last_Index loop
         C := P.Element (I);
         if Count (C.A_Var) in (Unnegated, Negated) or else Count
(C.B_Var) in (Unnegated, Negated) then
            null;
         else
            P_New.Append (C);
         end if;
      end loop;
      P := P_New;
   end Monodirectional;
end Algo_2Sat;
with Ada.Containers.Vectors;
package Algo_2SAT is
   type Variable is new Natural;
   type Clause is record
      A_Bool : Boolean;
      A_Var : Variable;
      B_Bool : Boolean;
      B_Var : Variable;
   end record;
   package Problem_Container is new Ada.Containers.Vectors (Natural, Clause);
   subtype Problem_2Sat is Problem_Container.Vector;
   procedure Monodirectional (P : in out Problem_2SAT);
end Algo_2SAT;

offers

gcc-4.6 -c -gnat12 algo_2sat.adb
+===========================GNAT BUG DETECTED==============================+
| 4.6.3 (x86_64-pc-linux-gnu) GCC error:                                   |
| in gnat_to_gnu, at ada/gcc-interface/trans.c:4526                        |
| Error detected at algo_2sat.adb:10:32                                    |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc-4.6 or gnatmake command that you entered.          |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
Consider also -gnatd.n switch (see debug.adb).

algo_2sat.adb
algo_2sat.ads

compilation abandoned
gnatmake: "algo_2sat.adb" compilation error

I would offer this upstream, but Debian's GNAT is a version behind.
-- 
Kie ekzistas vivo, ekzistas espero.

--- End Message ---
--- Begin Message ---
Version: 4.6.4-4+rm

Dear submitter,

as the package gnat-4.6 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/796148

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: