public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug other/30465] New: Duplicated overflow warning @ 2007-01-14 21:02 pcarlini at suse dot de 2007-01-15 23:49 ` [Bug other/30465] " manu at gcc dot gnu dot org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: pcarlini at suse dot de @ 2007-01-14 21:02 UTC (permalink / raw) To: gcc-bugs paolo:~/Work> more warning.cc int main() { wchar_t wc = ((wchar_t)1 << 31) - 1; } paolo:~/Work> g++ warning.cc warning.cc: In function 'int main()': warning.cc:3: warning: integer overflow in expression warning.cc:3: warning: overflow in implicit constant conversion -- Summary: Duplicated overflow warning Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pcarlini at suse dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30465 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug other/30465] Duplicated overflow warning 2007-01-14 21:02 [Bug other/30465] New: Duplicated overflow warning pcarlini at suse dot de @ 2007-01-15 23:49 ` manu at gcc dot gnu dot org 2007-01-17 17:21 ` patchapp at dberlin dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: manu at gcc dot gnu dot org @ 2007-01-15 23:49 UTC (permalink / raw) To: gcc-bugs -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-01-15 23:48:56 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30465 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug other/30465] Duplicated overflow warning 2007-01-14 21:02 [Bug other/30465] New: Duplicated overflow warning pcarlini at suse dot de 2007-01-15 23:49 ` [Bug other/30465] " manu at gcc dot gnu dot org @ 2007-01-17 17:21 ` patchapp at dberlin dot org 2007-03-04 23:30 ` manu at gcc dot gnu dot org 2007-03-04 23:30 ` manu at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: patchapp at dberlin dot org @ 2007-01-17 17:21 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from patchapp at dberlin dot org 2007-01-17 17:21 ------- Subject: Bug number PR30465 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01440.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30465 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug other/30465] Duplicated overflow warning 2007-01-14 21:02 [Bug other/30465] New: Duplicated overflow warning pcarlini at suse dot de 2007-01-15 23:49 ` [Bug other/30465] " manu at gcc dot gnu dot org 2007-01-17 17:21 ` patchapp at dberlin dot org @ 2007-03-04 23:30 ` manu at gcc dot gnu dot org 2007-03-04 23:30 ` manu at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: manu at gcc dot gnu dot org @ 2007-03-04 23:30 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from manu at gcc dot gnu dot org 2007-03-04 23:30 ------- Fixed in GCC 4.3.0 -- 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=30465 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug other/30465] Duplicated overflow warning 2007-01-14 21:02 [Bug other/30465] New: Duplicated overflow warning pcarlini at suse dot de ` (2 preceding siblings ...) 2007-03-04 23:30 ` manu at gcc dot gnu dot org @ 2007-03-04 23:30 ` manu at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: manu at gcc dot gnu dot org @ 2007-03-04 23:30 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from manu at gcc dot gnu dot org 2007-03-04 23:29 ------- Subject: Bug 30465 Author: manu Date: Sun Mar 4 23:29:41 2007 New Revision: 122534 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122534 Log: 2007-03-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR other/30465 * c-common.c (convert_and_check): Don't give warnings for conversion if 'expr' already overflowed. testsuite/ * gcc.dg/multiple-overflow-warn-3.c: New. * g++.dg/warn/multiple-overflow-warn-3.C: New. Added: trunk/gcc/testsuite/g++.dg/warn/multiple-overflow-warn-3.C trunk/gcc/testsuite/gcc.dg/multiple-overflow-warn-3.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-common.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30465 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-03-04 23:30 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-01-14 21:02 [Bug other/30465] New: Duplicated overflow warning pcarlini at suse dot de 2007-01-15 23:49 ` [Bug other/30465] " manu at gcc dot gnu dot org 2007-01-17 17:21 ` patchapp at dberlin dot org 2007-03-04 23:30 ` manu at gcc dot gnu dot org 2007-03-04 23:30 ` 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).