This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/37470] parallel/base.h log2 conflicts with math.h



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]