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]

Re: PATCH: PR c/36892: Support __attribute__((deprecated("text string")))


On Tue, 5 May 2009, H.J. Lu wrote:

> 	* gcc.dg/deprecated-4.c: Likewise.
> 	* gcc.dg/deprecated-5.c: Likewise.
> 	* gcc.dg/deprecated-6.c: Likewise.

deprecated-5.c and deprecated-6.c look like copies of deprecated-2.c and 
deprecated-3.c; why are you adding them?

The dg-warning lines in the new tests don't appear actually to be testing 
that the "text string" appears in the diagnostic, but that's an important 
thing to test here.

-- 
Joseph S. Myers
joseph@codesourcery.com


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