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: [C PATCH] PR27150 and PR27382: LABEL_DECL vs DECL_WEAK


On Sat, 3 Jun 2006, Roger Sayle wrote:

> 2006-06-03  Roger Sayle  <roger@eyesopen.com>
> 	    Andrew Pinski  <pinskia@physics.uc.edu>
> 
> 	PR middle-end/27382
> 	* c-common.c (c_common_truthvalue_conversion): Explicitly check
> 	for LABEL_DECL before calling DECL_WEAK.
> 
> 	PR c/27150
> 	* c-typeck.c (build_binary_op): Likewise, explicitly check for
> 	LABEL_DECL and PARM_DECL.
> 
> 	* gcc.dg/pr27150-1.c: New testcase.
> 	* gcc.dg/pr27382-1.c: New testcase.
> 	* gcc.dg/pr27382-2.c: New testcase.

OK.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


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