This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/48995] New: Function called twice during initialization of an allocated packed unconstrained array.
- From: "rodakay at tpg dot com.au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 14 May 2011 00:38:55 +0000
- Subject: [Bug ada/48995] New: Function called twice during initialization of an allocated packed unconstrained array.
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48995
Summary: Function called twice during initialization of an
allocated packed unconstrained array.
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rodakay@tpg.com.au
Created attachment 24246
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24246
simple test case code
Please see the attached archive for a reproducer of this issue.
The expected output can be obtained by constraining the declaration of
Media.Image, or by removing the "pragma Pack (Image);" from the
specification of the Media package.
It is understood that this problem has been resolved within AdaCores private
codebase.
Discussion on 'comp.lang.ada' of the problem may be found at:
http://groups.google.com/group/comp.lang.ada/browse_thread/thread/75d2eb9e2e52a8c5#