public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13651] [3.4 Regression] double error message when using incomplete types in a struct
2004-01-12 5:28 [Bug c++/13651] New: [3.4 Regression] double error message when using incomplete types in a struct pinskia at gcc dot gnu dot org
@ 2004-01-12 5:28 ` pinskia at gcc dot gnu dot org
2004-01-14 5:40 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-12 5:28 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13651
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/13651] New: [3.4 Regression] double error message when using incomplete types in a struct
@ 2004-01-12 5:28 pinskia at gcc dot gnu dot org
2004-01-12 5:28 ` [Bug c++/13651] " pinskia at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-12 5:28 UTC (permalink / raw)
To: gcc-bugs
The following code produces the two error messages in 3.4 while does not in 3.3.
class t;
void g(t *y)
{
y->Error();
}
--
Summary: [3.4 Regression] double error message when using
incomplete types in a struct
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13651
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/13651] [3.4 Regression] double error message when using incomplete types in a struct
2004-01-12 5:28 [Bug c++/13651] New: [3.4 Regression] double error message when using incomplete types in a struct pinskia at gcc dot gnu dot org
2004-01-12 5:28 ` [Bug c++/13651] " pinskia at gcc dot gnu dot org
@ 2004-01-14 5:40 ` pinskia at gcc dot gnu dot org
2004-01-18 8:10 ` [Bug c++/13651] [3.4/3.5 " dhazeghi at yahoo dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-14 5:40 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.1 |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13651
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/13651] [3.4/3.5 Regression] double error message when using incomplete types in a struct
2004-01-12 5:28 [Bug c++/13651] New: [3.4 Regression] double error message when using incomplete types in a struct pinskia at gcc dot gnu dot org
2004-01-12 5:28 ` [Bug c++/13651] " pinskia at gcc dot gnu dot org
2004-01-14 5:40 ` pinskia at gcc dot gnu dot org
@ 2004-01-18 8:10 ` dhazeghi at yahoo dot com
2004-01-19 20:49 ` mmitchel at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-18 8:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2004-01-18 08:10 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-01-18 08:10:24
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13651
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/13651] [3.4/3.5 Regression] double error message when using incomplete types in a struct
2004-01-12 5:28 [Bug c++/13651] New: [3.4 Regression] double error message when using incomplete types in a struct pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-01-18 8:10 ` [Bug c++/13651] [3.4/3.5 " dhazeghi at yahoo dot com
@ 2004-01-19 20:49 ` mmitchel at gcc dot gnu dot org
2004-01-19 22:10 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-01-19 20:49 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13651
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/13651] [3.4/3.5 Regression] double error message when using incomplete types in a struct
2004-01-12 5:28 [Bug c++/13651] New: [3.4 Regression] double error message when using incomplete types in a struct pinskia at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-01-19 20:49 ` mmitchel at gcc dot gnu dot org
@ 2004-01-19 22:10 ` cvs-commit at gcc dot gnu dot org
2004-01-19 22:11 ` cvs-commit at gcc dot gnu dot org
2004-01-20 3:36 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-01-19 22:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-19 22:10 -------
Subject: Bug 13651
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2004-01-19 22:10:31
Modified files:
gcc/cp : ChangeLog parser.c
Log message:
PR c++/13651
* parser.c (cp_parser_postfix_expression): When encountering
incomplete type on left-hand side of "->" or ".", treat the entire
expression as erroneous.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3898&r2=1.3899
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.158&r2=1.159
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13651
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/13651] [3.4/3.5 Regression] double error message when using incomplete types in a struct
2004-01-12 5:28 [Bug c++/13651] New: [3.4 Regression] double error message when using incomplete types in a struct pinskia at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-01-19 22:10 ` cvs-commit at gcc dot gnu dot org
@ 2004-01-19 22:11 ` cvs-commit at gcc dot gnu dot org
2004-01-20 3:36 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-01-19 22:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-19 22:11 -------
Subject: Bug 13651
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: mmitchel@gcc.gnu.org 2004-01-19 22:11:03
Modified files:
gcc/cp : ChangeLog parser.c
Log message:
PR c++/13651
* parser.c (cp_parser_postfix_expression): When encountering
incomplete type on left-hand side of "->" or ".", treat the entire
expression as erroneous.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.4&r2=1.3892.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.157.2.1&r2=1.157.2.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13651
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/13651] [3.4/3.5 Regression] double error message when using incomplete types in a struct
2004-01-12 5:28 [Bug c++/13651] New: [3.4 Regression] double error message when using incomplete types in a struct pinskia at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-01-19 22:11 ` cvs-commit at gcc dot gnu dot org
@ 2004-01-20 3:36 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-20 3:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-20 03:36 -------
Fixed for 3.4 and 3.5.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13651
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-01-20 3:36 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-12 5:28 [Bug c++/13651] New: [3.4 Regression] double error message when using incomplete types in a struct pinskia at gcc dot gnu dot org
2004-01-12 5:28 ` [Bug c++/13651] " pinskia at gcc dot gnu dot org
2004-01-14 5:40 ` pinskia at gcc dot gnu dot org
2004-01-18 8:10 ` [Bug c++/13651] [3.4/3.5 " dhazeghi at yahoo dot com
2004-01-19 20:49 ` mmitchel at gcc dot gnu dot org
2004-01-19 22:10 ` cvs-commit at gcc dot gnu dot org
2004-01-19 22:11 ` cvs-commit at gcc dot gnu dot org
2004-01-20 3:36 ` pinskia at gcc dot gnu dot org
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).