Re: [PATCH] Fix PR objc/68438 (uninitialized source ranges)

2015-11-23 Thread David Malcolm
? >From f09c48b2ac55b2f9b5c3688e76fb4b91c3325fbb Mon Sep 17 00:00:00 2001 From: David Malcolm <dmalc...@redhat.com> Date: Fri, 20 Nov 2015 11:12:47 -0500 Subject: [PATCH] Fix PR objc/68438 (uninitialized source ranges) gcc/c/ChangeLog: PR objc/68438 * c-parser.c (c_parser_postf

Re: [PATCH] Fix PR objc/68438 (uninitialized source ranges)

2015-11-23 Thread Joseph Myers
On Sun, 22 Nov 2015, David Malcolm wrote: > Is there (or could there be) a precanned dg- directive to ask if ObjC is > available? I don't think so. Normal practice is that each language's tests are in appropriate directories for that language, with runtest never called with a --tool option

Re: [PATCH] Fix PR objc/68438 (uninitialized source ranges)

2015-11-23 Thread Jeff Law
On 11/23/2015 04:13 AM, Joseph Myers wrote: On Sun, 22 Nov 2015, David Malcolm wrote: Is there (or could there be) a precanned dg- directive to ask if ObjC is available? I don't think so. Normal practice is that each language's tests are in appropriate directories for that language, with

Re: [PATCH] Fix PR objc/68438 (uninitialized source ranges)

2015-11-23 Thread Mike Stump
On Nov 23, 2015, at 3:13 AM, Joseph Myers wrote: > On Sun, 22 Nov 2015, David Malcolm wrote: > >> Is there (or could there be) a precanned dg- directive to ask if ObjC is >> available? > > I don't think so. Normal practice is that each language's tests are in >

Re: [PATCH] Fix PR objc/68438 (uninitialized source ranges)

2015-11-23 Thread Jeff Law
On 11/23/2015 12:50 PM, David Malcolm wrote: On Mon, 2015-11-23 at 10:25 -0700, Jeff Law wrote: On 11/23/2015 04:13 AM, Joseph Myers wrote: On Sun, 22 Nov 2015, David Malcolm wrote: Is there (or could there be) a precanned dg- directive to ask if ObjC is available? I don't think so.

Re: [PATCH] Fix PR objc/68438 (uninitialized source ranges)

2015-11-22 Thread David Malcolm
On Fri, 2015-11-20 at 23:28 +, Joseph Myers wrote: > On Fri, 20 Nov 2015, David Malcolm wrote: > > > The source ranges are verified using the same unit-testing plugin used > > for C expressions. This leads to a wart, which is that it means having > > a .m test file lurking below

[PATCH] Fix PR objc/68438 (uninitialized source ranges)

2015-11-20 Thread David Malcolm
-linux-gnu; adds 15 PASS results to gcc.sum. OK for trunk? >From afdae8b15f71164d0d05e790078519b38bd674a4 Mon Sep 17 00:00:00 2001 From: David Malcolm <dmalc...@redhat.com> Date: Fri, 20 Nov 2015 11:12:47 -0500 Subject: [PATCH] Fix PR objc/68438 (uninitialized source ranges) gcc/c/Chang

Re: [PATCH] Fix PR objc/68438 (uninitialized source ranges)

2015-11-20 Thread Joseph Myers
On Fri, 20 Nov 2015, David Malcolm wrote: > The source ranges are verified using the same unit-testing plugin used > for C expressions. This leads to a wart, which is that it means having > a .m test file lurking below gcc.dg/plugin. A workaround would be to > create an objc.dg/plugin