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]

committed: disable new warnings


Tested on i686-linux.

There are two cases of Logic_Error calls (in XMatch and XMatchD) where
the call should be dead (unreachable) code if the rest of the subprogram
is correctly coded. The warning mechanism for dead code is now improved
so that these calls raise warnings. To avoid the warnings, they calls to
Logic_Error have been bracketed with pragma Warnings (On/Off).

2004-10-04  Robert Dewar  <dewar@gnat.com>

	* g-spipat.adb: (XMatch): Avoid warning for Logic_Error call
	(XMatchD): Avoid warning for Logic_Error call

Attachment: difs.18
Description: Text document


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