This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r228379 - in /trunk/gcc: ada/ChangeLog ada/gcc-...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 02 Oct 2015 09:28:56 -0000
- Subject: r228379 - in /trunk/gcc: ada/ChangeLog ada/gcc-...
Author: ebotcazou
Date: Fri Oct 2 09:28:56 2015
New Revision: 228379
URL: https://gcc.gnu.org/viewcvs?rev=228379&root=gcc&view=rev
Log:
* gcc-interface/trans.c (Pragma_to_gnu) <Pragma_Warnings>: Replace
linear search with call to find_opt and issue warnings if the -W
switch is not appropriate.
Added:
trunk/gcc/testsuite/gnat.dg/warn13.adb
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/trans.c
trunk/gcc/testsuite/ChangeLog