--- Comment #3 from to dot roma dot from dot bugcc at qwertty dot com
2008-12-29 13:07 ---
Right you are, GCC is smart enough to do this optimization now. Version 4.2.4
(g++ -v below) has just compiled the code without branching. However, the
Debian version of GCC 4.3 failed to do so
ponent: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: to dot roma dot from dot bugcc at qwertty dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35766
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: to dot roma dot from dot bugcc at qwertty dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42273