RE: libcpp: registering both a pragma and a pragma namespace with the same name

2013-04-11 Thread Iyer, Balaji V
: libcpp: registering both a pragma and a pragma namespace with the > same name > > On 04/11/13 07:36, Jakub Jelinek wrote: > > On Thu, Apr 11, 2013 at 07:10:46AM -0500, Aldy Hernandez wrote: > >>> Yeah, the above is definitely wrong. Just > >>>if (flag

Re: libcpp: registering both a pragma and a pragma namespace with the same name

2013-04-11 Thread Aldy Hernandez
On 04/11/13 07:36, Jakub Jelinek wrote: On Thu, Apr 11, 2013 at 07:10:46AM -0500, Aldy Hernandez wrote: Yeah, the above is definitely wrong. Just if (flag_cilkplus) cpp_register_deferred_pragma (parse_in, NULL, "simd", PRAGMA_SIMD, true, false); Well, the thing is that you can't just

Re: libcpp: registering both a pragma and a pragma namespace with the same name

2013-04-11 Thread Jakub Jelinek
On Thu, Apr 11, 2013 at 07:10:46AM -0500, Aldy Hernandez wrote: > >Yeah, the above is definitely wrong. Just > > if (flag_cilkplus) > > cpp_register_deferred_pragma (parse_in, NULL, "simd", PRAGMA_SIMD, > > true, false); > > Well, the thing is that you can't just use NULL for "#pragma simd

Re: libcpp: registering both a pragma and a pragma namespace with the same name

2013-04-11 Thread Aldy Hernandez
On 04/11/13 00:32, Jakub Jelinek wrote: On Wed, Apr 10, 2013 at 05:16:17PM -0700, Andrew Pinski wrote: On Wed, Apr 10, 2013 at 3:24 PM, Aldy Hernandez wrote: Hi Tom. Hi folks. We've asked Balaji to rewrite the <#pragma simd> handling for cilkplus as we currently do for OMP, etc, in init_prag

Re: libcpp: registering both a pragma and a pragma namespace with the same name

2013-04-10 Thread Jakub Jelinek
On Wed, Apr 10, 2013 at 05:16:17PM -0700, Andrew Pinski wrote: > On Wed, Apr 10, 2013 at 3:24 PM, Aldy Hernandez wrote: > > Hi Tom. Hi folks. > > > > We've asked Balaji to rewrite the <#pragma simd> handling for cilkplus as we > > currently do for OMP, etc, in init_pragma(). > > > > The cilkplus

Re: libcpp: registering both a pragma and a pragma namespace with the same name

2013-04-10 Thread Andrew Pinski
On Wed, Apr 10, 2013 at 3:24 PM, Aldy Hernandez wrote: > Hi Tom. Hi folks. > > We've asked Balaji to rewrite the <#pragma simd> handling for cilkplus as we > currently do for OMP, etc, in init_pragma(). > > The cilkplus branch currently has something like: > > cpp_register_deferred_pragma (

libcpp: registering both a pragma and a pragma namespace with the same name

2013-04-10 Thread Aldy Hernandez
Hi Tom. Hi folks. We've asked Balaji to rewrite the <#pragma simd> handling for cilkplus as we currently do for OMP, etc, in init_pragma(). The cilkplus branch currently has something like: cpp_register_deferred_pragma (parse_in, "simd", "", PRAGMA_SIM