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

            Bug ID: 79250
           Summary: brig/brigfrontend/brig-to-generic.cc: two small
                    problems
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

1.

brig/brigfrontend/brig-to-generic.cc:684]: (error) va_list 'ap' was opened but
not closed by va_end().

All calls to va_start must have a matching call to va_end.

2.

brig/brigfrontend/brig-to-generic.cc:354]: (performance) Passing the result of
c_str() to a function that takes std::string as argument no. 1 is slow and
redundant.

Minor tuneup.

Reply via email to