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: [PATCH] Fix ICE with C compound literals (PR c/48517)


On Mon, 11 Apr 2011, Jakub Jelinek wrote:

> 2011-04-11  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR c/48517
> 	* c-typeck.c (store_init_value): Set TREE_TYPE (decl) to
> 	qualified type.
> 
> 	* gcc.dg/pr48517.c: New test.

OK, though I think the test would go better in gcc.c-torture/compile since 
it requires no special options and does not test for any diagnostics.

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