This is the mail archive of the gcc-patches@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]

Ada: fix handling of -gnatc -gnatt wrt back-end calls


Tested on x86-linux and on non GCC back-end.

In the case of tools such as gnatpp that invoke the compiler with
-gnatc -gnatt, the back end should not be called for targets where
front-end layout is performed, since no back annotation is done on
such targets. So the additional condition of Front_End_Layout_On_Target
is tested in the driver's check for suppressing calls to the back end.

2004-10-26  Gary Dismukes  <dismukes@gnat.com>

	* gnat1drv.adb: Suppress calling the back end when
	Frontend_Layout_On_Target is true.

Attachment: difs.16
Description: Text document


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