[Bug c++/23608] constant propagation (CCP) would improve -Wsign-compare

2013-05-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23608 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/23608] constant propagation (CCP) would improve -Wsign-compare

2013-05-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23608 --- Comment #9 from Paolo Carlini --- (Nit: the location is off by 2 chars, I think I can easily fix this separately: build_new_op_1 isn't propagating loc to cp_build_binary_op)

[Bug c++/23608] constant propagation (CCP) would improve -Wsign-compare

2013-05-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23608 Paolo Carlini changed: What|Removed |Added CC|gcc-bugs at gcc dot gnu.org| --- Comment #8 from Paolo Carlini

[Bug c++/23608] constant propagation (CCP) would improve -Wsign-compare

2010-02-24 Thread manu at gcc dot gnu dot org
--- Comment #7 from manu at gcc dot gnu dot org 2010-02-24 14:16 --- A simpler version of PR 38470. An idea could be to do some cheap and quick ccp in the front-end like clang does. The alternative is to move this to the middle-end, which is rather difficult. -- manu at gcc dot gnu d