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

Bug#248683: marked as done ([Fixed in 4.4] gnat: Illegal program not detected, RM 13.1(6))



Your message dated Sat,  9 Aug 2008 18:32:43 +0200
with message-id <1218299563.489dc6abbadb2@www.versateladsl.be>
and subject line Re: gnat: Illegal program not detected, RM 13.1(6)
has caused the Debian Bug report #248683,
regarding [Fixed in 4.4] gnat: Illegal program not detected, RM 13.1(6)
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.)


-- 
248683: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=248683
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gnat
Version: 3.15p-9
Severity: normal

--  Pragma convention is a representation pragma (RM B.1(28)), and
--  such pragmas apply to multiple entities with the same name (RM
--  13.1(5)).  A representation pragma is illegal if applied to a
--  non-local renamed entity (RM 13.1(6)).
package Test_93 is
   procedure p1(x: integer);
end Test_93;

with Test_93;
package pak2 is
   procedure p2(x: integer) renames Test_93.p1;
   procedure p2(x: float);
   pragma convention(C, p2);    --ERROR: applied to non-local renames
end pak2;


I expect an error message like this, but gnat does not complain:

test_93.adb:13:04: representation pragma applied to non-local subprogram "p2" declared at line 3



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8

Versions of packages gnat depends on:
ii  libc6                       2.3.2.ds1-12 GNU C Library: Shared libraries an
ii  libgnat-3.15p-1             3.15p-9      The GNU Ada 95 compiler runtime li

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 4.3.0-5

Forgot to close this bug from the changelog entry:

gnat-4.3 (4.3.0-5) unstable; urgency=low

  [Samuel Tardieu, Ludovic Brenta]
  * debian/patches/pr34466.dpatch,
    debian/patches/pr22255.dpatch,
    debian/patches/pr33688.dpatch,
    debian/patches/pr10768.dpatch,
    debian/patches/pr28305.dpatch,
    debian/patches/pr17985.dpatch (closes: #278685)
    debian/patches/pr15915.dpatch,
    debian/patches/pr16098.dpatch,
    debian/patches/pr18680.dpatch,
    debian/patches/pr28733.dpatch,
    debian/patches/pr22387.dpatch,
    debian/patches/pr29015.dpatch: new; backport Ada bug fixes from GCC 4.4.
  * debian/patches/rules.patch: apply them.
  * debian/patches/pr35050.dpatch: update.

  [Andreas Jochens]
  * debian/patches/ppc64-ada.dpatch: update, adding support for ppc64.
    Closes: #476868.

  [Ludovic Brenta]
  * Apply ppc64-ada.dpatch whenever we build libgnat, not just on ppc64.

 -- Ludovic Brenta <lbrenta@debian.org>  Mon, 21 Apr 2008 21:49:53 +0200


--- End Message ---

Reply to: