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] Avoid ICEs due to save_expr instead of c_save_expr (PR c/54428)


On Fri, 31 Aug 2012, Jakub Jelinek wrote:

> 2012-08-31  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR c/54428
> 	* c-convert.c (convert): Don't call fold_convert_loc if
> 	TYPE_MAIN_VARIANT of a COMPLEX_TYPE is the same, unless e
> 	is a COMPLEX_EXPR.  Remove TYPE_MAIN_VARIANT check from
> 	COMPLEX_TYPE -> COMPLEX_TYPE conversion.
> 
> 	* gcc.c-torture/compile/pr54428.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]