* [Bug objc/25965] Allows duplicate member names in objc subclasses
2006-01-26 4:00 [Bug objc/25965] New: Allows duplicate member names in objc subclasses aeruder at ksu dot edu
@ 2006-01-26 4:02 ` aeruder at ksu dot edu
2006-01-26 21:30 ` [Bug objc/25965] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: aeruder at ksu dot edu @ 2006-01-26 4:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from aeruder at ksu dot edu 2006-01-26 04:02 -------
Created an attachment (id=10730)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10730&action=view)
A small program demonstrating the issue
gcc duplicatemember.m -o duplicatemember -lobjc
compiles on gcc-svn.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25965
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug objc/25965] [4.1/4.2 Regression] Allows duplicate member names in objc subclasses
2006-01-26 4:00 [Bug objc/25965] New: Allows duplicate member names in objc subclasses aeruder at ksu dot edu
2006-01-26 4:02 ` [Bug objc/25965] " aeruder at ksu dot edu
@ 2006-01-26 21:30 ` pinskia at gcc dot gnu dot org
2006-02-28 20:42 ` mmitchel at gcc dot gnu dot org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-26 21:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-26 21:30 -------
Confirmed, I am going to say this is not expected at least for now until I
found the patch which caused this.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |accepts-invalid
Priority|P3 |P5
Last reconfirmed|0000-00-00 00:00:00 |2006-01-26 21:30:43
date| |
Summary|Allows duplicate member |[4.1/4.2 Regression] Allows
|names in objc subclasses |duplicate member names in
| |objc subclasses
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25965
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug objc/25965] [4.1/4.2 Regression] Allows duplicate member names in objc subclasses
2006-01-26 4:00 [Bug objc/25965] New: Allows duplicate member names in objc subclasses aeruder at ksu dot edu
2006-01-26 4:02 ` [Bug objc/25965] " aeruder at ksu dot edu
2006-01-26 21:30 ` [Bug objc/25965] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-02-28 20:42 ` mmitchel at gcc dot gnu dot org
2006-05-25 2:47 ` mmitchel at gcc dot gnu dot org
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-28 20:42 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.0 |4.1.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25965
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug objc/25965] [4.1/4.2 Regression] Allows duplicate member names in objc subclasses
2006-01-26 4:00 [Bug objc/25965] New: Allows duplicate member names in objc subclasses aeruder at ksu dot edu
` (2 preceding siblings ...)
2006-02-28 20:42 ` mmitchel at gcc dot gnu dot org
@ 2006-05-25 2:47 ` mmitchel at gcc dot gnu dot org
2007-02-14 9:37 ` [Bug objc/25965] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-25 2:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from mmitchel at gcc dot gnu dot org 2006-05-25 02:36 -------
Will not be fixed in 4.1.1; adjust target milestone to 4.1.2.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.1 |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25965
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug objc/25965] [4.1/4.2/4.3 Regression] Allows duplicate member names in objc subclasses
2006-01-26 4:00 [Bug objc/25965] New: Allows duplicate member names in objc subclasses aeruder at ksu dot edu
` (3 preceding siblings ...)
2006-05-25 2:47 ` mmitchel at gcc dot gnu dot org
@ 2007-02-14 9:37 ` mmitchel at gcc dot gnu dot org
2008-07-04 20:18 ` [Bug objc/25965] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14 9:37 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.2 |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25965
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug objc/25965] [4.2/4.3/4.4 Regression] Allows duplicate member names in objc subclasses
2006-01-26 4:00 [Bug objc/25965] New: Allows duplicate member names in objc subclasses aeruder at ksu dot edu
` (4 preceding siblings ...)
2007-02-14 9:37 ` [Bug objc/25965] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
@ 2008-07-04 20:18 ` jsm28 at gcc dot gnu dot org
2009-03-31 19:08 ` [Bug objc/25965] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 20:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jsm28 at gcc dot gnu dot org 2008-07-04 20:17 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2/4.3/4.4 Regression]|[4.2/4.3/4.4 Regression]
|Allows duplicate member |Allows duplicate member
|names in objc subclasses |names in objc subclasses
Target Milestone|4.1.3 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25965
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug objc/25965] [4.3/4.4/4.5 Regression] Allows duplicate member names in objc subclasses
2006-01-26 4:00 [Bug objc/25965] New: Allows duplicate member names in objc subclasses aeruder at ksu dot edu
` (5 preceding siblings ...)
2008-07-04 20:18 ` [Bug objc/25965] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2009-03-31 19:08 ` jsm28 at gcc dot gnu dot org
2009-03-31 21:47 ` ayers at gcc dot gnu dot org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 19:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jsm28 at gcc dot gnu dot org 2009-03-31 19:07 -------
Closing 4.2 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2/4.3/4.4/4.5 Regression]|[4.3/4.4/4.5 Regression]
|Allows duplicate member |Allows duplicate member
|names in objc subclasses |names in objc subclasses
Target Milestone|4.2.5 |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25965
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug objc/25965] [4.3/4.4/4.5 Regression] Allows duplicate member names in objc subclasses
2006-01-26 4:00 [Bug objc/25965] New: Allows duplicate member names in objc subclasses aeruder at ksu dot edu
` (6 preceding siblings ...)
2009-03-31 19:08 ` [Bug objc/25965] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
@ 2009-03-31 21:47 ` ayers at gcc dot gnu dot org
2009-08-04 12:38 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: ayers at gcc dot gnu dot org @ 2009-03-31 21:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from ayers at gcc dot gnu dot org 2009-03-31 21:46 -------
Hi Andrew, are you still interested in the patch that caused this or is it fine
if we simply try to fix this?
--
ayers at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ayers at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Known to fail| |4.3.3 4.4.0 4.5.0
Last reconfirmed|2006-01-26 21:30:43 |2009-03-31 21:46:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25965
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug objc/25965] [4.3/4.4/4.5 Regression] Allows duplicate member names in objc subclasses
2006-01-26 4:00 [Bug objc/25965] New: Allows duplicate member names in objc subclasses aeruder at ksu dot edu
` (7 preceding siblings ...)
2009-03-31 21:47 ` ayers at gcc dot gnu dot org
@ 2009-08-04 12:38 ` rguenth at gcc dot gnu dot org
2010-05-22 18:16 ` [Bug objc/25965] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2009-08-04 12:27 -------
GCC 4.3.4 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.4 |4.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25965
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug objc/25965] [4.3/4.4/4.5/4.6 Regression] Allows duplicate member names in objc subclasses
2006-01-26 4:00 [Bug objc/25965] New: Allows duplicate member names in objc subclasses aeruder at ksu dot edu
` (8 preceding siblings ...)
2009-08-04 12:38 ` rguenth at gcc dot gnu dot org
@ 2010-05-22 18:16 ` rguenth at gcc dot gnu dot org
2010-09-19 2:04 ` nicola at gcc dot gnu dot org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2010-05-22 18:10 -------
GCC 4.3.5 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.5 |4.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25965
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug objc/25965] [4.3/4.4/4.5/4.6 Regression] Allows duplicate member names in objc subclasses
2006-01-26 4:00 [Bug objc/25965] New: Allows duplicate member names in objc subclasses aeruder at ksu dot edu
` (9 preceding siblings ...)
2010-05-22 18:16 ` [Bug objc/25965] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
@ 2010-09-19 2:04 ` nicola at gcc dot gnu dot org
2010-09-21 18:52 ` nicola at gcc dot gnu dot org
2010-09-21 18:52 ` nicola at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: nicola at gcc dot gnu dot org @ 2010-09-19 2:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from nicola at gcc dot gnu dot org 2010-09-19 02:04 -------
I submitted a patch that fixes this.
Thanks
--
nicola at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|ayers at gcc dot gnu dot org|nicola at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25965
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug objc/25965] [4.3/4.4/4.5/4.6 Regression] Allows duplicate member names in objc subclasses
2006-01-26 4:00 [Bug objc/25965] New: Allows duplicate member names in objc subclasses aeruder at ksu dot edu
` (10 preceding siblings ...)
2010-09-19 2:04 ` nicola at gcc dot gnu dot org
@ 2010-09-21 18:52 ` nicola at gcc dot gnu dot org
2010-09-21 18:52 ` nicola at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: nicola at gcc dot gnu dot org @ 2010-09-21 18:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from nicola at gcc dot gnu dot org 2010-09-21 18:51 -------
Subject: Bug 25965
Author: nicola
Date: Tue Sep 21 18:51:34 2010
New Revision: 164491
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164491
Log:
PR objc/25965
In gcc/objc/:
* objc-act.c (objc_get_interface_ivars): New function.
(objc_collecting_ivars): New variable.
(continue_class): Set and reset objc_collecting_ivars for context.
In gcc/:
* c-decl.c (detect_field_duplicates): If compiling Objective-C,
call objc_get_interface_ivars ().
* c-family/c-common.h (objc_get_interface_ivars): New declaration.
* c-family/stub-objc.c (objc_get_interface_ivars): New stub.
In gcc/objcp/:
* objcp-decl.c (objcp_finish_struct): Call
objc_get_interface_ivars() and check for duplicate ivars.
In gcc/testsuite/:
Merge from 'apple/trunk' branch on FSF servers.
2005-10-11 Fariborz Jahanian <fjahanian@apple.com>
Radar 4291785
objc.dg/naming-4.m: New
objc.dg/naming-5.m: New
obj-c++.dg/naming-1.mm: New
obj-c++.dg/naming-2.mm: New
Added:
trunk/gcc/testsuite/obj-c++.dg/naming-1.mm
trunk/gcc/testsuite/obj-c++.dg/naming-2.mm
trunk/gcc/testsuite/objc.dg/naming-4.m
trunk/gcc/testsuite/objc.dg/naming-5.m
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-decl.c
trunk/gcc/c-family/c-common.h
trunk/gcc/c-family/stub-objc.c
trunk/gcc/objc/ChangeLog
trunk/gcc/objc/objc-act.c
trunk/gcc/objcp/ChangeLog
trunk/gcc/objcp/objcp-decl.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25965
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug objc/25965] [4.3/4.4/4.5/4.6 Regression] Allows duplicate member names in objc subclasses
2006-01-26 4:00 [Bug objc/25965] New: Allows duplicate member names in objc subclasses aeruder at ksu dot edu
` (11 preceding siblings ...)
2010-09-21 18:52 ` nicola at gcc dot gnu dot org
@ 2010-09-21 18:52 ` nicola at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: nicola at gcc dot gnu dot org @ 2010-09-21 18:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from nicola at gcc dot gnu dot org 2010-09-21 18:52 -------
Patch applied to trunk.
Thanks
--
nicola at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25965
^ permalink raw reply [flat|nested] 14+ messages in thread