[Gomp-discuss] Re: Implementing OpenMP pragmas for the C front end

Per Bothner per@bothner.com
Mon Feb 10 05:42:00 GMT 2003


David Edelsohn wrote:
 > Unfortunately, this is a public standard.

There are all kinds of "public" standards.

 > Somehow we need to be compatible.

"We" only need to be compatible if we make
a comittment to implementing OpenMP.  I don't
think we should make any comittment to accepting
an OpenMP implementation in the offical CVS tree.

Of course I'm not suggesting that a technical
discussion about the best way to the implement
OpneMP in Gcc is inappropriate; but it should
not any support for the design.

Scott Robert Ladd wrote:

> A concept of OpenMP is that a program maintains its logic whether its is
> compiled for serial or parallel execution. Thus the use of pragmas, which
> can be ignored (or warned about) by any non-OpenMP compiler.

The "official" Gcc line has always been that #pragmas are
generally a bad idea.  A major reason is that #pragmas
cannot be created by macros.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/



More information about the Gcc mailing list