public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/19565] [3.4/4.0/4.1 Regression] g++ does not warn about overflow in conversion but gcc does [not found] <bug-19565-9973@http.gcc.gnu.org/bugzilla/> @ 2005-10-14 1:02 ` mmitchel at gcc dot gnu dot org 2005-10-14 19:50 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 6+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-10-14 1:02 UTC (permalink / raw) To: gcc-bugs -- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19565 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/19565] [3.4/4.0/4.1 Regression] g++ does not warn about overflow in conversion but gcc does [not found] <bug-19565-9973@http.gcc.gnu.org/bugzilla/> 2005-10-14 1:02 ` [Bug c++/19565] [3.4/4.0/4.1 Regression] g++ does not warn about overflow in conversion but gcc does mmitchel at gcc dot gnu dot org @ 2005-10-14 19:50 ` cvs-commit at gcc dot gnu dot org 2005-10-14 19:57 ` mmitchel at gcc dot gnu dot org 2005-10-14 20:05 ` mmitchel at gcc dot gnu dot org 3 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-10-14 19:50 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from cvs-commit at gcc dot gnu dot org 2005-10-14 19:50 ------- Subject: Bug 19565 CVSROOT: /cvs/gcc Module name: gcc Changes by: mmitchel@gcc.gnu.org 2005-10-14 19:50:09 Modified files: gcc/cp : call.c decl.c typeck2.c ChangeLog gcc/testsuite/g++.dg/ext: packed4.C gcc/testsuite/g++.dg/opt: 20050511-1.C gcc/testsuite/g++.old-deja/g++.other: warn4.C gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/warn: Wconversion1.C Log message: PR c++/19565 * g++.dg/warn/Wconversion1.C: New test. * g++.dg/ext/packed4.C: Compile with -w. * g++.dg/opt/20050511-1.C: Likewise. * g++.old-deja/g++.other/warn4.C: Compiler with -Wconversion. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&r1=1.558&r2=1.559 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1434&r2=1.1435 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck2.c.diff?cvsroot=gcc&r1=1.192&r2=1.193 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4932&r2=1.4933 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/packed4.C.diff?cvsroot=gcc&r1=1.2&r2=1.3 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/20050511-1.C.diff?cvsroot=gcc&r1=1.1&r2=1.2 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wconversion1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/warn4.C.diff?cvsroot=gcc&r1=1.2&r2=1.3 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6192&r2=1.6193 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19565 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/19565] [3.4/4.0/4.1 Regression] g++ does not warn about overflow in conversion but gcc does [not found] <bug-19565-9973@http.gcc.gnu.org/bugzilla/> 2005-10-14 1:02 ` [Bug c++/19565] [3.4/4.0/4.1 Regression] g++ does not warn about overflow in conversion but gcc does mmitchel at gcc dot gnu dot org 2005-10-14 19:50 ` cvs-commit at gcc dot gnu dot org @ 2005-10-14 19:57 ` mmitchel at gcc dot gnu dot org 2005-10-14 20:05 ` mmitchel at gcc dot gnu dot org 3 siblings, 0 replies; 6+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-10-14 19:57 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from mmitchel at gcc dot gnu dot org 2005-10-14 19:57 ------- Fixed in 4.1.0. Will not be fixed in previous branches. -- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.3 |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19565 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/19565] [3.4/4.0/4.1 Regression] g++ does not warn about overflow in conversion but gcc does [not found] <bug-19565-9973@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2005-10-14 19:57 ` mmitchel at gcc dot gnu dot org @ 2005-10-14 20:05 ` mmitchel at gcc dot gnu dot org 3 siblings, 0 replies; 6+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-10-14 20:05 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from mmitchel at gcc dot gnu dot org 2005-10-14 20:05 ------- Fixed in 4.1.0. -- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19565 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [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-07-08 1:45 ` [Bug c++/19565] [3.4/4.0/4.1 Regression] " mmitchel at gcc dot gnu dot org 2005-09-27 16:25 ` mmitchel at gcc dot gnu dot org 0 siblings, 2 replies; 6+ 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] 6+ 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: " fm3 at os dot inf dot tu-dresden dot de @ 2005-07-08 1:45 ` mmitchel at gcc dot gnu dot org 2005-09-27 16:25 ` mmitchel at gcc dot gnu dot org 1 sibling, 0 replies; 6+ 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] 6+ 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: " fm3 at os dot inf dot tu-dresden dot de 2005-07-08 1:45 ` [Bug c++/19565] [3.4/4.0/4.1 Regression] " mmitchel at gcc dot gnu dot org @ 2005-09-27 16:25 ` mmitchel at gcc dot gnu dot org 1 sibling, 0 replies; 6+ 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] 6+ messages in thread
end of thread, other threads:[~2005-10-14 20:05 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-19565-9973@http.gcc.gnu.org/bugzilla/> 2005-10-14 1:02 ` [Bug c++/19565] [3.4/4.0/4.1 Regression] g++ does not warn about overflow in conversion but gcc does mmitchel at gcc dot gnu dot org 2005-10-14 19:50 ` cvs-commit at gcc dot gnu dot org 2005-10-14 19:57 ` mmitchel at gcc dot gnu dot org 2005-10-14 20:05 ` mmitchel at gcc dot gnu dot org 2005-01-21 14:32 [Bug c++/19565] New: " fm3 at os dot inf dot tu-dresden dot de 2005-07-08 1:45 ` [Bug c++/19565] [3.4/4.0/4.1 Regression] " 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).