This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C PATCH] Don't leak C_MAYBE_CONST_EXPRs into GIMPLE (PR c/59891)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Wed, 22 Jan 2014 21:13:21 +0000
- Subject: Re: [C PATCH] Don't leak C_MAYBE_CONST_EXPRs into GIMPLE (PR c/59891)
- Authentication-results: sourceware.org; auth=none
- References: <20140122210410 dot GU8907 at redhat dot com>
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