public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23608] constant propagation (CCP) would improve -Wsign-compare
       [not found] <bug-23608-4@http.gcc.gnu.org/bugzilla/>
@ 2013-05-20 11:08 ` paolo.carlini at oracle dot com
  2013-05-20 11:20 ` paolo.carlini at oracle dot com
  2013-05-20 13:23 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-05-20 11:08 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|gcc-bugs at gcc dot gnu.org        |

--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This seems fixed in 4.8: we warn only for line #8. Manu could you please double
check we can close this? (thanks a lot again)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/23608] constant propagation (CCP) would improve -Wsign-compare
       [not found] <bug-23608-4@http.gcc.gnu.org/bugzilla/>
  2013-05-20 11:08 ` [Bug c++/23608] constant propagation (CCP) would improve -Wsign-compare paolo.carlini at oracle dot com
@ 2013-05-20 11:20 ` paolo.carlini at oracle dot com
  2013-05-20 13:23 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-05-20 11:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> ---
(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)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/23608] constant propagation (CCP) would improve -Wsign-compare
       [not found] <bug-23608-4@http.gcc.gnu.org/bugzilla/>
  2013-05-20 11:08 ` [Bug c++/23608] constant propagation (CCP) would improve -Wsign-compare paolo.carlini at oracle dot com
  2013-05-20 11:20 ` paolo.carlini at oracle dot com
@ 2013-05-20 13:23 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-05-20 13:23 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com

--- Comment #10 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Location fixed for 4.9.0.

If we have reasons to believe the bogus warning is now suppressed only be
chance, let's re-open the bug (or move the discussion to 38470?)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/23608] constant propagation (CCP) would improve -Wsign-compare
       [not found] <bug-23608-11254@http.gcc.gnu.org/bugzilla/>
@ 2010-02-24 14:16 ` manu at gcc dot gnu dot org
  0 siblings, 0 replies; 4+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-02-24 14:16 UTC (permalink / raw)
  To: gcc-bugs



------- 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 dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
            Summary|-Wsign-compare and const    |constant propagation (CCP)
                   |propagation                 |would improve -Wsign-compare


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-20 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23608-4@http.gcc.gnu.org/bugzilla/>
2013-05-20 11:08 ` [Bug c++/23608] constant propagation (CCP) would improve -Wsign-compare paolo.carlini at oracle dot com
2013-05-20 11:20 ` paolo.carlini at oracle dot com
2013-05-20 13:23 ` paolo.carlini at oracle dot com
     [not found] <bug-23608-11254@http.gcc.gnu.org/bugzilla/>
2010-02-24 14:16 ` manu at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).