[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool

2007-04-13 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2007-04-13 23:24 --- Fixed. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool

2007-04-13 Thread paolo at gcc dot gnu dot org
--- Comment #6 from paolo at gcc dot gnu dot org 2007-04-13 23:23 --- Subject: Bug 31556 Author: paolo Date: Fri Apr 13 23:22:56 2007 New Revision: 123800 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123800 Log: 2007-04-13 Paolo Carlini <[EMAIL PROTECTED]> PR libstd

[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool

2007-04-12 Thread pcarlini at suse dot de
-- pcarlini at suse dot de changed: What|Removed |Added CC|pcarlini at suse dot de | AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de

[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool

2007-04-12 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2007-04-12 20:39 --- (In reply to comment #4) > Thats my understanding yes. Ok, thanks. > It might possibly at the same time be worth fixing predicates appears in && > and > ||, which have to be changed into nested ifs I think. Luckily, ver

[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool

2007-04-12 Thread chris at bubblescope dot net
--- Comment #4 from chris at bubblescope dot net 2007-04-12 20:36 --- Thats my understanding yes. It might possibly at the same time be worth fixing predicates appears in && and ||, which have to be changed into nested ifs I think. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=315

[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool

2007-04-12 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2007-04-12 20:34 --- Forgot ;) -- pcarlini at suse dot de changed: What|Removed |Added Status|UNCONFIRMED

[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool

2007-04-12 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2007-04-12 20:26 --- Thanks Chris. Apparently, we don't have *that* many ! on the return of the predicates or other logicals, maybe ~10. The task of fixing all of them seems manageable rather easily. Let's make sure I understand: it would be ju

[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool

2007-04-12 Thread chris at bubblescope dot net
--- Comment #1 from chris at bubblescope dot net 2007-04-12 19:37 --- There is also a large number of other places which do "!pred" in various functions I believe there are other bugs of this type, relating to && and ||. If someone really cared about this, they could do a complete sweep