public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: jsm28@gcc.gnu.org
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: c/4787
Date: Tue, 04 Dec 2001 14:56:00 -0000	[thread overview]
Message-ID: <20011204225600.2658.qmail@sources.redhat.com> (raw)

The following reply was made to PR c/4787; it has been noted by GNATS.

From: jsm28@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: c/4787
Date: 4 Dec 2001 22:55:41 -0000

 CVSROOT:	/cvs/gcc
 Module name:	gcc
 Changes by:	jsm28@gcc.gnu.org	2001-12-04 14:55:40
 
 Modified files:
 	gcc            : ChangeLog c-common.c c-common.def c-common.h 
 	                 c-decl.c c-lang.c c-parse.in c-tree.h 
 	                 c-typeck.c 
 	gcc/doc        : c-tree.texi extend.texi 
 	gcc/objc       : objc-lang.c 
 	gcc/testsuite  : ChangeLog 
 	gcc/testsuite/gcc.c-torture/compile: init-3.c 
 Added files:
 	gcc/testsuite/gcc.dg: c90-complit-1.c c99-complit-1.c 
 	                      c99-complit-2.c 
 Removed files:
 	gcc/testsuite/gcc.c-torture/execute: 20000722-1.x 20010123-1.x 
 
 Log message:
 	* c-common.def (COMPOUND_LITERAL_EXPR): New.
 	* c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
 	(c_staticp): New function.
 	* c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
 	(c_staticp): Declare.
 	* c-typeck.c (default_function_array_conversion, build_unary_op):
 	Don't handle CONSTRUCTOR specially.
 	(lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
 	* c-decl.c (build_compound_literal): New function.
 	* c-tree.h (build_compound_literal): Declare.
 	* c-parse.in (primary): Use build_compound_literal.
 	* c-lang.c (LANG_HOOKS_STATICP): Define.
 	* objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
 	* doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
 	* doc/extend.texi: Update documentation of compound literals.
 	Fixes PR c/4787.
 	
 	testsuite:
 	* gcc.c-torture/execute/20000722-1.x,
 	gcc.c-torture/execute/20010123-1.x: Remove.
 	* gcc.c-torture/compile/init-3.c: Don't use a compound literal.
 	* gcc.dg/c90-complit-1.c, gcc.dg/c99-complit-1.c,
 	gcc.dg/c99-complit-2.c: New tests.
 
 Patches:
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.12144&r2=1.12145
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gcc&r1=1.277&r2=1.278
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.def.diff?cvsroot=gcc&r1=1.5&r2=1.6
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&r1=1.102&r2=1.103
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&r1=1.277&r2=1.278
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-lang.c.diff?cvsroot=gcc&r1=1.71&r2=1.72
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-parse.in.diff?cvsroot=gcc&r1=1.116&r2=1.117
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-tree.h.diff?cvsroot=gcc&r1=1.76&r2=1.77
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&r1=1.153&r2=1.154
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/c-tree.texi.diff?cvsroot=gcc&r1=1.23&r2=1.24
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/extend.texi.diff?cvsroot=gcc&r1=1.38&r2=1.39
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/objc-lang.c.diff?cvsroot=gcc&r1=1.1&r2=1.2
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.1451&r2=1.1452
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/init-3.c.diff?cvsroot=gcc&r1=1.1&r2=1.2
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/20000722-1.x.diff?cvsroot=gcc&r1=1.1&r2=NONE
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/20010123-1.x.diff?cvsroot=gcc&r1=1.1&r2=NONE
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/c90-complit-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/c99-complit-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/c99-complit-2.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
 


                 reply	other threads:[~2001-12-04 22:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011204225600.2658.qmail@sources.redhat.com \
    --to=jsm28@gcc.gnu.org \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).