[Bug other/79250] New: brig/brigfrontend/brig-to-generic.cc: two small problems
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jan 26 21:37:00 GMT 2017
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.
More information about the Gcc-bugs
mailing list