[Bug libstdc++/21796] (v7-branch) std::search not using std::find

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jun 4 15:16:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-04 15:16 -------
(In reply to comment #1)
> This is being held up by PR20408, Unnecessary code generated for empty structs, as we'd have to 
> pass both the item to find and the comparitor (which is often an empty class) to std::find_if
Why do you care about one instruction, only on stack argument passing targets?
Really there is no good reason to block one improvement for another which is most likely not going to 
be fixed in a long time.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-04 15:16:04
               date|                            |


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



More information about the Gcc-bugs mailing list