This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52474] Regression: AVR-GCC: arithmetics produce completely wrong result
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 Mar 2012 12:54:04 +0000
- Subject: [Bug target/52474] Regression: AVR-GCC: arithmetics produce completely wrong result
- Auto-submitted: auto-generated
- References: <bug-52474-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52474
--- Comment #5 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-03-14 12:54:04 UTC ---
Created attachment 26890
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26890
mulhisi.c:Test program
Test program showing that the non-FSF patches introduce a wrong multiply.
Running the program with avrtest prints
a = 1
b = -32768
ab = -32768
ab2 = 16744448