r263732 - in /trunk/gcc: ada/ChangeLog ada/lib-...

pmderodat@gcc.gnu.org pmderodat@gcc.gnu.org
Tue Aug 21 14:49:00 GMT 2018


Author: pmderodat
Date: Tue Aug 21 14:48:35 2018
New Revision: 263732

URL: https://gcc.gnu.org/viewcvs?rev=263732&root=gcc&view=rev
Log:
[Ada] Crash processing SPARK annotate aspect

The compiler blows up writing the ALI file of a package that has a ghost
subprogram with an annotate contract.

2018-08-21  Javier Miranda  <miranda@adacore.com>

gcc/ada/

	* lib-writ.adb (Write_Unit_Information): Handle pragmas removed
	by the expander.

gcc/testsuite/

	* gnat.dg/spark2.adb, gnat.dg/spark2.ads: New testcase.

Added:
    trunk/gcc/testsuite/gnat.dg/spark2.adb
    trunk/gcc/testsuite/gnat.dg/spark2.ads
Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/lib-writ.adb
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list