This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51146] The name clog for a global variable triggers a segfault inside std::pow
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 15 Nov 2011 20:20:48 +0000
- Subject: [Bug c++/51146] The name clog for a global variable triggers a segfault inside std::pow
- Auto-submitted: auto-generated
- References: <bug-51146-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-11-15 20:20:48 UTC ---
(In reply to comment #3)
> For sure in the library there is nothing to fix, note in particular that the
> implementation does not include <complex.h>, neither names clog, only
> __builtin_clog.
But __builtin_clog always expands to extern "C" clog. There is not much to be
done in the compiler here or libstdc++ really. Just have to understand clog is
a reserved name under C99.