[Bug c++/51146] The name clog for a global variable triggers a segfault inside std::pow
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 15 20:33:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list