public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/43906] missing warnings the comparison between an address with a null pointer constant
       [not found] <bug-43906-4@http.gcc.gnu.org/bugzilla/>
@ 2014-08-06 19:09 ` paolo at gcc dot gnu.org
  2014-08-06 19:11 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: paolo at gcc dot gnu.org @ 2014-08-06 19:09 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43906

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Aug  6 19:09:08 2014
New Revision: 213682

URL: https://gcc.gnu.org/viewcvs?rev=213682&root=gcc&view=rev
Log:
/cp
2014-08-06  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/43906
    * typeck.c (cp_build_binary_op): Extend to more cases the
    -Waddress warning.

/testsuite
2014-08-06  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/43906
    * g++.dg/warn/Waddress-1.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/warn/Waddress-1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/43906] missing warnings the comparison between an address with a null pointer constant
       [not found] <bug-43906-4@http.gcc.gnu.org/bugzilla/>
  2014-08-06 19:09 ` [Bug c++/43906] missing warnings the comparison between an address with a null pointer constant paolo at gcc dot gnu.org
@ 2014-08-06 19:11 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-08-06 19:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43906

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.10.0

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed.


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

* [Bug c++/43906] missing warnings the comparison between an address with a null pointer constant
  2010-04-27  3:30 [Bug c++/43906] New: " pzhao at gcc dot gnu dot org
@ 2010-04-27  7:27 ` manu at gcc dot gnu dot org
  0 siblings, 0 replies; 3+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-04-27  7:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from manu at gcc dot gnu dot org  2010-04-27 07:27 -------
Bonus points if the C/C++ FE share most of the code related to this warning (so
we only have one place to fix in the future).


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-27 07:27:13
               date|                            |


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


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

end of thread, other threads:[~2014-08-06 19:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-43906-4@http.gcc.gnu.org/bugzilla/>
2014-08-06 19:09 ` [Bug c++/43906] missing warnings the comparison between an address with a null pointer constant paolo at gcc dot gnu.org
2014-08-06 19:11 ` paolo.carlini at oracle dot com
2010-04-27  3:30 [Bug c++/43906] New: " pzhao at gcc dot gnu dot org
2010-04-27  7:27 ` [Bug c++/43906] " 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).