r262795 - in /trunk/gcc/ada: ChangeLog frontend...

pmderodat@gcc.gnu.org pmderodat@gcc.gnu.org
Tue Jul 17 08:11:00 GMT 2018


Author: pmderodat
Date: Tue Jul 17 08:11:32 2018
New Revision: 262795

URL: https://gcc.gnu.org/viewcvs?rev=262795&root=gcc&view=rev
Log:
[Ada] Faulty ignored Ghost code removal

This patch ensures that removal of ignored Ghost code is the absolute last
operation performed on the tree. Previously the removal was performed prior to
issuing delayed warnings, however the warning mechanism may see a heavily
modified tree and fail.

No small reproducer available.

2018-07-17  Hristian Kirtchev  <kirtchev@adacore.com>

gcc/ada/

	* frontend.adb (Frontend): The removal of ignored Ghost code must be
	the last semantic operation performed on the tree.

Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/frontend.adb



More information about the Gcc-cvs mailing list