[Bug libgomp/36475] [gomp] register keyword in openmp handled for-loop fails

2009-02-08 Thread manu at gcc dot gnu dot org


--- Comment #2 from manu at gcc dot gnu dot org  2009-02-08 15:54 ---
Patch http://gcc.gnu.org/ml/gcc-patches/2008-10/msg01118.html


-- 

manu at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||manu at gcc dot gnu dot org
URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2008-
   ||10/msg01118.html
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||patch
   Last reconfirmed|-00-00 00:00:00 |2009-02-08 15:54:31
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36475



[Bug libgomp/36475] [gomp] register keyword in openmp handled for-loop fails

2008-06-11 Thread jakub at gcc dot gnu dot org


--- Comment #1 from jakub at gcc dot gnu dot org  2008-06-11 08:20 ---
IMHO pedantically that's not valid OpenMP.
#pragma omp for
  for (init-expr; test-expr; incr-expr) structured-block
 One of the following:
   init-exprvar = lb
integer-type var = lb
random-access-iterator-type var = lb
pointer-type var = lb

register keyword isn't part of the integer-type, it is a
storage-class-specifier
and the above syntax doesn't mention storage class specifiers anywhere.
Furthermore, I don't see why you'd actually need register keyword there at all,
in today's compilers the keyword is pretty useless, except when used together
with asm (regname), but that's not something we can/want to support for
#pragma omp for loops.


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jason at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36475