------- Comment #2 from sam at gcc dot gnu dot org  2008-03-13 15:47 -------
Confirmed on trunk:

GNAT 4.4.0 20080311 (experimental)
Copyright 1992-2007, Free Software Foundation, Inc.
+===========================GNAT BUG DETECTED==============================+
| 4.4.0 20080311 (experimental) (i686-pc-linux-gnu) Program_Error sem.adb:630
explicit raise|
| Error detected at empire.ads:46:93                                       |

GNAT thinks that there is a missing semicolon before the bogus "I" but doesn't
recover properly from it. Here is a reduced test case:

package T is
  A : Boolean B :=
    True;
end T;

% gcc -c t.ads
+===========================GNAT BUG DETECTED==============================+
| 4.4.0 20080311 (experimental) (i686-pc-linux-gnu) Program_Error sem.adb:630
explicit raise|
| Error detected at t.ads:3:15                                             |


-- 

sam at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-03-13 15:47:49
               date|                            |


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

Reply via email to