[Bug target/52474] Regression: AVR-GCC: arithmetics produce completely wrong result

gjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 14 12:57:00 GMT 2012


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



More information about the Gcc-bugs mailing list