public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/7353
@ 2002-10-09 14:36 zack
0 siblings, 0 replies; 4+ messages in thread
From: zack @ 2002-10-09 14:36 UTC (permalink / raw)
To: zack; +Cc: gcc-prs
The following reply was made to PR c/7353; it has been noted by GNATS.
From: zack@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c/7353
Date: 9 Oct 2002 21:31:04 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_2-branch
Changes by: zack@gcc.gnu.org 2002-10-09 14:31:04
Modified files:
gcc : ChangeLog c-decl.c
gcc/cp : ChangeLog decl.c
gcc/doc : extend.texi
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/ext: typedef-init.C
gcc/testsuite/gcc.dg: typedef-init.c
Log message:
PR c/7353
gcc:
* c-decl.c (start_decl): Unconditionally issue error for
'typedef foo = bar'.
(finish_decl): Remove special case for TYPE_DECL with initializer.
* doc/extend.texi: Delete "Naming Types" section. Change all
cross-references to that section to refer to "Typeof" instead.
Add the useful safe-max()-macro example from "Naming Types" to
"Typeof", rewritten using that extension.
gcc/cp:
* decl.c (start_decl): Unconditionally issue error for
'typedef foo = bar'.
(cp_finish_decl): Remove special case for TYPE_DECL with initializer.
(grokdeclarator): Remove redundant error for 'typedef foo = bar'.
gcc/testsuite:
* g++.dg/ext/typedef-init.C: New test.
* gcc.dg/typedef-init.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.13152.2.657.2.80&r2=1.13152.2.657.2.81
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.300.2.10.2.1&r2=1.300.2.10.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.2685.2.114.2.15&r2=1.2685.2.114.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.866.2.36.2.2&r2=1.866.2.36.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/extend.texi.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.64.2.2.4.1&r2=1.64.2.2.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.1672.2.166.2.21&r2=1.1672.2.166.2.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/typedef-init.C.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/typedef-init.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=NONE&r2=1.1.2.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* c/7353
@ 2002-11-02 2:36 zack
0 siblings, 0 replies; 4+ messages in thread
From: zack @ 2002-11-02 2:36 UTC (permalink / raw)
To: zack; +Cc: gcc-prs
The following reply was made to PR c/7353; it has been noted by GNATS.
From: zack@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c/7353
Date: 2 Nov 2002 10:28:51 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_2-branch
Changes by: zack@gcc.gnu.org 2002-11-02 02:28:50
Modified files:
gcc/cp : ChangeLog decl2.c
gcc/testsuite : ChangeLog
gcc/testsuite/g++.dg/ext: typedef-init.C
gcc/testsuite/gcc.dg: typedef-init.c
Log message:
PR c/7353 redux
cp:
* decl2.c (grokfield): Reject TYPE_DECLs with initializers.
testsuite:
* g++.dg/ext/typedef-init.C, gcc.dg/typedef-init.C:
Add some more cases.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.2685.2.114.2.39&r2=1.2685.2.114.2.40
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.520.2.7.2.7&r2=1.520.2.7.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.1672.2.166.2.45&r2=1.1672.2.166.2.46
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/typedef-init.C.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/typedef-init.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.1.2.1&r2=1.1.2.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* c/7353
@ 2002-11-01 18:26 zack
0 siblings, 0 replies; 4+ messages in thread
From: zack @ 2002-11-01 18:26 UTC (permalink / raw)
To: zack; +Cc: gcc-prs
The following reply was made to PR c/7353; it has been noted by GNATS.
From: zack@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c/7353
Date: 2 Nov 2002 02:17:42 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: zack@gcc.gnu.org 2002-11-01 18:17:42
Modified files:
gcc/cp : ChangeLog decl2.c
gcc/testsuite : ChangeLog
gcc/testsuite/g++.dg/ext: typedef-init.C
gcc/testsuite/gcc.dg: typedef-init.c
Log message:
PR c/7353 redux
cp:
* decl2.c (grokfield): Reject TYPE_DECLs with initializers.
testsuite:
* g++.dg/ext/typedef-init.C, gcc.dg/typedef-init.C:
Add some more cases.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3035&r2=1.3036
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&r1=1.569&r2=1.570
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2195&r2=1.2196
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/typedef-init.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/typedef-init.c.diff?cvsroot=gcc&r1=1.1&r2=1.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* c/7353
@ 2002-10-18 20:26 zack
0 siblings, 0 replies; 4+ messages in thread
From: zack @ 2002-10-18 20:26 UTC (permalink / raw)
To: zack; +Cc: gcc-prs
The following reply was made to PR c/7353; it has been noted by GNATS.
From: zack@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c/7353
Date: 19 Oct 2002 03:17:45 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_2-branch
Changes by: zack@gcc.gnu.org 2002-10-18 20:17:44
Modified files:
gcc : ChangeLog c-decl.c
gcc/cp : ChangeLog decl.c
Log message:
PR c/7353
* c-decl.c, cp/decl.c (start_decl): Point users of the old initialized-
typedef extension at __typeof__.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.13152.2.657.2.97&r2=1.13152.2.657.2.98
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.300.2.10.2.2&r2=1.300.2.10.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.2685.2.114.2.26&r2=1.2685.2.114.2.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.866.2.36.2.6&r2=1.866.2.36.2.7
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-11-02 10:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-09 14:36 c/7353 zack
2002-10-18 20:26 c/7353 zack
2002-11-01 18:26 c/7353 zack
2002-11-02 2:36 c/7353 zack
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).