This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [objective-c] patch
- From: Krister Walfridsson <cato at df dot lth dot se>
- To: Fariborz Jahanian <fjahanian at apple dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Mike Stump <mrs at apple dot com>
- Date: Sat, 4 Mar 2006 02:57:21 +0100 (CET)
- Subject: Re: [objective-c] patch
- References: <C3831C01-B1EB-475B-A7E0-29D76997A573@apple.com>
On Thu, 2 Mar 2006, Fariborz Jahanian wrote:
2006-03-02 Fariborz Jahanian <fjahanian@apple.com>
* objc.dg/objc-nofilename-1.m: New test.
* objc.dg/bad-receiver-type.m: New test.
* obj-c++.dg/bad-receiver-type.mm: New test.
The bad-receiver-type.m contains a typo that makes the objc test-
harness stop with an error "ERROR: unmatched open brace in list".
I have committed the following under the obvious bugfix rule.
Bootstrapped and tested on i386-unknown-netbsdelf3.0.
/Krister
2006-03-04 Krister Walfridsson <cato@df.lth.se>
* objc.dg/bad-receiver-type.m: Add space before bracket in dg
directive.
Index: objc.dg/bad-receiver-type.m
===================================================================
--- objc.dg/bad-receiver-type.m (revision 111701)
+++ objc.dg/bad-receiver-type.m (working copy)
@@ -11,5 +11,5 @@
void baz()
{
[foo test]; /* { dg-warning "invalid receiver type" } */
- /* { dg-warning "cannot convert to a pointer type" "" { target *-*-* } 13} */
+ /* { dg-warning "cannot convert to a pointer type" "" { target *-*-* } 13 } */
}