]> git.ipfire.org Git - thirdparty/gcc.git/commit
In gcc/objc/:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 2010 20:45:49 +0000 (20:45 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 2010 20:45:49 +0000 (20:45 +0000)
commit1cd5e6abf0d15e1dc0ab214eae2dcc3f83275334
tree5fbe0db7e4a7ed1c71df82aac25a743af0e5c20d
parent1a19222c3edd588c72da222faa80ca804f8040f3
In gcc/objc/:
2010-11-29  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-act.c (start_class): When a class is reimplemented,
generate an error and avoid adding the class to the list of
implemented classes again, but do not return error_mark_node.

In gcc/testsuite/:
2010-11-29  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/duplicate-class-1.m: New.
* obj-c++.dg/duplicate-class-1.mm: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167270 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/duplicate-class-1.mm [new file with mode: 0644]
gcc/testsuite/objc.dg/duplicate-class-1.m [new file with mode: 0644]