This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/70371] New: Number added worng
- From: "frankli998 at 163 dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Mar 2016 11:20:09 +0000
- Subject: [Bug c/70371] New: Number added worng
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70371
Bug ID: 70371
Summary: Number added worng
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: frankli998 at 163 dot com
Target Milestone: ---
Created attachment 38067
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38067&action=edit
The file that demonstrate the bug
we user input 2,4 and the final result of sum should be 2468, which I tested on
visual c compiler. But on TDM-GCC (version 4.9.2, 32 bit, SJLJ), it went
wrong.
A simple code, you can read it in 2 minutes.
Thanks for your work.