From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5209 invoked by alias); 11 Apr 2011 21:29:17 -0000 Received: (qmail 5197 invoked by uid 22791); 11 Apr 2011 21:29:16 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 Apr 2011 21:29:13 +0000 Received: (qmail 15273 invoked from network); 11 Apr 2011 21:29:12 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 11 Apr 2011 21:29:12 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1Q9OfX-0001Hq-CT; Mon, 11 Apr 2011 21:29:11 +0000 Date: Mon, 11 Apr 2011 21:29:00 -0000 From: "Joseph S. Myers" To: Jakub Jelinek cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Fix ICE with C compound literals (PR c/48517) In-Reply-To: <20110411195238.GA17079@tyan-ft48-01.lab.bos.redhat.com> Message-ID: References: <20110411195238.GA17079@tyan-ft48-01.lab.bos.redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg00811.txt.bz2 On Mon, 11 Apr 2011, Jakub Jelinek wrote: > 2011-04-11 Jakub Jelinek > > 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