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] |
The use of -gnatR in check semantics only (-gnatc) mode does not work since code must be generated for -gnatR to work. The attempt to combine the two switches is now properly diagnosed. The following trivial package 1. package gnatrgnatc is 2. end; If compiled with switches -gnatc -gnatR2, outputs: gnat1: -gnatR not permitted since -gnatc given previously If compiled with switches -gnatR2 -gnatc, outputs: gnat1: -gnatc not allowed since previous -gnatR given Tested on x86_64-pc-linux-gnu, committed on trunk 2013-09-10 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Document that -gnatc and -gnatR cannot be given together. * switch-c.adb (Scan_Front_End_Switches): Give error if both -gnatR and -gnatc given.
Attachment:
difs
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |