This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r138590 - in /trunk/gcc/ada: ChangeLog gprep.ad...
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 04 Aug 2008 09:17:44 -0000
- Subject: r138590 - in /trunk/gcc/ada: ChangeLog gprep.ad...
Author: charlet
Date: Mon Aug 4 09:17:44 2008
New Revision: 138590
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138590
Log:
2008-08-04 Vincent Celier <celier@adacore.com>
* gprep.adb (Process_One_File): Call Prep.Preprocess with a Boolean
variable, but don't check the resulting value as it has no impact on
the processing.
* opt.ads:
(Generate_Processed_File): New Boolean flag, set to True in the compiler
when switch -gnateG is used.
* prep.adb:
(Preprocess): new Boolean out parameter Source_Modified. Set it to True
when the source is modified by the preprocessor and there is no
preprocessing errors.
* prep.ads (Preprocess): new Boolean out parameter Source_Modified
* sinput-l.adb:
(Load_File): Output the result of preprocessing if the source text was
modified.
* switch-c.adb (Scan_Front_End_Switches): Recognize switch -gnateG
* switch-m.adb (Normalize_Compiler_Switches): Normalize switch -gnateG
* ug_words: Add VMS equivalent for -gnateG
* vms_data.ads:
Add VMS option /GENERATE_PROCESSED_SOURCE, equivalent to switch -gnateG
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gprep.adb
trunk/gcc/ada/opt.ads
trunk/gcc/ada/prep.adb
trunk/gcc/ada/prep.ads
trunk/gcc/ada/sinput-l.adb
trunk/gcc/ada/switch-c.adb
trunk/gcc/ada/switch-m.adb
trunk/gcc/ada/ug_words
trunk/gcc/ada/vms_data.ads