[Bug c++/59675] New: -D_GLIBCXX_DEBUG asserts to stdout (it should stderr)
jan.kratochvil at redhat dot com
gcc-bugzilla@gcc.gnu.org
Sat Jan 4 12:14:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59675
Bug ID: 59675
Summary: -D_GLIBCXX_DEBUG asserts to stdout (it should stderr)
Product: gcc
Version: 4.8.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jan.kratochvil at redhat dot com
Target: x86_64-unknown-linux-gnu
Created attachment 31570
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31570&action=edit
Fix.
__replacement_assert: __builtin_printf() -> __builtin_fprintf(stderr)
Regular assert() prints to stderr.
The fix works on a live system but it was not run on a testsuite.
More information about the Gcc-bugs
mailing list