public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/14133] New: Duplicate diagnostics on redeclaration
@ 2004-02-12 21:56 jsm28 at gcc dot gnu dot org
2004-02-12 22:08 ` [Bug c/14133] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2004-02-12 21:56 UTC (permalink / raw)
To: gcc-bugs
void f();
void f(int, ...);
yields duplicate diagnostics:
t-dupdiag.c:2: error: conflicting types for 'f'
t-dupdiag.c:2: note: a parameter list with an ellipsis can't match an empty
parameter name list declaration
t-dupdiag.c:1: error: previous declaration of 'f' was here
t-dupdiag.c:2: error: conflicting types for 'f'
t-dupdiag.c:2: note: a parameter list with an ellipsis can't match an empty
parameter name list declaration
t-dupdiag.c:1: error: previous declaration of 'f' was here
Caused by one of Zack's patches. Previously mentioned in mail but
now filing a bug to track it as a regression.
--
Summary: Duplicate diagnostics on redeclaration
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: zack at gcc dot gnu dot org
ReportedBy: jsm28 at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14133
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/14133] [3.4/3.5 Regression] Duplicate diagnostics on redeclaration
2004-02-12 21:56 [Bug c/14133] New: Duplicate diagnostics on redeclaration jsm28 at gcc dot gnu dot org
@ 2004-02-12 22:08 ` pinskia at gcc dot gnu dot org
2004-02-28 3:08 ` mmitchel 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-02-12 22:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-12 22:08 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2004-02-12 22:08:02
date| |
Summary|Duplicate diagnostics on |[3.4/3.5 Regression]
|redeclaration |Duplicate diagnostics on
| |redeclaration
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14133
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/14133] [3.4/3.5 Regression] Duplicate diagnostics on redeclaration
2004-02-12 21:56 [Bug c/14133] New: Duplicate diagnostics on redeclaration jsm28 at gcc dot gnu dot org
2004-02-12 22:08 ` [Bug c/14133] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-02-28 3:08 ` mmitchel at gcc dot gnu dot org
2004-03-15 20:39 ` zack at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-02-28 3:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-02-28 03:08 -------
This is not a showstopper so I have moved the target milestone to 3.4.1.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.0 |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14133
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/14133] [3.4/3.5 Regression] Duplicate diagnostics on redeclaration
2004-02-12 21:56 [Bug c/14133] New: Duplicate diagnostics on redeclaration jsm28 at gcc dot gnu dot org
2004-02-12 22:08 ` [Bug c/14133] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
2004-02-28 3:08 ` mmitchel at gcc dot gnu dot org
@ 2004-03-15 20:39 ` zack at gcc dot gnu dot org
2004-03-16 20:57 ` zack at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: zack at gcc dot gnu dot org @ 2004-03-15 20:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zack at gcc dot gnu dot org 2004-03-15 20:39 -------
Does anyone know how to write a test case for this? I cannot think of
any way to tell dg.exp to look for JUST ONE error message.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14133
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/14133] [3.4/3.5 Regression] Duplicate diagnostics on redeclaration
2004-02-12 21:56 [Bug c/14133] New: Duplicate diagnostics on redeclaration jsm28 at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-03-15 20:39 ` zack at gcc dot gnu dot org
@ 2004-03-16 20:57 ` zack at gcc dot gnu dot org
2004-03-23 23:58 ` [Bug c/14133] [3.4 " zack at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: zack at gcc dot gnu dot org @ 2004-03-16 20:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zack at gcc dot gnu dot org 2004-03-16 20:57 -------
Fixed by the c-decl.c rewrite:
http://gcc.gnu.org/ml/gcc-patches/2004-03/msg01280.html
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14133
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/14133] [3.4 Regression] Duplicate diagnostics on redeclaration
2004-02-12 21:56 [Bug c/14133] New: Duplicate diagnostics on redeclaration jsm28 at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-03-16 20:57 ` zack at gcc dot gnu dot org
@ 2004-03-23 23:58 ` zack at gcc dot gnu dot org
2004-06-01 5:23 ` zack at gcc dot gnu dot org
2004-06-12 22:13 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: zack at gcc dot gnu dot org @ 2004-03-23 23:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zack at gcc dot gnu dot org 2004-03-23 23:58 -------
Fixed in 3.5.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |3.3 3.5.0
Summary|[3.4/3.5 Regression] |[3.4 Regression] Duplicate
|Duplicate diagnostics on |diagnostics on redeclaration
|redeclaration |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14133
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/14133] [3.4 Regression] Duplicate diagnostics on redeclaration
2004-02-12 21:56 [Bug c/14133] New: Duplicate diagnostics on redeclaration jsm28 at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-03-23 23:58 ` [Bug c/14133] [3.4 " zack at gcc dot gnu dot org
@ 2004-06-01 5:23 ` zack at gcc dot gnu dot org
2004-06-12 22:13 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: zack at gcc dot gnu dot org @ 2004-06-01 5:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zack at gcc dot gnu dot org 2004-06-01 05:23 -------
suspending 3.4 bugs fixed by c-decl rewrite in 3.5
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |SUSPENDED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14133
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/14133] [3.4 Regression] Duplicate diagnostics on redeclaration
2004-02-12 21:56 [Bug c/14133] New: Duplicate diagnostics on redeclaration jsm28 at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-06-01 5:23 ` zack at gcc dot gnu dot org
@ 2004-06-12 22:13 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-06-12 22:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-06-12 22:13 -------
Won't fix in GCC 3.4.x.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |RESOLVED
Resolution| |FIXED
Target Milestone|3.4.1 |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14133
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-06-12 22:13 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-12 21:56 [Bug c/14133] New: Duplicate diagnostics on redeclaration jsm28 at gcc dot gnu dot org
2004-02-12 22:08 ` [Bug c/14133] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
2004-02-28 3:08 ` mmitchel at gcc dot gnu dot org
2004-03-15 20:39 ` zack at gcc dot gnu dot org
2004-03-16 20:57 ` zack at gcc dot gnu dot org
2004-03-23 23:58 ` [Bug c/14133] [3.4 " zack at gcc dot gnu dot org
2004-06-01 5:23 ` zack at gcc dot gnu dot org
2004-06-12 22:13 ` mmitchel 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).