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/15803] Illegal program not detected, RM 8.3(19)



------- Comment #2 from sam at gcc dot gnu dot org  2007-11-28 20:43 -------
Subject: Bug 15803

Author: sam
Date: Wed Nov 28 20:43:25 2007
New Revision: 130495

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130495
Log:
    gcc/ada/
        PR ada/15803
        * par-ch3.adb (P_Variant_Part): Signal an error when anything other
        than an identifier is used after "case" in a variant_part.

    gcc/testsuite/
        PR ada/15803
        * gnat.dg/specs/variant_part.ads: New test.

Added:
    trunk/gcc/testsuite/gnat.dg/specs/variant_part.ads
Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/par-ch3.adb
    trunk/gcc/testsuite/ChangeLog


-- 


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


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