public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19565] New: g++ does not warn about overflow in conversion but gcc does
@ 2005-01-21 14:32 fm3 at os dot inf dot tu-dresden dot de
  2005-01-21 14:38 ` [Bug c++/19565] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: fm3 at os dot inf dot tu-dresden dot de @ 2005-01-21 14:32 UTC (permalink / raw)
  To: gcc-bugs

g++ does not warn if there occurs an overflow in conversion. For instance, gcc    
does not warn about  
    
  char a = 1024;    
    
but gcc does.

-- 
           Summary: g++ does not warn about overflow in conversion but gcc
                    does
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fm3 at os dot inf dot tu-dresden dot de
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i486-linux


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


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

* [Bug c++/19565] g++ does not warn about overflow in conversion but gcc does
  2005-01-21 14:32 [Bug c++/19565] New: g++ does not warn about overflow in conversion but gcc does fm3 at os dot inf dot tu-dresden dot de
@ 2005-01-21 14:38 ` pinskia at gcc dot gnu dot org
  2005-01-21 20:27 ` [Bug c++/19565] [3.3/3.4/4.0 Regression] " belyshev at depni dot sinp dot msu dot ru
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-21 14:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-21 14:38 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-21 14:38:01
               date|                            |


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


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

* [Bug c++/19565] [3.3/3.4/4.0 Regression] g++ does not warn about overflow in conversion but gcc does
  2005-01-21 14:32 [Bug c++/19565] New: g++ does not warn about overflow in conversion but gcc does fm3 at os dot inf dot tu-dresden dot de
  2005-01-21 14:38 ` [Bug c++/19565] " pinskia at gcc dot gnu dot org
@ 2005-01-21 20:27 ` belyshev at depni dot sinp dot msu dot ru
  2005-02-16 19:11 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-01-21 20:27 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|i486-linux                  |
      Known to fail|                            |3.0.4 3.2.3 3.3.6 3.4.4
                   |                            |4.0.0
      Known to work|                            |2.95.4
            Summary|g++ does not warn about     |[3.3/3.4/4.0 Regression] g++
                   |overflow in conversion but  |does not warn about overflow
                   |gcc does                    |in conversion but gcc does
   Target Milestone|---                         |4.0.0


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


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

* [Bug c++/19565] [3.3/3.4/4.0 Regression] g++ does not warn about overflow in conversion but gcc does
  2005-01-21 14:32 [Bug c++/19565] New: g++ does not warn about overflow in conversion but gcc does fm3 at os dot inf dot tu-dresden dot de
  2005-01-21 14:38 ` [Bug c++/19565] " pinskia at gcc dot gnu dot org
  2005-01-21 20:27 ` [Bug c++/19565] [3.3/3.4/4.0 Regression] " belyshev at depni dot sinp dot msu dot ru
@ 2005-02-16 19:11 ` pinskia at gcc dot gnu dot org
  2005-04-21  5:06 ` [Bug c++/19565] [3.3/3.4/4.0/4.1 " mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-16 19:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-16 14:59 -------
This has been failing since at least 2000-12-31.

-- 


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


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

* [Bug c++/19565] [3.3/3.4/4.0/4.1 Regression] g++ does not warn about overflow in conversion but gcc does
  2005-01-21 14:32 [Bug c++/19565] New: g++ does not warn about overflow in conversion but gcc does fm3 at os dot inf dot tu-dresden dot de
                   ` (2 preceding siblings ...)
  2005-02-16 19:11 ` pinskia at gcc dot gnu dot org
@ 2005-04-21  5:06 ` mmitchel at gcc dot gnu dot org
  2005-07-08  1:45 ` [Bug c++/19565] [3.4/4.0/4.1 " mmitchel at gcc dot gnu dot org
  2005-09-27 16:25 ` mmitchel at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-04-21  5:06 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.0                       |4.0.1


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


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

* [Bug c++/19565] [3.4/4.0/4.1 Regression] g++ does not warn about overflow in conversion but gcc does
  2005-01-21 14:32 [Bug c++/19565] New: g++ does not warn about overflow in conversion but gcc does fm3 at os dot inf dot tu-dresden dot de
                   ` (3 preceding siblings ...)
  2005-04-21  5:06 ` [Bug c++/19565] [3.3/3.4/4.0/4.1 " mmitchel at gcc dot gnu dot org
@ 2005-07-08  1:45 ` mmitchel at gcc dot gnu dot org
  2005-09-27 16:25 ` mmitchel at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-07-08  1:45 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.1                       |4.0.2


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


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

* [Bug c++/19565] [3.4/4.0/4.1 Regression] g++ does not warn about overflow in conversion but gcc does
  2005-01-21 14:32 [Bug c++/19565] New: g++ does not warn about overflow in conversion but gcc does fm3 at os dot inf dot tu-dresden dot de
                   ` (4 preceding siblings ...)
  2005-07-08  1:45 ` [Bug c++/19565] [3.4/4.0/4.1 " mmitchel at gcc dot gnu dot org
@ 2005-09-27 16:25 ` mmitchel at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:25 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.2                       |4.0.3


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


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

end of thread, other threads:[~2005-09-27 16:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-21 14:32 [Bug c++/19565] New: g++ does not warn about overflow in conversion but gcc does fm3 at os dot inf dot tu-dresden dot de
2005-01-21 14:38 ` [Bug c++/19565] " pinskia at gcc dot gnu dot org
2005-01-21 20:27 ` [Bug c++/19565] [3.3/3.4/4.0 Regression] " belyshev at depni dot sinp dot msu dot ru
2005-02-16 19:11 ` pinskia at gcc dot gnu dot org
2005-04-21  5:06 ` [Bug c++/19565] [3.3/3.4/4.0/4.1 " mmitchel at gcc dot gnu dot org
2005-07-08  1:45 ` [Bug c++/19565] [3.4/4.0/4.1 " mmitchel at gcc dot gnu dot org
2005-09-27 16:25 ` mmitchel 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).