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] Handle C_MAYBE_CONST_EXPR in diagnostic (PR c/45079)


On Tue, 27 Jul 2010, Jakub Jelinek wrote:

> Hi!
> 
> As the testcase below shows, C_MAYBE_CONST_EXPR isn't handled by
> pp_c_expression.  The following patch fixes that.
> 
> Bootstrapped/regtested on x86_64-linux and i686-linux.  Ok for trunk/4.5?
> 
> 2010-07-27  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR c/45079
> 	* c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
> 
> 	* gcc.dg/pr45079.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]