[Bug c/24542] potential integer overflow should be warned on assignment to wider variable

2006-09-17 Thread alexey at hyperroll dot com
--- Comment #10 from alexey at hyperroll dot com 2006-09-18 05:48 --- (In reply to comment #9) > We should never warn on multiply because it is just too crazy to. This is > what > debugging is about, debug your program for mistakes like this. The citation may be used to

[Bug c/24542] potential integer overflow should be warned on assignment to wider variable

2006-03-13 Thread alexey at hyperroll dot com
--- Comment #7 from alexey at hyperroll dot com 2006-03-13 21:49 --- (In reply to comment #6) So, who is actually going to fix the issue? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24542

[Bug c/24542] potential integer overflow should be warned on assignment to wider variable

2005-10-26 Thread alexey at hyperroll dot com
--- Comment #5 from alexey at hyperroll dot com 2005-10-26 17:12 --- Sir, it's my first report here, and I see the code first time. I hope that both comments #3 and #4 are not for me. Or am I mistaken? Otherwise, what document (preferably, short) should I read to understan

[Bug c/24542] integer overflow should be warned on assignment to wider variable

2005-10-26 Thread alexey at hyperroll dot com
--- Comment #2 from alexey at hyperroll dot com 2005-10-26 15:03 --- Created an attachment (id=10062) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10062&action=view) example of code to warn, proposed partial patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24542

[Bug c/24542] integer overflow should be warned on assignment to wider variable

2005-10-26 Thread alexey at hyperroll dot com
--- Comment #1 from alexey at hyperroll dot com 2005-10-26 15:01 --- I'm not familiar with the parse tree, so I could do only a partial patch (assignment, not initialization). The example file, original and patched source files archived and attached. -- http://gcc.gnu.org/bug

[Bug c/24542] New: integer overflow should be warned on assignment to wider variable

2005-10-26 Thread alexey at hyperroll dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: alexey at hyperroll dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24542