[cfe-commits] [PATCH] First OpenMP patch

Dmitri Gribenko gribozavr at gmail.com
Wed Dec 19 13:12:07 PST 2012


On Wed, Dec 19, 2012 at 11:10 PM, Douglas Gregor <dgregor at apple.com> wrote:
>
> On Dec 19, 2012, at 1:09 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>> That's a good point.  But in order to test the implementation on some
>> real OpenMP programs easily, we might still want to introduce a
>> frontend option, just a different one -- like '-fexperimental-openmp'.
>> We can also drop the warning then.
>
>
> Why not just
>
>         -Xclang -fopenmp
>
> ?
>
> Where -Xclang already screams "experimental!"

Sorry, I forgot about -Xclang.  Sounds good -- '-fopenmp' should stay
a no-op then.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list