This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/23995] [4.0 regression] ICE on misaligned rep clause



------- Comment #5 from ebotcazou at gcc dot gnu dot org  2005-10-21 18:43 -------
Works on mainline, the front-end doesn't generate the same expanded code:

--- gcc-4_0-branch/sparc-sun-solaris2.8/pr23995.ads.dg  2005-10-21
20:39:56.006059768 +0200
+++ gcc/sparc-sun-solaris2.8/pr23995.ads.dg     2005-10-21 20:40:11.488706048
+0200
@@ -30,7 +30,9 @@
    freeze p__test_a [
       procedure p__test_aIP (_init : in out p__test_a) is
       begin
-         p__test1IP (_init.t1);
+         T1s : p__test1;
+         p__test1IP (T1s);
+         _init.t1 := T1s;
          return;
       end p__test_aIP;
    ]


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|ebotcazou at gcc dot gnu dot|
                   |org                         |
      Known to work|3.3                         |3.3 4.1.0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]