This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp] OpenMP IL design notes
On Tue, May 03, 2005 at 05:27:26PM -0400, Diego Novillo wrote:
> > Do we gain anything over expanding this to the approprate __sync_foo
> > builtin in the front end.?
> >
> Can the optimizers tell that this is an atomic builtin? If so,
> then no, they're not necessary.
Sure, in the same way we know what "strlen" is.
> That's what I thought at first, but the standard threw me into a
> loop when it mentioned "id-expression" instead of just
> "identifier" in the C++ case. If they're essentially the same,
> then great.
id-expression is a non-terminal from the iso c++ grammar. ;-)
It means someone can write e.g. Class::static_member. As far
as you are concerned it means DECL.
> Yes. I was only referring to a single instance of reduction.
...
> Yes, I tried to express that by putting common clauses in
> data_clauses and have the various constructs reference it.
Ah, you confused me.
r~