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/34381] Bug box, Program_Error sem_type.adb:636 explicit raise on illegal Ada 2005 program



------- Comment #1 from sam at gcc dot gnu dot org  2007-12-07 15:51 -------
On trunk:

Compiling: pak5.ads (source file time stamp: 2007-12-07 15:48:22)

     6.    x2: integer := f(x1.all); -- line 5; column 19 is the opening paren
                               |
        >>> expected type "t1'class" defined at pak4.ads:2
        >>> found type "t2'class" defined at pak4.ads:3

     7.    x3: float := x1.all;
                           |
        >>> expected type "Standard.Float"
        >>> found type "t2'class" defined at pak4.ads:3

     8.    x4: boolean := pak4."="(x1.all, x1.all);
                              |
        >>> "=" not declared in "pak4"

 9 lines: 5 errors

I haven't looked at whether all those errors are legitimate or not.


-- 

sam at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at gcc dot gnu dot org
             Status|UNCONFIRMED                 |WAITING


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


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