--- Comment #2 from sam at gcc dot gnu dot org 2007-12-03 16:03 ---
This bug has been fixed in SVN trunk.
--
sam at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #1 from sam at gcc dot gnu dot org 2007-12-03 16:02 ---
Subject: Bug 34287
Author: sam
Date: Mon Dec 3 16:01:57 2007
New Revision: 130582
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130582
Log:
2007-12-03 Robert Dewar [EMAIL PROTECTED]
Samuel Tardieu
--
sam at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34287
--
sam at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |sam at gcc dot gnu dot org
|dot org
Here is my program inspired by Barnes' Ada 95 2nd book page 158:
--bug1.ads
package bug1 is
I : Integer := 0;
A: array(1.. 10) of Integer := (others = 0);
procedure Silly(X: in out Integer);
end bug1;
--bug1.adb
with Ada.Integer_Text_Io; use Ada.Integer_Text_Io;
package body bug1 is
is 6 after the Silly call (correct) and I is 6 (!!) at the end of the
elaboration
Both versions seem erroneous.
Can others confirm this bug?
Best Regards to the gcc community
chris
--
Summary: Simple Ada bug [Barnes' Silly]
Product: gcc
Version: 4.1.3