[PATCH][C] Fix PR39712

Joseph S. Myers joseph@codesourcery.com
Fri Apr 10 18:47:00 GMT 2009


On Fri, 10 Apr 2009, Richard Guenther wrote:

> This fixes the wrong-types ICE in PR39712.  My previous check wasn't
> enough to catch multi-dimensional array address mismatches.
> 
> Fixed with the following, bootstrapped and tested on 
> x86_64-unknown-linux-gnu.  Ok for trunk?
> 
> Thanks,
> Richard.
> 
> 2009-04-10  Richard Guenther  <rguenther@suse.de>
> 
> 	PR c/39712
> 	* c-gimplify.c (c_gimplify_expr): Adjust check for mismatched
> 	address expressions.
> 
> 	* gcc.dg/pr39712.c: New testcase.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list