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] Don't leak C_MAYBE_CONST_EXPRs into GIMPLE (PR c/59891)


On Wed, 22 Jan 2014, Marek Polacek wrote:

> 2014-01-22  Marek Polacek  <polacek@redhat.com>
> 
> 	PR c/59891
> c/
> 	* c-typeck.c (build_conditional_expr): Call c_fully_fold instead
> 	of remove_c_maybe_const_expr on op1 and op2.
> testsuite/
> 	* gcc.dg/torture/pr59891.c: New test.

OK.

-- 
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]