This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/84096] New: Wrong prototype for omp_init_nest_lock_with_hint() in "omp.h.in"


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84096

            Bug ID: 84096
           Summary: Wrong prototype for omp_init_nest_lock_with_hint() in
                    "omp.h.in"
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: cspiel at freenet dot de
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

Created attachment 43268
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43268&action=edit
Patch that corrects function prototype

As of revision 28bd6e12dc17b749e21d5e6127fee13bc12e9294 of the GIT
repository the prototype of function omp_init_nest_lock_with_hint() in
file "omp.h.in" is wrong: the first parameter must refer to a
`omp_nest_lock_t'.  See `OpenMP Application Programming Interface',
Version 4.5 (November 2015), section 3.3.2, page 273.

The attached patch corrects the problem.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]