public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/2707] gcc does not warn on truncate
       [not found] <bug-2707-1032@http.gcc.gnu.org/bugzilla/>
@ 2005-12-19 17:33 ` pinskia at gcc dot gnu dot org
  2006-09-16  0:31 ` lopezibanez at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-19 17:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2005-12-19 17:33 -------
*** Bug 25493 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pluto at agmk dot net


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


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

* [Bug c/2707] gcc does not warn on truncate
       [not found] <bug-2707-1032@http.gcc.gnu.org/bugzilla/>
  2005-12-19 17:33 ` [Bug c/2707] gcc does not warn on truncate pinskia at gcc dot gnu dot org
@ 2006-09-16  0:31 ` lopezibanez at gmail dot com
  2006-11-24  1:51 ` manu at gcc dot gnu dot org
  2006-11-24  1:59 ` manu at gcc dot gnu dot org
  3 siblings, 0 replies; 7+ messages in thread
From: lopezibanez at gmail dot com @ 2006-09-16  0:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from lopezibanez at gmail dot com  2006-09-16 00:31 -------
By using the patches of the Wcoercion project [*] and compiling with
-Wcoercion, gcc reports for the testcase mentioned in the description:

pr2707.c: In function 'main':
pr2707.c:8: warning: coercion to 'short unsigned int' from 'long unsigned int'
may alter its value

So I guess this bug can be closed as soon as Wcoercion is integrated into
mainline.

[*] http://gcc.gnu.org/wiki/Wcoercion


-- 

lopezibanez at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lopezibanez at gmail dot com


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


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

* [Bug c/2707] gcc does not warn on truncate
       [not found] <bug-2707-1032@http.gcc.gnu.org/bugzilla/>
  2005-12-19 17:33 ` [Bug c/2707] gcc does not warn on truncate pinskia at gcc dot gnu dot org
  2006-09-16  0:31 ` lopezibanez at gmail dot com
@ 2006-11-24  1:51 ` manu at gcc dot gnu dot org
  2006-11-24  1:59 ` manu at gcc dot gnu dot org
  3 siblings, 0 replies; 7+ messages in thread
From: manu at gcc dot gnu dot org @ 2006-11-24  1:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from manu at gcc dot gnu dot org  2006-11-24 01:50 -------
Subject: Bug 2707

Author: manu
Date: Fri Nov 24 01:50:33 2006
New Revision: 119143

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119143
Log:
2006-11-24  Manuel Lopez-Ibanez <manu@gcc.gnu.org>

        PR c/2707
        PR c++/26167
        * c-common.c (conversion_warning): New.
        (convert_and_check): Call conversion_warning unless there is an
        overflow warning.
        * doc/invoke.texi (-Wconversion): Update description.

testsuite/

        * gcc.dg/Wconversion-integer.c: New. Supersedes 
        Wconversion-negative-constants.c 
        * gcc.dg/Wconversion-real.c: New.
        * gcc.dg/Wconversion-real-integer.c: New.
        * gcc.dg/Wconversion-negative-constants.c: Deleted.
        * g++.dg/warn/Wconversion1.C: Modified.


Added:
    trunk/gcc/testsuite/gcc.dg/Wconversion-integer.c
    trunk/gcc/testsuite/gcc.dg/Wconversion-real-integer.c
    trunk/gcc/testsuite/gcc.dg/Wconversion-real.c
Removed:
    trunk/gcc/testsuite/gcc.dg/Wconversion-negative-constants.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-common.c
    trunk/gcc/doc/invoke.texi
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/warn/Wconversion1.C


-- 


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


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

* [Bug c/2707] gcc does not warn on truncate
       [not found] <bug-2707-1032@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-11-24  1:51 ` manu at gcc dot gnu dot org
@ 2006-11-24  1:59 ` manu at gcc dot gnu dot org
  3 siblings, 0 replies; 7+ messages in thread
From: manu at gcc dot gnu dot org @ 2006-11-24  1:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from manu at gcc dot gnu dot org  2006-11-24 01:59 -------
Fixed in mainline.


-- 

manu at gcc dot gnu dot org changed:

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


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


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

* [Bug c/2707] gcc does not warn on truncate
       [not found] <bug-2707-4@http.gcc.gnu.org/bugzilla/>
@ 2014-02-16 13:17 ` jackie.rosen at hushmail dot com
  0 siblings, 0 replies; 7+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 13:17 UTC (permalink / raw)
  To: gcc-bugs

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

Jackie Rosen <jackie.rosen at hushmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackie.rosen at hushmail dot com

--- Comment #9 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.


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

* [Bug c/2707] gcc does not warn on truncate
       [not found] <20010501110600.2707.jhabermann@tricord.com>
  2003-05-24 23:59 ` pinskia@physics.uc.edu
@ 2004-10-13 11:44 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-13 11:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-13 11:44 -------
*** Bug 17968 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kaykaylance at yahoo dot com


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


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

* [Bug c/2707] gcc does not warn on truncate
       [not found] <20010501110600.2707.jhabermann@tricord.com>
@ 2003-05-24 23:59 ` pinskia@physics.uc.edu
  2004-10-13 11:44 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 7+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-24 23:59 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|0000-00-00 00:00:00         |2003-05-24 23:54:48
               date|                            |


------- Additional Comments From pinskia@physics.uc.edu  2003-05-24 23:54 -------
still happens on mainline (20030524).



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2014-02-16 13:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-2707-1032@http.gcc.gnu.org/bugzilla/>
2005-12-19 17:33 ` [Bug c/2707] gcc does not warn on truncate pinskia at gcc dot gnu dot org
2006-09-16  0:31 ` lopezibanez at gmail dot com
2006-11-24  1:51 ` manu at gcc dot gnu dot org
2006-11-24  1:59 ` manu at gcc dot gnu dot org
     [not found] <bug-2707-4@http.gcc.gnu.org/bugzilla/>
2014-02-16 13:17 ` jackie.rosen at hushmail dot com
     [not found] <20010501110600.2707.jhabermann@tricord.com>
2003-05-24 23:59 ` pinskia@physics.uc.edu
2004-10-13 11:44 ` pinskia 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).