This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/37470] parallel/base.h log2 conflicts with math.h
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Sep 2008 22:46:43 -0000
- Subject: [Bug libstdc++/37470] parallel/base.h log2 conflicts with math.h
- References: <bug-37470-16691@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from paolo dot carlini at oracle dot com 2008-09-10 22:46 -------
Johannes, can you have a look? I would suggest uglifying to something like
__log2 instead of inventing something else in the user 'namespace'. Also, the
comment before the function is wrong about 0 returned for 0 argument, in fact
it's a *precondition* for the sane behavior of the function that the argument >
0 (I would check the callers...)
This is not a regression, but I think should be fixed for 4.4.0. Thanks in
advance!
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paolo at gcc dot gnu dot
| |org, singler at ira dot uka
| |dot de
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-09-10 22:46:43
date| |
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37470