https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65438
Thomas Schwinge <tschwinge at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P5 Status|RESOLVED |ASSIGNED Resolution|INVALID |--- Assignee|unassigned at gcc dot gnu.org |cesar at gcc dot gnu.org Severity|normal |minor --- Comment #5 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- (In reply to Dominique d'Humieres from comment #1) > > The function check_array_not_assumed (openmp.c) performs an unnecessary > > check on pointers. > > Does this refer to sym->attr.pointer in the lines > > if (sym->as && sym->as->type == AS_DEFERRED && sym->attr.pointer > && !sym->attr.contiguous) > > ? I have now looked this up in our old internal development tree, and found the patch that I just attached, which goes with a note by Jim stating that it "removes a needless pointer check. Cesar consulted on this patch". Cesar, please resolve this in GCC trunk (low priority).