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 c++/44330] __builtin_clz is behaving differently with different optimization levels



------- Comment #1 from eteran at alum dot rit dot edu  2010-05-30 07:07 -------
I just noticed that the documentation for __builtin_clz and __builtin_ffsl say
the result is undefined if x is 0. Therefore, this bug is invalid, sorry for
the false bug report.


-- 

eteran at alum dot rit dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44330


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